class TclBaseVisitor[T] extends AbstractParseTreeVisitor[T] with TclVisitor[T]
This class provides an empty implementation of TclVisitor
,
which can be extended to create a visitor which only needs to handle a subset
of the available methods.
- Annotations
- @SuppressWarnings()
- Alphabetic
- By Inheritance
- TclBaseVisitor
- TclVisitor
- AbstractParseTreeVisitor
- ParseTreeVisitor
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new TclBaseVisitor()
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def aggregateResult(arg0: T, arg1: T): T
- Attributes
- protected[tree]
- Definition Classes
- AbstractParseTreeVisitor
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def defaultResult(): T
- Attributes
- protected[tree]
- Definition Classes
- AbstractParseTreeVisitor
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def shouldVisitNextChild(arg0: RuleNode, arg1: T): Boolean
- Attributes
- protected[tree]
- Definition Classes
- AbstractParseTreeVisitor
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def visit(arg0: ParseTree): T
- Definition Classes
- AbstractParseTreeVisitor → ParseTreeVisitor
- def visitChildren(arg0: RuleNode): T
- Definition Classes
- AbstractParseTreeVisitor → ParseTreeVisitor
- def visitCommand(ctx: CommandContext): T
Visit a parse tree produced by
TclParser#command
.Visit a parse tree produced by
TclParser#command
.The default implementation returns the result of calling
#visitChildren
onctx
.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- TclBaseVisitor → TclVisitor
- Annotations
- @Override()
- def visitCommandArg(ctx: CommandArgContext): T
Visit a parse tree produced by
TclParser#commandArg
.Visit a parse tree produced by
TclParser#commandArg
.The default implementation returns the result of calling
#visitChildren
onctx
.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- TclBaseVisitor → TclVisitor
- Annotations
- @Override()
- def visitCommandEmpty(ctx: CommandEmptyContext): T
Visit a parse tree produced by
TclParser#commandEmpty
.Visit a parse tree produced by
TclParser#commandEmpty
.The default implementation returns the result of calling
#visitChildren
onctx
.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- TclBaseVisitor → TclVisitor
- Annotations
- @Override()
- def visitCommandLine(ctx: CommandLineContext): T
Visit a parse tree produced by
TclParser#commandLine
.Visit a parse tree produced by
TclParser#commandLine
.The default implementation returns the result of calling
#visitChildren
onctx
.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- TclBaseVisitor → TclVisitor
- Annotations
- @Override()
- def visitCommandName(ctx: CommandNameContext): T
Visit a parse tree produced by
TclParser#commandName
.Visit a parse tree produced by
TclParser#commandName
.The default implementation returns the result of calling
#visitChildren
onctx
.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- TclBaseVisitor → TclVisitor
- Annotations
- @Override()
- def visitElseBody(ctx: ElseBodyContext): T
Visit a parse tree produced by
TclParser#elseBody
.Visit a parse tree produced by
TclParser#elseBody
.The default implementation returns the result of calling
#visitChildren
onctx
.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- TclBaseVisitor → TclVisitor
- Annotations
- @Override()
- def visitElsePart(ctx: ElsePartContext): T
Visit a parse tree produced by
TclParser#elsePart
.Visit a parse tree produced by
TclParser#elsePart
.The default implementation returns the result of calling
#visitChildren
onctx
.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- TclBaseVisitor → TclVisitor
- Annotations
- @Override()
- def visitElseif(ctx: ElseifContext): T
Visit a parse tree produced by
TclParser#elseif
.Visit a parse tree produced by
TclParser#elseif
.The default implementation returns the result of calling
#visitChildren
onctx
.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- TclBaseVisitor → TclVisitor
- Annotations
- @Override()
- def visitErrorNode(arg0: ErrorNode): T
- Definition Classes
- AbstractParseTreeVisitor → ParseTreeVisitor
- def visitExpr(ctx: ExprContext): T
Visit a parse tree produced by
TclParser#expr
.Visit a parse tree produced by
TclParser#expr
.The default implementation returns the result of calling
#visitChildren
onctx
.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- TclBaseVisitor → TclVisitor
- Annotations
- @Override()
- def visitFor(ctx: ForContext): T
Visit a parse tree produced by
TclParser#for
.Visit a parse tree produced by
TclParser#for
.The default implementation returns the result of calling
#visitChildren
onctx
.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- TclBaseVisitor → TclVisitor
- Annotations
- @Override()
- def visitForBody(ctx: ForBodyContext): T
Visit a parse tree produced by
TclParser#forBody
.Visit a parse tree produced by
TclParser#forBody
.The default implementation returns the result of calling
#visitChildren
onctx
.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- TclBaseVisitor → TclVisitor
- Annotations
- @Override()
- def visitForCond(ctx: ForCondContext): T
Visit a parse tree produced by
TclParser#forCond
.Visit a parse tree produced by
TclParser#forCond
.The default implementation returns the result of calling
#visitChildren
onctx
.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- TclBaseVisitor → TclVisitor
- Annotations
- @Override()
- def visitForIncr(ctx: ForIncrContext): T
Visit a parse tree produced by
TclParser#forIncr
.Visit a parse tree produced by
TclParser#forIncr
.The default implementation returns the result of calling
#visitChildren
onctx
.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- TclBaseVisitor → TclVisitor
- Annotations
- @Override()
- def visitForInit(ctx: ForInitContext): T
Visit a parse tree produced by
TclParser#forInit
.Visit a parse tree produced by
TclParser#forInit
.The default implementation returns the result of calling
#visitChildren
onctx
.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- TclBaseVisitor → TclVisitor
- Annotations
- @Override()
- def visitForeach(ctx: ForeachContext): T
Visit a parse tree produced by
TclParser#foreach
.Visit a parse tree produced by
TclParser#foreach
.The default implementation returns the result of calling
#visitChildren
onctx
.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- TclBaseVisitor → TclVisitor
- Annotations
- @Override()
- def visitForeachBody(ctx: ForeachBodyContext): T
Visit a parse tree produced by
TclParser#foreachBody
.Visit a parse tree produced by
TclParser#foreachBody
.The default implementation returns the result of calling
#visitChildren
onctx
.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- TclBaseVisitor → TclVisitor
- Annotations
- @Override()
- def visitForeachList(ctx: ForeachListContext): T
Visit a parse tree produced by
TclParser#foreachList
.Visit a parse tree produced by
TclParser#foreachList
.The default implementation returns the result of calling
#visitChildren
onctx
.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- TclBaseVisitor → TclVisitor
- Annotations
- @Override()
- def visitForeachVar(ctx: ForeachVarContext): T
Visit a parse tree produced by
TclParser#foreachVar
.Visit a parse tree produced by
TclParser#foreachVar
.The default implementation returns the result of calling
#visitChildren
onctx
.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- TclBaseVisitor → TclVisitor
- Annotations
- @Override()
- def visitIf(ctx: IfContext): T
Visit a parse tree produced by
TclParser#if
.Visit a parse tree produced by
TclParser#if
.The default implementation returns the result of calling
#visitChildren
onctx
.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- TclBaseVisitor → TclVisitor
- Annotations
- @Override()
- def visitIfBody(ctx: IfBodyContext): T
Visit a parse tree produced by
TclParser#ifBody
.Visit a parse tree produced by
TclParser#ifBody
.The default implementation returns the result of calling
#visitChildren
onctx
.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- TclBaseVisitor → TclVisitor
- Annotations
- @Override()
- def visitIfCond(ctx: IfCondContext): T
Visit a parse tree produced by
TclParser#ifCond
.Visit a parse tree produced by
TclParser#ifCond
.The default implementation returns the result of calling
#visitChildren
onctx
.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- TclBaseVisitor → TclVisitor
- Annotations
- @Override()
- def visitMatchPattern(ctx: MatchPatternContext): T
Visit a parse tree produced by
TclParser#matchPattern
.Visit a parse tree produced by
TclParser#matchPattern
.The default implementation returns the result of calling
#visitChildren
onctx
.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- TclBaseVisitor → TclVisitor
- Annotations
- @Override()
- def visitNamespace(ctx: NamespaceContext): T
Visit a parse tree produced by
TclParser#namespace
.Visit a parse tree produced by
TclParser#namespace
.The default implementation returns the result of calling
#visitChildren
onctx
.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- TclBaseVisitor → TclVisitor
- Annotations
- @Override()
- def visitNamespaceIdentifier(ctx: NamespaceIdentifierContext): T
Visit a parse tree produced by
TclParser#namespaceIdentifier
.Visit a parse tree produced by
TclParser#namespaceIdentifier
.The default implementation returns the result of calling
#visitChildren
onctx
.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- TclBaseVisitor → TclVisitor
- Annotations
- @Override()
- def visitOperatorA(ctx: OperatorAContext): T
Visit a parse tree produced by
TclParser#operatorA
.Visit a parse tree produced by
TclParser#operatorA
.The default implementation returns the result of calling
#visitChildren
onctx
.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- TclBaseVisitor → TclVisitor
- Annotations
- @Override()
- def visitOperatorAB(ctx: OperatorABContext): T
Visit a parse tree produced by
TclParser#operatorAB
.Visit a parse tree produced by
TclParser#operatorAB
.The default implementation returns the result of calling
#visitChildren
onctx
.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- TclBaseVisitor → TclVisitor
- Annotations
- @Override()
- def visitPackage(ctx: PackageContext): T
Visit a parse tree produced by
TclParser#package
.Visit a parse tree produced by
TclParser#package
.The default implementation returns the result of calling
#visitChildren
onctx
.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- TclBaseVisitor → TclVisitor
- Annotations
- @Override()
- def visitPackageIdentifier(ctx: PackageIdentifierContext): T
Visit a parse tree produced by
TclParser#packageIdentifier
.Visit a parse tree produced by
TclParser#packageIdentifier
.The default implementation returns the result of calling
#visitChildren
onctx
.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- TclBaseVisitor → TclVisitor
- Annotations
- @Override()
- def visitPackageProvide(ctx: PackageProvideContext): T
Visit a parse tree produced by
TclParser#packageProvide
.Visit a parse tree produced by
TclParser#packageProvide
.The default implementation returns the result of calling
#visitChildren
onctx
.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- TclBaseVisitor → TclVisitor
- Annotations
- @Override()
- def visitPackageRequire(ctx: PackageRequireContext): T
Visit a parse tree produced by
TclParser#packageRequire
.Visit a parse tree produced by
TclParser#packageRequire
.The default implementation returns the result of calling
#visitChildren
onctx
.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- TclBaseVisitor → TclVisitor
- Annotations
- @Override()
- def visitPackageVersion(ctx: PackageVersionContext): T
Visit a parse tree produced by
TclParser#packageVersion
.Visit a parse tree produced by
TclParser#packageVersion
.The default implementation returns the result of calling
#visitChildren
onctx
.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- TclBaseVisitor → TclVisitor
- Annotations
- @Override()
- def visitProc(ctx: ProcContext): T
Visit a parse tree produced by
TclParser#proc
.Visit a parse tree produced by
TclParser#proc
.The default implementation returns the result of calling
#visitChildren
onctx
.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- TclBaseVisitor → TclVisitor
- Annotations
- @Override()
- def visitProcArg(ctx: ProcArgContext): T
Visit a parse tree produced by
TclParser#procArg
.Visit a parse tree produced by
TclParser#procArg
.The default implementation returns the result of calling
#visitChildren
onctx
.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- TclBaseVisitor → TclVisitor
- Annotations
- @Override()
- def visitProcArgDef(ctx: ProcArgDefContext): T
Visit a parse tree produced by
TclParser#procArgDef
.Visit a parse tree produced by
TclParser#procArgDef
.The default implementation returns the result of calling
#visitChildren
onctx
.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- TclBaseVisitor → TclVisitor
- Annotations
- @Override()
- def visitProcBody(ctx: ProcBodyContext): T
Visit a parse tree produced by
TclParser#procBody
.Visit a parse tree produced by
TclParser#procBody
.The default implementation returns the result of calling
#visitChildren
onctx
.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- TclBaseVisitor → TclVisitor
- Annotations
- @Override()
- def visitProcIdentifier(ctx: ProcIdentifierContext): T
Visit a parse tree produced by
TclParser#procIdentifier
.Visit a parse tree produced by
TclParser#procIdentifier
.The default implementation returns the result of calling
#visitChildren
onctx
.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- TclBaseVisitor → TclVisitor
- Annotations
- @Override()
- def visitRegexp(ctx: RegexpContext): T
Visit a parse tree produced by
TclParser#regexp
.Visit a parse tree produced by
TclParser#regexp
.The default implementation returns the result of calling
#visitChildren
onctx
.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- TclBaseVisitor → TclVisitor
- Annotations
- @Override()
- def visitSource_text(ctx: Source_textContext): T
Visit a parse tree produced by
TclParser#source_text
.Visit a parse tree produced by
TclParser#source_text
.The default implementation returns the result of calling
#visitChildren
onctx
.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- TclBaseVisitor → TclVisitor
- Annotations
- @Override()
- def visitSwitch(ctx: SwitchContext): T
Visit a parse tree produced by
TclParser#switch
.Visit a parse tree produced by
TclParser#switch
.The default implementation returns the result of calling
#visitChildren
onctx
.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- TclBaseVisitor → TclVisitor
- Annotations
- @Override()
- def visitSwitchBody(ctx: SwitchBodyContext): T
Visit a parse tree produced by
TclParser#switchBody
.Visit a parse tree produced by
TclParser#switchBody
.The default implementation returns the result of calling
#visitChildren
onctx
.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- TclBaseVisitor → TclVisitor
- Annotations
- @Override()
- def visitSwitchDefaultBody(ctx: SwitchDefaultBodyContext): T
Visit a parse tree produced by
TclParser#switchDefaultBody
.Visit a parse tree produced by
TclParser#switchDefaultBody
.The default implementation returns the result of calling
#visitChildren
onctx
.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- TclBaseVisitor → TclVisitor
- Annotations
- @Override()
- def visitSwitchExpr(ctx: SwitchExprContext): T
Visit a parse tree produced by
TclParser#switchExpr
.Visit a parse tree produced by
TclParser#switchExpr
.The default implementation returns the result of calling
#visitChildren
onctx
.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- TclBaseVisitor → TclVisitor
- Annotations
- @Override()
- def visitSwitchMatch(ctx: SwitchMatchContext): T
Visit a parse tree produced by
TclParser#switchMatch
.Visit a parse tree produced by
TclParser#switchMatch
.The default implementation returns the result of calling
#visitChildren
onctx
.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- TclBaseVisitor → TclVisitor
- Annotations
- @Override()
- def visitTerminal(arg0: TerminalNode): T
- Definition Classes
- AbstractParseTreeVisitor → ParseTreeVisitor
- def visitWhile(ctx: WhileContext): T
Visit a parse tree produced by
TclParser#while
.Visit a parse tree produced by
TclParser#while
.The default implementation returns the result of calling
#visitChildren
onctx
.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- TclBaseVisitor → TclVisitor
- Annotations
- @Override()
- def visitWhileBody(ctx: WhileBodyContext): T
Visit a parse tree produced by
TclParser#whileBody
.Visit a parse tree produced by
TclParser#whileBody
.The default implementation returns the result of calling
#visitChildren
onctx
.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- TclBaseVisitor → TclVisitor
- Annotations
- @Override()
- def visitWhileCond(ctx: WhileCondContext): T
Visit a parse tree produced by
TclParser#whileCond
.Visit a parse tree produced by
TclParser#whileCond
.The default implementation returns the result of calling
#visitChildren
onctx
.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- TclBaseVisitor → TclVisitor
- Annotations
- @Override()
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)