Class LeafNodeAbstract

A node that contains no child nodes and has one of more tokens.

Hierarchy

Implements

Constructors

Properties

Accessors

Methods

Constructors

Properties

$tokens: Token[]

Accessors

Methods

  • Accept a visitor for this.

    Please note, each new subtype of Node must have a corresponding enumeration and visitor method.

    Parameters

    • visitor: Visitor

      The visitor for this node.

    Returns void

  • Evaluate the node against the evaluation context and return the result.

    Parameters

    Returns boolean

    the resultant evaluation.

Generated using TypeDoc