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