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