Class PersistQLTreeBuilder
java.lang.Object
ch.tocco.nice2.conditionals.api.parser.util.ConditionalParseTreeListener
ch.tocco.nice2.persist.core.spi.entity.query.ql.PersistQLTreeBuilder
- All Implemented Interfaces:
PersistQLListener
,org.antlr.v4.runtime.tree.ParseTreeListener
-
Field Summary
Fields inherited from class ch.tocco.nice2.conditionals.api.parser.util.ConditionalParseTreeListener
problemSink, typeManager
-
Constructor Summary
ConstructorDescriptionPersistQLTreeBuilder
(org.slf4j.Logger logger, String source, ProblemSink problemSink, TypeManager typeManager) -
Method Summary
Modifier and TypeMethodDescriptionvoid
Enter a parse tree produced byPersistQLParser.and()
.void
Enter a parse tree produced byPersistQLParser.condition()
.void
Enter a parse tree produced byPersistQLParser.factor()
.void
Enter a parse tree produced byPersistQLParser.find()
.void
Enter a parse tree produced byPersistQLParser.funcall()
.void
Enter a parse tree produced byPersistQLParser.literal()
.void
Enter a parse tree produced byPersistQLParser.not()
.void
Enter a parse tree produced byPersistQLParser.or()
.void
Enter a parse tree produced byPersistQLParser.order()
.void
Enter a parse tree produced byPersistQLParser.orderStatement()
.void
Enter a parse tree produced byPersistQLParser.paren()
.void
Enter a parse tree produced byPersistQLParser.path()
.void
Enter a parse tree produced byPersistQLParser.query()
.void
Enter a parse tree produced byPersistQLParser.subquery()
.void
Enter a parse tree produced byPersistQLParser.where()
.void
Exit a parse tree produced byPersistQLParser.and()
.void
Exit a parse tree produced byPersistQLParser.condition()
.void
Exit a parse tree produced byPersistQLParser.factor()
.void
Exit a parse tree produced byPersistQLParser.find()
.void
Exit a parse tree produced byPersistQLParser.funcall()
.void
Exit a parse tree produced byPersistQLParser.literal()
.void
Exit a parse tree produced byPersistQLParser.not()
.void
Exit a parse tree produced byPersistQLParser.or()
.void
Exit a parse tree produced byPersistQLParser.order()
.void
Exit a parse tree produced byPersistQLParser.orderStatement()
.void
Exit a parse tree produced byPersistQLParser.paren()
.void
Exit a parse tree produced byPersistQLParser.path()
.void
Exit a parse tree produced byPersistQLParser.query()
.void
Exit a parse tree produced byPersistQLParser.subquery()
.void
Exit a parse tree produced byPersistQLParser.where()
.Methods inherited from class ch.tocco.nice2.conditionals.api.parser.util.ConditionalParseTreeListener
decodeStringLiteral, endLocation, enterEveryRule, exitEveryRule, floatLiteralNode, genericLiteralNode, getTypeManager, identifierNode, identifierNode, install, intLiteralNode, peekSource, pinpoint, pinpoint, problem, pushSource, startLocation, stringLiteralNode, tree, tree, unescape, unescape, visitErrorNode, visitTerminal
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.antlr.v4.runtime.tree.ParseTreeListener
enterEveryRule, exitEveryRule, visitErrorNode, visitTerminal
-
Constructor Details
-
PersistQLTreeBuilder
public PersistQLTreeBuilder(org.slf4j.Logger logger, String source, ProblemSink problemSink, TypeManager typeManager)
-
-
Method Details
-
exitQuery
Description copied from interface:PersistQLListener
Exit a parse tree produced byPersistQLParser.query()
.- Specified by:
exitQuery
in interfacePersistQLListener
- Parameters:
ctx
- the parse tree
-
exitFind
Description copied from interface:PersistQLListener
Exit a parse tree produced byPersistQLParser.find()
.- Specified by:
exitFind
in interfacePersistQLListener
- Parameters:
ctx
- the parse tree
-
exitWhere
Description copied from interface:PersistQLListener
Exit a parse tree produced byPersistQLParser.where()
.- Specified by:
exitWhere
in interfacePersistQLListener
- Parameters:
ctx
- the parse tree
-
exitOrder
Description copied from interface:PersistQLListener
Exit a parse tree produced byPersistQLParser.order()
.- Specified by:
exitOrder
in interfacePersistQLListener
- Parameters:
ctx
- the parse tree
-
exitOrderStatement
Description copied from interface:PersistQLListener
Exit a parse tree produced byPersistQLParser.orderStatement()
.- Specified by:
exitOrderStatement
in interfacePersistQLListener
- Parameters:
ctx
- the parse tree
-
exitOr
Description copied from interface:PersistQLListener
Exit a parse tree produced byPersistQLParser.or()
.- Specified by:
exitOr
in interfacePersistQLListener
- Parameters:
ctx
- the parse tree
-
exitAnd
Description copied from interface:PersistQLListener
Exit a parse tree produced byPersistQLParser.and()
.- Specified by:
exitAnd
in interfacePersistQLListener
- Parameters:
ctx
- the parse tree
-
exitNot
Description copied from interface:PersistQLListener
Exit a parse tree produced byPersistQLParser.not()
.- Specified by:
exitNot
in interfacePersistQLListener
- Parameters:
ctx
- the parse tree
-
exitParen
Description copied from interface:PersistQLListener
Exit a parse tree produced byPersistQLParser.paren()
.- Specified by:
exitParen
in interfacePersistQLListener
- Parameters:
ctx
- the parse tree
-
exitCondition
Description copied from interface:PersistQLListener
Exit a parse tree produced byPersistQLParser.condition()
.- Specified by:
exitCondition
in interfacePersistQLListener
- Parameters:
ctx
- the parse tree
-
exitFactor
Description copied from interface:PersistQLListener
Exit a parse tree produced byPersistQLParser.factor()
.- Specified by:
exitFactor
in interfacePersistQLListener
- Parameters:
ctx
- the parse tree
-
exitFuncall
Description copied from interface:PersistQLListener
Exit a parse tree produced byPersistQLParser.funcall()
.- Specified by:
exitFuncall
in interfacePersistQLListener
- Parameters:
ctx
- the parse tree
-
exitSubquery
Description copied from interface:PersistQLListener
Exit a parse tree produced byPersistQLParser.subquery()
.- Specified by:
exitSubquery
in interfacePersistQLListener
- Parameters:
ctx
- the parse tree
-
exitPath
Description copied from interface:PersistQLListener
Exit a parse tree produced byPersistQLParser.path()
.- Specified by:
exitPath
in interfacePersistQLListener
- Parameters:
ctx
- the parse tree
-
exitLiteral
Description copied from interface:PersistQLListener
Exit a parse tree produced byPersistQLParser.literal()
.- Specified by:
exitLiteral
in interfacePersistQLListener
- Parameters:
ctx
- the parse tree
-
enterFuncall
Description copied from interface:PersistQLListener
Enter a parse tree produced byPersistQLParser.funcall()
.- Specified by:
enterFuncall
in interfacePersistQLListener
- Parameters:
ctx
- the parse tree
-
enterOrderStatement
Description copied from interface:PersistQLListener
Enter a parse tree produced byPersistQLParser.orderStatement()
.- Specified by:
enterOrderStatement
in interfacePersistQLListener
- Parameters:
ctx
- the parse tree
-
enterCondition
Description copied from interface:PersistQLListener
Enter a parse tree produced byPersistQLParser.condition()
.- Specified by:
enterCondition
in interfacePersistQLListener
- Parameters:
ctx
- the parse tree
-
enterQuery
Description copied from interface:PersistQLListener
Enter a parse tree produced byPersistQLParser.query()
.- Specified by:
enterQuery
in interfacePersistQLListener
- Parameters:
ctx
- the parse tree
-
enterOr
Description copied from interface:PersistQLListener
Enter a parse tree produced byPersistQLParser.or()
.- Specified by:
enterOr
in interfacePersistQLListener
- Parameters:
ctx
- the parse tree
-
enterFactor
Description copied from interface:PersistQLListener
Enter a parse tree produced byPersistQLParser.factor()
.- Specified by:
enterFactor
in interfacePersistQLListener
- Parameters:
ctx
- the parse tree
-
enterWhere
Description copied from interface:PersistQLListener
Enter a parse tree produced byPersistQLParser.where()
.- Specified by:
enterWhere
in interfacePersistQLListener
- Parameters:
ctx
- the parse tree
-
enterSubquery
Description copied from interface:PersistQLListener
Enter a parse tree produced byPersistQLParser.subquery()
.- Specified by:
enterSubquery
in interfacePersistQLListener
- Parameters:
ctx
- the parse tree
-
enterAnd
Description copied from interface:PersistQLListener
Enter a parse tree produced byPersistQLParser.and()
.- Specified by:
enterAnd
in interfacePersistQLListener
- Parameters:
ctx
- the parse tree
-
enterNot
Description copied from interface:PersistQLListener
Enter a parse tree produced byPersistQLParser.not()
.- Specified by:
enterNot
in interfacePersistQLListener
- Parameters:
ctx
- the parse tree
-
enterOrder
Description copied from interface:PersistQLListener
Enter a parse tree produced byPersistQLParser.order()
.- Specified by:
enterOrder
in interfacePersistQLListener
- Parameters:
ctx
- the parse tree
-
enterPath
Description copied from interface:PersistQLListener
Enter a parse tree produced byPersistQLParser.path()
.- Specified by:
enterPath
in interfacePersistQLListener
- Parameters:
ctx
- the parse tree
-
enterParen
Description copied from interface:PersistQLListener
Enter a parse tree produced byPersistQLParser.paren()
.- Specified by:
enterParen
in interfacePersistQLListener
- Parameters:
ctx
- the parse tree
-
enterFind
Description copied from interface:PersistQLListener
Enter a parse tree produced byPersistQLParser.find()
.- Specified by:
enterFind
in interfacePersistQLListener
- Parameters:
ctx
- the parse tree
-
enterLiteral
Description copied from interface:PersistQLListener
Enter a parse tree produced byPersistQLParser.literal()
.- Specified by:
enterLiteral
in interfacePersistQLListener
- Parameters:
ctx
- the parse tree
-