protected class AndLexerBlock.AndBlockResolver extends AbstractLexerBlockResolver
Modifier and Type | Field and Description |
---|---|
(package private) LexerParser |
parser |
Modifier | Constructor and Description |
---|---|
protected |
AndBlockResolver(Grammar grammar) |
Modifier and Type | Method and Description |
---|---|
void |
consume(LexerParser p)
Indicates that this parser has been consumed.
|
LexerBlock |
getBlock() |
void |
inject(Object target,
LexerParser value)
Method used to inject result.
|
protected List<Lexer> |
internalResolveLexers(Grammar g)
Called to effectively resolve lexers list after unicity and max occur checks have been done.
|
boolean |
isExcluded(Matcher matcher) |
computeSafeMode, identify, identify, identifyAndConsume, identifyAndConsume, isHasBeenConsumed, isMaxConsommationReached, isMinConsommationReached, resolveLexers
LexerParser parser
protected AndBlockResolver(Grammar grammar) throws DslException
DslException
protected List<Lexer> internalResolveLexers(Grammar g) throws DslException
AbstractLexerBlockResolver
internalResolveLexers
in class AbstractLexerBlockResolver
DslException
public void inject(Object target, LexerParser value) throws UtilsException
LexerBlockResolver
UtilsException
public void consume(LexerParser p) throws DslException
LexerBlockResolver
consume
in interface LexerBlockResolver
consume
in class AbstractLexerBlockResolver
DslException
public boolean isExcluded(Matcher matcher) throws DslException
DslException
public LexerBlock getBlock()