Class LmBaseVisitor<T>
- Type Parameters:
T- The return type of the visit operation. UseVoidfor operations with no return type.
- All Implemented Interfaces:
LmVisitor<T>,org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
LmVisitor,
which can be extended to create a visitor which only needs to handle a subset
of the available methods.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionVisit a parse tree produced byLmParser.aliasStmt().Visit a parse tree produced byLmParser.annexedStmt().Visit a parse tree produced byLmParser.annexeStmt().Visit a parse tree produced byLmParser.columnStmt().Visit a parse tree produced byLmParser.conversionStmt().Visit a parse tree produced byLmParser.dataDecl().Visit a parse tree produced byLmParser.dataStmt().Visit a parse tree produced byLmParser.directionStmt().Visit a parse tree produced byLmParser.inspectionDecl().Visit a parse tree produced byLmParser.inspectionStmt().Visit a parse tree produced byLmParser.joinStmt().Visit a parse tree produced byLmParser.lmFile().Visit a parse tree produced byLmParser.nestingStmt().Visit a parse tree produced byLmParser.qname().Visit a parse tree produced byLmParser.statement().Visit a parse tree produced byLmParser.targetPath().Visit a parse tree produced byLmParser.valueMapDecl().Visit a parse tree produced byLmParser.valueMapEntry().Visit a parse tree produced byLmParser.withStmt().Methods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminalMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.antlr.v4.runtime.tree.ParseTreeVisitor
visit, visitChildren, visitErrorNode, visitTerminal
-
Constructor Details
-
LmBaseVisitor
public LmBaseVisitor()
-
-
Method Details
-
visitLmFile
Visit a parse tree produced byLmParser.lmFile().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLmFilein interfaceLmVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStatement
Visit a parse tree produced byLmParser.statement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitStatementin interfaceLmVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitValueMapDecl
Visit a parse tree produced byLmParser.valueMapDecl().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitValueMapDeclin interfaceLmVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitValueMapEntry
Visit a parse tree produced byLmParser.valueMapEntry().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitValueMapEntryin interfaceLmVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDataDecl
Visit a parse tree produced byLmParser.dataDecl().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDataDeclin interfaceLmVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDataStmt
Visit a parse tree produced byLmParser.dataStmt().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDataStmtin interfaceLmVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInspectionDecl
Visit a parse tree produced byLmParser.inspectionDecl().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitInspectionDeclin interfaceLmVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInspectionStmt
Visit a parse tree produced byLmParser.inspectionStmt().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitInspectionStmtin interfaceLmVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitColumnStmt
Visit a parse tree produced byLmParser.columnStmt().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitColumnStmtin interfaceLmVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDirectionStmt
Visit a parse tree produced byLmParser.directionStmt().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDirectionStmtin interfaceLmVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitConversionStmt
Visit a parse tree produced byLmParser.conversionStmt().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitConversionStmtin interfaceLmVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAliasStmt
Visit a parse tree produced byLmParser.aliasStmt().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAliasStmtin interfaceLmVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitWithStmt
Visit a parse tree produced byLmParser.withStmt().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitWithStmtin interfaceLmVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAnnexeStmt
Visit a parse tree produced byLmParser.annexeStmt().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAnnexeStmtin interfaceLmVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAnnexedStmt
Visit a parse tree produced byLmParser.annexedStmt().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAnnexedStmtin interfaceLmVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitJoinStmt
Visit a parse tree produced byLmParser.joinStmt().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitJoinStmtin interfaceLmVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNestingStmt
Visit a parse tree produced byLmParser.nestingStmt().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNestingStmtin interfaceLmVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTargetPath
Visit a parse tree produced byLmParser.targetPath().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTargetPathin interfaceLmVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitQname
Visit a parse tree produced byLmParser.qname().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitQnamein interfaceLmVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-