public interface LexerParser extends Serializable
Modifier and Type | Method and Description |
---|---|
int |
getEffectiveParseStartMark() |
Grammar |
getGrammar() |
Lexer |
getLexer() |
LexerParser |
getParent() |
int |
getParseEndMark() |
int |
getParseStartMark() |
ParsingContext |
getParsingContext() |
Object |
getResult()
Retrieves parsed result.
|
AdvancedReader |
getSource() |
void |
injectResult(InjectableLexerBlock parentBlock,
Object parentResult)
Injects parsed result into parent's result.
|
boolean |
isExcludedFromHierarchy(Matcher matcher)
Tells if the provided matcher should be excluded from this lexer parser's hierarchy.
|
boolean |
isRoot()
Is this lexer root ?
|
void |
parse()
Parses the portion of the source targeted by this lexer.
|
Matcher |
resolveEnd()
Resolves the end matcher for this parser.
|
Matcher |
resolveStart()
Resolves the start matcher for this parser.
|
void |
toEnd()
Replaces the source at its state after process ended for this parser.
|
void |
toEndOfParse()
Replaces the source at its state after match ended if successful.
|
void |
toStart()
Replaces the source at its state before process started for this parser.
|
void |
toStartOfParse()
Replaces the source at its state before parse started.
|
Matcher resolveStart() throws DslException
DslException
Matcher resolveEnd() throws DslException
DslException
void parse() throws DslException, IOException
DslException
IOException
Object getResult()
void injectResult(InjectableLexerBlock parentBlock, Object parentResult) throws UtilsException
UtilsException
void toStart()
void toStartOfParse()
void toEndOfParse()
void toEnd()
int getParseStartMark()
int getEffectiveParseStartMark()
int getParseEndMark()
Lexer getLexer()
LexerParser getParent()
boolean isRoot()
Grammar getGrammar()
AdvancedReader getSource()
ParsingContext getParsingContext()
boolean isExcludedFromHierarchy(Matcher matcher) throws DslException
DslException