Interface SyntaxTreeVisitor


public interface SyntaxTreeVisitor
Defines a SyntaxTreeVisitor for a syntax tree
  • Method Details

    • token

      void token​(TokenNode node)
      Visits the syntax node of a token.
      Parameters:
      node - the syntax node relative to the token
    • enterConstruct

      void enterConstruct​(ConstructNode node)
      Enters into the syntax node of a construct.
      Parameters:
      node - the syntax node relative to the construct
    • exitConstruct

      void exitConstruct​(ConstructNode node)
      Exits from the syntax node of a construct.
      Parameters:
      node - the syntax node relative to the construct