public class InjectableLexerBlockWrapper extends LexerBlockWrapper implements InjectableLexerBlock
Constructor and Description |
---|
InjectableLexerBlockWrapper(InjectableLexerBlock w) |
Modifier and Type | Method and Description |
---|---|
LexerInjectionStrategy |
getInjectionStrategy() |
String |
getName() |
IProperty |
getProperty() |
InjectableLexerBlock |
getWrapped() |
boolean |
isInjectable() |
Class<?> |
resolveLexerType(Grammar grammar)
Resolves the type of the result which will be parsed by the lexer(s) described by this block's configuration.
|
getResolver, getUnicity, isMandatory
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getResolver, getUnicity, isMandatory
public InjectableLexerBlockWrapper(InjectableLexerBlock w)
public String getName()
getName
in interface InjectableLexerBlock
public IProperty getProperty()
getProperty
in interface InjectableLexerBlock
public LexerInjectionStrategy getInjectionStrategy()
getInjectionStrategy
in interface InjectableLexerBlock
public boolean isInjectable()
isInjectable
in interface InjectableLexerBlock
LexerBlockResolver.inject(Object, LexerParser)
has no effect.public Class<?> resolveLexerType(Grammar grammar) throws DslException
InjectableLexerBlock
resolveLexerType
in interface InjectableLexerBlock
DslException
public InjectableLexerBlock getWrapped()
getWrapped
in class LexerBlockWrapper