T - The return type of the visit operation. Use Void for
operations with no return type.public class MLMBaseVisitor<T> extends org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T> implements MLMVisitor<T>
MLMVisitor,
which can be extended to create a visitor which only needs to handle a subset
of the available methods.| Constructor and Description |
|---|
MLMBaseVisitor() |
| Modifier and Type | Method and Description |
|---|---|
T |
visitCategory(MLMParser.CategoryContext ctx)
Visit a parse tree produced by
MLMParser.category(). |
T |
visitInit(MLMParser.InitContext ctx)
Visit a parse tree produced by
MLMParser.init(). |
T |
visitSlot(MLMParser.SlotContext ctx)
Visit a parse tree produced by
MLMParser.slot(). |
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminalpublic T visitCategory(@NotNull MLMParser.CategoryContext ctx)
MLMParser.category().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.visitCategory in interface MLMVisitor<T>ctx - the parse treepublic T visitInit(@NotNull MLMParser.InitContext ctx)
MLMParser.init().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.visitInit in interface MLMVisitor<T>ctx - the parse treepublic T visitSlot(@NotNull MLMParser.SlotContext ctx)
MLMParser.slot().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.visitSlot in interface MLMVisitor<T>ctx - the parse treeCopyright © 2015. All rights reserved.