public class LexerTypeBlock extends AbstractInjectableLexerBlock
Modifier and Type | Class and Description |
---|---|
class |
LexerTypeBlock.LexerTypeBlockResolver |
AbstractInjectableLexerBlock.AbstractInjectableLexerBlockResolver
lexerIdExcludeSet, lexerTypeExcludeSet, property
Constructor and Description |
---|
LexerTypeBlock() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Class<?> |
getLexerType() |
LexerBlockResolver |
getResolver(Grammar grammar) |
int |
hashCode() |
Class<?> |
resolveLexerType(Grammar grammar)
Resolves the type of the result which will be parsed by the lexer(s) described by this block's configuration.
|
void |
setLexerType(Class<?> lexerType) |
String |
toString() |
getInjectionStrategy, getLexerIdExclude, getLexerTypeExclude, getName, getProperty, isInjectable, setInjectionStrategy, setLexerIdExclude, setLexerTypeExclude, setName
getMaxOccurs, getMinOccurs, getUnicity, isMandatory, setMandatory, setMaxOccurs, setMinOccurs, setUnicity
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getUnicity, isMandatory
public Class<?> getLexerType()
public void setLexerType(Class<?> lexerType)
public Class<?> resolveLexerType(Grammar grammar) throws DslException
InjectableLexerBlock
DslException
public LexerBlockResolver getResolver(Grammar grammar) throws DslException
DslException
public int hashCode()
hashCode
in class AbstractInjectableLexerBlock
public boolean equals(Object o)
equals
in class AbstractInjectableLexerBlock