Class CoreBaseVisitor<T>
- java.lang.Object
-
- org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T>
-
- com.yahoo.elide.generated.parsers.CoreBaseVisitor<T>
-
- Type Parameters:
T- The return type of the visit operation. UseVoidfor operations with no return type.
- All Implemented Interfaces:
CoreVisitor<T>,org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
public class CoreBaseVisitor<T> extends org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T> implements CoreVisitor<T>
This class provides an empty implementation ofCoreVisitor, which can be extended to create a visitor which only needs to handle a subset of the available methods.
-
-
Constructor Summary
Constructors Constructor Description CoreBaseVisitor()
-
Method Summary
-
Methods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminal
-
-
-
-
Method Detail
-
visitStart
public T visitStart(CoreParser.StartContext ctx)
Visit a parse tree produced byCoreParser.start().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitStartin interfaceCoreVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRootCollectionLoadEntities
public T visitRootCollectionLoadEntities(CoreParser.RootCollectionLoadEntitiesContext ctx)
Visit a parse tree produced by therootCollectionLoadEntitieslabeled alternative inCoreParser.rootCollection().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitRootCollectionLoadEntitiesin interfaceCoreVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRootCollectionRelationship
public T visitRootCollectionRelationship(CoreParser.RootCollectionRelationshipContext ctx)
Visit a parse tree produced by therootCollectionRelationshiplabeled alternative inCoreParser.rootCollection().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitRootCollectionRelationshipin interfaceCoreVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRootCollectionSubCollection
public T visitRootCollectionSubCollection(CoreParser.RootCollectionSubCollectionContext ctx)
Visit a parse tree produced by therootCollectionSubCollectionlabeled alternative inCoreParser.rootCollection().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitRootCollectionSubCollectionin interfaceCoreVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRootCollectionLoadEntity
public T visitRootCollectionLoadEntity(CoreParser.RootCollectionLoadEntityContext ctx)
Visit a parse tree produced by therootCollectionLoadEntitylabeled alternative inCoreParser.rootCollection().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitRootCollectionLoadEntityin interfaceCoreVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEntity
public T visitEntity(CoreParser.EntityContext ctx)
Visit a parse tree produced byCoreParser.entity().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitEntityin interfaceCoreVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSubCollectionReadCollection
public T visitSubCollectionReadCollection(CoreParser.SubCollectionReadCollectionContext ctx)
Visit a parse tree produced by thesubCollectionReadCollectionlabeled alternative inCoreParser.subCollection().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSubCollectionReadCollectionin interfaceCoreVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSubCollectionRelationship
public T visitSubCollectionRelationship(CoreParser.SubCollectionRelationshipContext ctx)
Visit a parse tree produced by thesubCollectionRelationshiplabeled alternative inCoreParser.subCollection().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSubCollectionRelationshipin interfaceCoreVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSubCollectionSubCollection
public T visitSubCollectionSubCollection(CoreParser.SubCollectionSubCollectionContext ctx)
Visit a parse tree produced by thesubCollectionSubCollectionlabeled alternative inCoreParser.subCollection().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSubCollectionSubCollectionin interfaceCoreVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSubCollectionReadEntity
public T visitSubCollectionReadEntity(CoreParser.SubCollectionReadEntityContext ctx)
Visit a parse tree produced by thesubCollectionReadEntitylabeled alternative inCoreParser.subCollection().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSubCollectionReadEntityin interfaceCoreVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRelationship
public T visitRelationship(CoreParser.RelationshipContext ctx)
Visit a parse tree produced byCoreParser.relationship().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitRelationshipin interfaceCoreVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitQuery
public T visitQuery(CoreParser.QueryContext ctx)
Visit a parse tree produced byCoreParser.query().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitQueryin interfaceCoreVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitId
public T visitId(CoreParser.IdContext ctx)
Visit a parse tree produced byCoreParser.id().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitIdin interfaceCoreVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTerm
public T visitTerm(CoreParser.TermContext ctx)
Visit a parse tree produced byCoreParser.term().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTermin interfaceCoreVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
-