ImmutableInteractiveParser

ImmutableInteractiveParser

Same as InteractiveParser, but operations create a new instance instead of changing it in-place.

Constructor

new ImmutableInteractiveParser()

Source:

Methods

as_mutable()

Convert to an InteractiveParser.

Source:

as_mutable()

Convert to an InteractiveParser.

Source:

exhaust_lexer()

Try to feed the rest of the lexer state into the parser.

    Note that this returns a new ImmutableInteractiveParser and does not feed an '$END' Token
Source:

exhaust_lexer()

Try to feed the rest of the lexer state into the parser.

    Note that this returns a new ImmutableInteractiveParser and does not feed an '$END' Token
Source:

ImmutableInteractiveParser

Same as InteractiveParser, but operations create a new instance instead of changing it in-place.

Constructor

new ImmutableInteractiveParser()

Source:

Methods

as_mutable()

Convert to an InteractiveParser.

Source:

as_mutable()

Convert to an InteractiveParser.

Source:

exhaust_lexer()

Try to feed the rest of the lexer state into the parser.

    Note that this returns a new ImmutableInteractiveParser and does not feed an '$END' Token
Source:

exhaust_lexer()

Try to feed the rest of the lexer state into the parser.

    Note that this returns a new ImmutableInteractiveParser and does not feed an '$END' Token
Source: