Interface ICompositeNode

    • Method Detail

      • getChildren

        BidiIterable<INode> getChildren()
        Returns an iterable that provides access to the children of the composite node. Will never return null but may be empty.
        Returns:
        an iterable that provides access to the children of the composite node.
        See Also:
        hasChildren(), getFirstChild(), getLastChild()
      • getFirstChild

        INode getFirstChild()
        Returns the first child of this node. May be null or may be the same as the last child.
        Returns:
        the first child of this node if any.
        See Also:
        hasChildren(), getChildren()
      • getLookAhead

        int getLookAhead()
        Return the number of tokens that the parser had to peek before it could decide to create this node. Never negative. Clients will usually not have to deal with getLookAhead().
        Returns:
        the number of tokens that the parser had to peek before it could decide to create this node.