Parser/QueryParser.cpp
antlrcpp::Any QueryParser::visitLimitClause(SPARQLParser::LimitClauseContext *ctx)
{
	query_tree_ptr->setLimit(stoi(getTextWithRange(ctx->children[1])));

	return antlrcpp::Any();
}
/**
	limitClause : K_LIMIT INTEGER ;
	Visit node limitClause: call setLimit with parameter as limitClause's child INTEGER.

	@param ctx pointer to limitClause's context.
	@return a dummy antlrcpp::Any object.
*/
limitClause : K_LIMIT INTEGER ;
Visit node limitClause: call setLimit with parameter as limitClause's child INTEGER.
limitClause : K_LIMIT INTEGER ; Visit node limitClause : call setLimit with parameter as limitClause ' s child INTEGER .
antlrcpp::Any QueryParser::visitLimitClause(SPARQLParser::LimitClauseContext *ctx)
{
	query_tree_ptr->setLimit(stoi(getTextWithRange(ctx->children[1])));
	return antlrcpp::Any();
}
antlrcpp :: Any QueryParser :: visitLimitClause ( SPARQLParser :: LimitClauseContext * ctx ) { query_tree_ptr -> setLimit ( stoi ( getTextWithRange ( ctx -> children [ 1 ] ) ) ) ; return antlrcpp :: Any ( ) ; }
limitClause : K_LIMIT INTEGER ;
Visit node limitClause: call setLimit with parameter as limitClause's child INTEGER.
limitClause : K_LIMIT INTEGER ; Visit node limitClause : call setLimit with parameter as limitClause ' s child INTEGER .