public static class ObjectLexer.DefaultObjectLexerListener extends Object implements ObjectLexer.ObjectLexerListener
Modifier and Type | Field and Description |
---|---|
static ObjectLexer.DefaultObjectLexerListener |
INSTANCE |
Constructor and Description |
---|
DefaultObjectLexerListener() |
Modifier and Type | Method and Description |
---|---|
void |
afterBlock(LexerParser parser,
LexerBlock block,
Object result)
Called after each parsing block is performed and result is injected.
|
void |
afterEndMatch(LexerParser parser,
Matcher endMatcher,
Object result)
Performed after successful end match and eventual match result is injected into parsing result.
|
void |
afterStartMatch(LexerParser parser,
Matcher startMatcher,
Object result)
Performed after successful start match and eventual match result is injected into parsing result.
|
void |
atEnd(LexerParser parser,
Object result)
Performed at end, with or without end matcher.
|
public static final ObjectLexer.DefaultObjectLexerListener INSTANCE
public void afterStartMatch(LexerParser parser, Matcher startMatcher, Object result) throws DslException, IOException
ObjectLexer.ObjectLexerListener
afterStartMatch
in interface ObjectLexer.ObjectLexerListener
DslException
IOException
public void afterBlock(LexerParser parser, LexerBlock block, Object result) throws DslException, IOException
ObjectLexer.ObjectLexerListener
afterBlock
in interface ObjectLexer.ObjectLexerListener
DslException
IOException
public void afterEndMatch(LexerParser parser, Matcher endMatcher, Object result) throws DslException, IOException
ObjectLexer.ObjectLexerListener
afterEndMatch
in interface ObjectLexer.ObjectLexerListener
DslException
IOException
public void atEnd(LexerParser parser, Object result) throws DslException, IOException
ObjectLexer.ObjectLexerListener
atEnd
in interface ObjectLexer.ObjectLexerListener
DslException
IOException