T
- The return type of the visit operation. Use Void
for
operations with no return type.org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
, TLSFParserVisitor<T>
public class TLSFParserBaseVisitor<T> extends org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T> implements TLSFParserVisitor<T>
TLSFParserVisitor
,
which can be extended to create a visitor which only needs to handle a subset
of the available methods.Constructor | Description |
---|---|
TLSFParserBaseVisitor() |
Modifier and Type | Method | Description |
---|---|---|
T |
visitInput(TLSFParser.InputContext ctx) |
Visit a parse tree produced by
TLSFParser.input() . |
T |
visitOutput(TLSFParser.OutputContext ctx) |
Visit a parse tree produced by
TLSFParser.output() . |
T |
visitSemantics(TLSFParser.SemanticsContext ctx) |
Visit a parse tree produced by
TLSFParser.semantics() . |
T |
visitSpecification(TLSFParser.SpecificationContext ctx) |
Visit a parse tree produced by
TLSFParser.specification() . |
T |
visitTarget(TLSFParser.TargetContext ctx) |
Visit a parse tree produced by
TLSFParser.target() . |
T |
visitTlsf(TLSFParser.TlsfContext ctx) |
Visit a parse tree produced by
TLSFParser.tlsf() . |
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminal
public T visitTlsf(TLSFParser.TlsfContext ctx)
TLSFParser.tlsf()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitTlsf
in interface TLSFParserVisitor<T>
ctx
- the parse treepublic T visitSemantics(TLSFParser.SemanticsContext ctx)
TLSFParser.semantics()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitSemantics
in interface TLSFParserVisitor<T>
ctx
- the parse treepublic T visitTarget(TLSFParser.TargetContext ctx)
TLSFParser.target()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitTarget
in interface TLSFParserVisitor<T>
ctx
- the parse treepublic T visitInput(TLSFParser.InputContext ctx)
TLSFParser.input()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitInput
in interface TLSFParserVisitor<T>
ctx
- the parse treepublic T visitOutput(TLSFParser.OutputContext ctx)
TLSFParser.output()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitOutput
in interface TLSFParserVisitor<T>
ctx
- the parse treepublic T visitSpecification(TLSFParser.SpecificationContext ctx)
TLSFParser.specification()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitSpecification
in interface TLSFParserVisitor<T>
ctx
- the parse tree