public class LocalVariableListener extends ObjectLexer.DefaultObjectLexerListener
Modifier and Type | Field and Description |
---|---|
static String |
KNOWN_VARIABLES_PROPERTY_KEY |
INSTANCE
Constructor and Description |
---|
LocalVariableListener() |
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 |
afterStartMatch(LexerParser parser,
Matcher startMatcher,
Object result)
Performed after successful start match and eventual match result is injected into parsing result.
|
afterEndMatch, atEnd
public static final String KNOWN_VARIABLES_PROPERTY_KEY
public void afterStartMatch(LexerParser parser, Matcher startMatcher, Object result) throws IOException
ObjectLexer.ObjectLexerListener
afterStartMatch
in interface ObjectLexer.ObjectLexerListener
afterStartMatch
in class ObjectLexer.DefaultObjectLexerListener
IOException
public void afterBlock(LexerParser parser, LexerBlock block, Object result)
ObjectLexer.ObjectLexerListener
afterBlock
in interface ObjectLexer.ObjectLexerListener
afterBlock
in class ObjectLexer.DefaultObjectLexerListener