T
- The return type of the visit operation. Use Void
for
operations with no return type.public class MetaModelBaseVisitor<T> extends org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T> implements MetaModelVisitor<T>
MetaModelVisitor
,
which can be extended to create a visitor which only needs to handle a subset
of the available methods.Constructor and Description |
---|
MetaModelBaseVisitor() |
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminal
public T visitMetamodel(MetaModelParser.MetamodelContext ctx)
MetaModelParser.metamodel()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitMetamodel
in interface MetaModelVisitor<T>
ctx
- the parse treepublic T visitIndexDeclr(MetaModelParser.IndexDeclrContext ctx)
MetaModelParser.indexDeclr()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitIndexDeclr
in interface MetaModelVisitor<T>
ctx
- the parse treepublic T visitIndexLiterals(MetaModelParser.IndexLiteralsContext ctx)
MetaModelParser.indexLiterals()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitIndexLiterals
in interface MetaModelVisitor<T>
ctx
- the parse treepublic T visitEnumDeclr(MetaModelParser.EnumDeclrContext ctx)
MetaModelParser.enumDeclr()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitEnumDeclr
in interface MetaModelVisitor<T>
ctx
- the parse treepublic T visitEnumLiterals(MetaModelParser.EnumLiteralsContext ctx)
MetaModelParser.enumLiterals()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitEnumLiterals
in interface MetaModelVisitor<T>
ctx
- the parse treepublic T visitClassDeclr(MetaModelParser.ClassDeclrContext ctx)
MetaModelParser.classDeclr()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitClassDeclr
in interface MetaModelVisitor<T>
ctx
- the parse treepublic T visitParentsDeclr(MetaModelParser.ParentsDeclrContext ctx)
MetaModelParser.parentsDeclr()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitParentsDeclr
in interface MetaModelVisitor<T>
ctx
- the parse treepublic T visitSemanticDeclr(MetaModelParser.SemanticDeclrContext ctx)
MetaModelParser.semanticDeclr()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitSemanticDeclr
in interface MetaModelVisitor<T>
ctx
- the parse treepublic T visitSemanticWith(MetaModelParser.SemanticWithContext ctx)
MetaModelParser.semanticWith()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitSemanticWith
in interface MetaModelVisitor<T>
ctx
- the parse treepublic T visitSemanticUsing(MetaModelParser.SemanticUsingContext ctx)
MetaModelParser.semanticUsing()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitSemanticUsing
in interface MetaModelVisitor<T>
ctx
- the parse treepublic T visitSemanticFrom(MetaModelParser.SemanticFromContext ctx)
MetaModelParser.semanticFrom()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitSemanticFrom
in interface MetaModelVisitor<T>
ctx
- the parse treepublic T visitAnnotation(MetaModelParser.AnnotationContext ctx)
MetaModelParser.annotation()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitAnnotation
in interface MetaModelVisitor<T>
ctx
- the parse treepublic T visitAttributeType(MetaModelParser.AttributeTypeContext ctx)
MetaModelParser.attributeType()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitAttributeType
in interface MetaModelVisitor<T>
ctx
- the parse treepublic T visitAttributeDeclaration(MetaModelParser.AttributeDeclarationContext ctx)
MetaModelParser.attributeDeclaration()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitAttributeDeclaration
in interface MetaModelVisitor<T>
ctx
- the parse treepublic T visitRelationDeclaration(MetaModelParser.RelationDeclarationContext ctx)
MetaModelParser.relationDeclaration()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitRelationDeclaration
in interface MetaModelVisitor<T>
ctx
- the parse treeCopyright © 2016. All Rights Reserved.