Packages

c

top.scaleda.tcl.parser

TclBaseVisitor

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()
Linear Supertypes
TclVisitor[T], AbstractParseTreeVisitor[T], ParseTreeVisitor[T], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TclBaseVisitor
  2. TclVisitor
  3. AbstractParseTreeVisitor
  4. ParseTreeVisitor
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new TclBaseVisitor()

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def aggregateResult(arg0: T, arg1: T): T
    Attributes
    protected[tree]
    Definition Classes
    AbstractParseTreeVisitor
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  7. def defaultResult(): T
    Attributes
    protected[tree]
    Definition Classes
    AbstractParseTreeVisitor
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  16. def shouldVisitNextChild(arg0: RuleNode, arg1: T): Boolean
    Attributes
    protected[tree]
    Definition Classes
    AbstractParseTreeVisitor
  17. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  18. def toString(): String
    Definition Classes
    AnyRef → Any
  19. def visit(arg0: ParseTree): T
    Definition Classes
    AbstractParseTreeVisitor → ParseTreeVisitor
  20. def visitChildren(arg0: RuleNode): T
    Definition Classes
    AbstractParseTreeVisitor → ParseTreeVisitor
  21. 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 on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    TclBaseVisitorTclVisitor
    Annotations
    @Override()
  22. 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 on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    TclBaseVisitorTclVisitor
    Annotations
    @Override()
  23. 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 on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    TclBaseVisitorTclVisitor
    Annotations
    @Override()
  24. 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 on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    TclBaseVisitorTclVisitor
    Annotations
    @Override()
  25. 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 on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    TclBaseVisitorTclVisitor
    Annotations
    @Override()
  26. 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 on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    TclBaseVisitorTclVisitor
    Annotations
    @Override()
  27. 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 on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    TclBaseVisitorTclVisitor
    Annotations
    @Override()
  28. 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 on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    TclBaseVisitorTclVisitor
    Annotations
    @Override()
  29. def visitErrorNode(arg0: ErrorNode): T
    Definition Classes
    AbstractParseTreeVisitor → ParseTreeVisitor
  30. 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 on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    TclBaseVisitorTclVisitor
    Annotations
    @Override()
  31. 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 on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    TclBaseVisitorTclVisitor
    Annotations
    @Override()
  32. 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 on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    TclBaseVisitorTclVisitor
    Annotations
    @Override()
  33. 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 on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    TclBaseVisitorTclVisitor
    Annotations
    @Override()
  34. 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 on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    TclBaseVisitorTclVisitor
    Annotations
    @Override()
  35. 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 on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    TclBaseVisitorTclVisitor
    Annotations
    @Override()
  36. 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 on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    TclBaseVisitorTclVisitor
    Annotations
    @Override()
  37. 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 on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    TclBaseVisitorTclVisitor
    Annotations
    @Override()
  38. 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 on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    TclBaseVisitorTclVisitor
    Annotations
    @Override()
  39. 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 on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    TclBaseVisitorTclVisitor
    Annotations
    @Override()
  40. 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 on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    TclBaseVisitorTclVisitor
    Annotations
    @Override()
  41. 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 on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    TclBaseVisitorTclVisitor
    Annotations
    @Override()
  42. 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 on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    TclBaseVisitorTclVisitor
    Annotations
    @Override()
  43. 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 on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    TclBaseVisitorTclVisitor
    Annotations
    @Override()
  44. 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 on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    TclBaseVisitorTclVisitor
    Annotations
    @Override()
  45. 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 on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    TclBaseVisitorTclVisitor
    Annotations
    @Override()
  46. 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 on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    TclBaseVisitorTclVisitor
    Annotations
    @Override()
  47. 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 on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    TclBaseVisitorTclVisitor
    Annotations
    @Override()
  48. 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 on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    TclBaseVisitorTclVisitor
    Annotations
    @Override()
  49. 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 on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    TclBaseVisitorTclVisitor
    Annotations
    @Override()
  50. 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 on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    TclBaseVisitorTclVisitor
    Annotations
    @Override()
  51. 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 on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    TclBaseVisitorTclVisitor
    Annotations
    @Override()
  52. 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 on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    TclBaseVisitorTclVisitor
    Annotations
    @Override()
  53. 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 on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    TclBaseVisitorTclVisitor
    Annotations
    @Override()
  54. 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 on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    TclBaseVisitorTclVisitor
    Annotations
    @Override()
  55. 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 on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    TclBaseVisitorTclVisitor
    Annotations
    @Override()
  56. 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 on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    TclBaseVisitorTclVisitor
    Annotations
    @Override()
  57. 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 on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    TclBaseVisitorTclVisitor
    Annotations
    @Override()
  58. 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 on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    TclBaseVisitorTclVisitor
    Annotations
    @Override()
  59. 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 on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    TclBaseVisitorTclVisitor
    Annotations
    @Override()
  60. 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 on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    TclBaseVisitorTclVisitor
    Annotations
    @Override()
  61. 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 on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    TclBaseVisitorTclVisitor
    Annotations
    @Override()
  62. 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 on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    TclBaseVisitorTclVisitor
    Annotations
    @Override()
  63. 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 on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    TclBaseVisitorTclVisitor
    Annotations
    @Override()
  64. 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 on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    TclBaseVisitorTclVisitor
    Annotations
    @Override()
  65. def visitTerminal(arg0: TerminalNode): T
    Definition Classes
    AbstractParseTreeVisitor → ParseTreeVisitor
  66. 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 on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    TclBaseVisitorTclVisitor
    Annotations
    @Override()
  67. 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 on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    TclBaseVisitorTclVisitor
    Annotations
    @Override()
  68. 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 on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    TclBaseVisitorTclVisitor
    Annotations
    @Override()
  69. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  70. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  71. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from TclVisitor[T]

Inherited from AbstractParseTreeVisitor[T]

Inherited from ParseTreeVisitor[T]

Inherited from AnyRef

Inherited from Any

Ungrouped