Package ftl

Klasse Node.Visitor

java.lang.Object
ftl.Node.Visitor
Umschließende Schnittstelle:
Node

public abstract static class Node.Visitor extends Object
  • Feldübersicht

    Felder
    Modifizierer und Typ
    Feld
    Beschreibung
    protected boolean
     
  • Konstruktorübersicht

    Konstruktoren
    Konstruktor
    Beschreibung
     
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    void
    recurse(Node node)
    Just recurses over (i.e. visits) the node's children
    void
    visit(Node node)
    Tries to invoke (via reflection) the appropriate visit(...) method defined in a subclass.

    Von Klasse geerbte Methoden java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Felddetails

    • visitUnparsedTokens

      protected boolean visitUnparsedTokens
  • Konstruktordetails

    • Visitor

      public Visitor()
  • Methodendetails

    • visit

      public void visit(Node node)
      Tries to invoke (via reflection) the appropriate visit(...) method defined in a subclass. If there is none, it just calls the recurse() routine.
      Parameter:
      node - the Node to "visit"
    • recurse

      public void recurse(Node node)
      Just recurses over (i.e. visits) the node's children
      Parameter:
      node - the node we are traversing