T - The return type of the visit operation. Use Void for
operations with no return type.public class CaffePrototxtBaseVisitor<T> extends org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T> implements CaffePrototxtVisitor<T>
CaffePrototxtVisitor,
which can be extended to create a visitor which only needs to handle a subset
of the available methods.| Constructor and Description |
|---|
CaffePrototxtBaseVisitor() |
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminalpublic T visitPrototxt(CaffePrototxtParser.PrototxtContext ctx)
CaffePrototxtParser.prototxt().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitPrototxt in interface CaffePrototxtVisitor<T>ctx - the parse treepublic T visitSolver(CaffePrototxtParser.SolverContext ctx)
CaffePrototxtParser.solver().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitSolver in interface CaffePrototxtVisitor<T>ctx - the parse treepublic T visitName(CaffePrototxtParser.NameContext ctx)
CaffePrototxtParser.name().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitName in interface CaffePrototxtVisitor<T>ctx - the parse treepublic T visitLayer(CaffePrototxtParser.LayerContext ctx)
CaffePrototxtParser.layer().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitLayer in interface CaffePrototxtVisitor<T>ctx - the parse treepublic T visitPair(CaffePrototxtParser.PairContext ctx)
CaffePrototxtParser.pair().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitPair in interface CaffePrototxtVisitor<T>ctx - the parse treepublic T visitValueObject(CaffePrototxtParser.ValueObjectContext ctx)
valueObject
labeled alternative in CaffePrototxtParser.value().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitValueObject in interface CaffePrototxtVisitor<T>ctx - the parse treepublic T visitValueLeaf(CaffePrototxtParser.ValueLeafContext ctx)
valueLeaf
labeled alternative in CaffePrototxtParser.value().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitValueLeaf in interface CaffePrototxtVisitor<T>ctx - the parse treepublic T visitObject(CaffePrototxtParser.ObjectContext ctx)
CaffePrototxtParser.object().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitObject in interface CaffePrototxtVisitor<T>ctx - the parse tree