Class TokenNode.EofNode

Enclosing class:
TokenNode

static final class TokenNode.EofNode extends TokenNode
A synthetic node that represents the end of the input. This node is the last one in the initial token string and also the last one in the parse tree.
  • Constructor Details

    • EofNode

      EofNode(String resourceName, int lineNumber)
  • Method Details

    • name

      String name()
      Description copied from class: TokenNode
      The name of the token, for use in parse error messages.
      Specified by:
      name in class TokenNode