public class LexerClassBlock extends AbstractInjectableLexerBlock
Modifier and Type | Class and Description |
---|---|
class |
LexerClassBlock.LexerClassBlockResolver |
AbstractInjectableLexerBlock.AbstractInjectableLexerBlockResolver
lexerIdExcludeSet, lexerTypeExcludeSet, property
Constructor and Description |
---|
LexerClassBlock() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Lexer |
getLexer() |
Class<Lexer> |
getLexerClass() |
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 |
setLexer(Lexer lexer) |
void |
setLexerClass(Class<Lexer> lexerClass) |
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 Lexer getLexer()
public void setLexer(Lexer lexer)
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