public class DefaultLexerHandler extends Object implements LexerHandler
Constructor and Description |
---|
DefaultLexerHandler() |
Modifier and Type | Method and Description |
---|---|
LexerHandlerBean |
getBeanInstance()
Instanciates the bean
|
LexerHandlerBean |
handle(RenderingDataBuilder renderingDataBuilder,
Grammar grammar,
Lexer lexer,
LexerParser lexerParser,
boolean anonymous)
Updates bean with lexer block informations
|
protected void |
internalUpdateScheme(LexerHandlerBean bean,
SyntaxicScheme scheme)
Must be overridden
|
void |
updateScheme(LexerHandlerBean bean,
SyntaxicScheme scheme)
Performs default operations then calls internalUpdateScheme.
|
public LexerHandlerBean handle(RenderingDataBuilder renderingDataBuilder, Grammar grammar, Lexer lexer, LexerParser lexerParser, boolean anonymous) throws DslException
LexerHandler
handle
in interface LexerHandler
DslException
public LexerHandlerBean getBeanInstance()
LexerHandler
getBeanInstance
in interface LexerHandler
public final void updateScheme(LexerHandlerBean bean, SyntaxicScheme scheme) throws DslException
updateScheme
in interface LexerHandler
DslException
protected void internalUpdateScheme(LexerHandlerBean bean, SyntaxicScheme scheme) throws DslException
DslException