Parser/QueryParser.cpp
antlrcpp::Any QueryParser::visitSelectquery(SPARQLParser::SelectqueryContext *ctx)
{
	visit(ctx->selectClause());

	// datasetClause not supported

	// Call explictly to pass group_pattern as a parameter
	visitWhereClause(ctx->whereClause(), query_tree_ptr->getGroupPattern());

	visit(ctx->solutionModifier());

	return antlrcpp::Any();
}
/**
	selectquery : selectClause datasetClause* whereClause solutionModifier ;
	Visit node selectquery: recursively call visit on each of its children, except
	datasetClause (currently not supported). When visiting whereClause, pass the 
	reference to QueryTree's outermost group graph pattern for it to be filled.

	@param ctx pointer to selectquery's context.
	@return a dummy antlrcpp::Any object.
*/
selectquery : selectClause datasetClause* whereClause solutionModifier ;
Visit node selectquery: recursively call visit on each of its children, except
datasetClause (currently not supported). When visiting whereClause, pass the
reference to QueryTree's outermost group graph pattern for it to be filled.
selectquery : selectClause datasetClause * whereClause solutionModifier ; Visit node selectquery : recursively call visit on each of its children except datasetClause ( currently not supported ) . When visiting whereClause pass the reference to QueryTree ' s outermost group graph pattern for it to be filled .
antlrcpp::Any QueryParser::visitSelectquery(SPARQLParser::SelectqueryContext *ctx)
{
	visit(ctx->selectClause());
	visitWhereClause(ctx->whereClause(), query_tree_ptr->getGroupPattern());
	visit(ctx->solutionModifier());
	return antlrcpp::Any();
}
antlrcpp :: Any QueryParser :: visitSelectquery ( SPARQLParser :: SelectqueryContext * ctx ) { visit ( ctx -> selectClause ( ) ) ; visitWhereClause ( ctx -> whereClause ( ) , query_tree_ptr -> getGroupPattern ( ) ) ; visit ( ctx -> solutionModifier ( ) ) ; return antlrcpp :: Any ( ) ; }
selectquery : selectClause datasetClause* whereClause solutionModifier ;
Visit node selectquery: recursively call visit on each of its children, except
datasetClause (currently not supported).
selectquery : selectClause datasetClause * whereClause solutionModifier ; Visit node selectquery : recursively call visit on each of its children except datasetClause ( currently not supported ) .
// datasetClause not supported // Call explictly to pass group_pattern as a parameter