public interface ParserStage
ParserStage
objects.Modifier and Type | Interface and Description |
---|---|
static class |
ParserStage.AcceptResult |
Modifier and Type | Method and Description |
---|---|
ParserState |
apply(ParserState state)
Process the state for this stage and return it so
that the next stage can continue processing.
|
void |
setOptional(boolean optional)
Mark the stage as optional.
|
void |
setTerminal(boolean terminal)
Mark the stage as terminal, ie.
|
void setOptional(boolean optional)
optional
- void setTerminal(boolean terminal)
terminal
- ParserState apply(ParserState state)
Copyright © 2020. All rights reserved.