Modifier and Type | Method and Description |
---|---|
static LexerParser |
DslUtils.identify(LexerParser parentParser,
Collection<Lexer> candidates,
boolean safeMode)
Identifies the lexer to use between provided candidates to handle the following source part.
|
Modifier and Type | Method and Description |
---|---|
Lexer |
LexerClassBlock.getLexer() |
Modifier and Type | Method and Description |
---|---|
Class<Lexer> |
LexerClassBlock.getLexerClass() |
protected abstract List<Lexer> |
AbstractLexerBlockResolver.internalResolveLexers(Grammar grammar)
Called to effectively resolve lexers list after unicity and max occur checks have been done.
|
protected List<Lexer> |
AndLexerBlock.AndBlockResolver.internalResolveLexers(Grammar g) |
protected List<Lexer> |
LexerClassBlock.LexerClassBlockResolver.internalResolveLexers(Grammar g)
Resolves the lexer(s) described by this block's configuration.
|
protected List<Lexer> |
OrLexerBlock.OrBlockResolver.internalResolveLexers(Grammar g) |
protected List<Lexer> |
LexerTypeBlock.LexerTypeBlockResolver.internalResolveLexers(Grammar g)
Resolves the lexer(s) described by this block's configuration.
|
protected List<Lexer> |
LexerIdsBlock.LexerIdsBlockResolver.internalResolveLexers(Grammar g)
Resolves the lexer(s) described by this block's configuration.
|
protected List<Lexer> |
LexerIdBlock.LexerIdBlockResolver.internalResolveLexers(Grammar g)
Resolves the lexer(s) described by this block's configuration.
|
List<Lexer> |
AbstractInjectableLexerBlock.AbstractInjectableLexerBlockResolver.resolveLexers(Grammar g)
Filters results with exclusions.
|
List<Lexer> |
AbstractLexerBlockResolver.resolveLexers(Grammar grammar)
Checks that this resolver has not been fully consumed and calls
AbstractLexerBlockResolver.internalResolveLexers(Grammar) . |
List<Lexer> |
LexerBlockResolver.resolveLexers(Grammar grammar)
Resolves the lexer(s) described by this block's configuration that can still be candidate in this parsing operation.
|
List<Lexer> |
LexerBlockResolverWrapper.resolveLexers(Grammar grammar) |
Modifier and Type | Method and Description |
---|---|
void |
LexerClassBlock.setLexer(Lexer lexer) |
Modifier and Type | Method and Description |
---|---|
void |
LexerClassBlock.setLexerClass(Class<Lexer> lexerClass) |
Modifier and Type | Field and Description |
---|---|
static HandlersHolder<Lexer,LexerHandler> |
DslDocGen.LEXER_HANDLERS |
Modifier and Type | Method and Description |
---|---|
void |
SyntaxicScheme.addLexerRefElement(Lexer elem,
boolean mandatory) |
Object |
RenderingDataBuilder.buildRenderingData(Grammar grammar,
Lexer lexer,
LexerParser lexerParser,
boolean anonymous)
Builds information to render a lexer
|
Modifier and Type | Method and Description |
---|---|
List<Lexer> |
LexerTypeBlockHandler.LexerTypeBlockHandlerBean.getLexers() |
Modifier and Type | Method and Description |
---|---|
void |
LexerTypeBlockHandler.LexerTypeBlockHandlerBean.setLexers(List<Lexer> lexers) |
Modifier and Type | Method and Description |
---|---|
Lexer |
LexerHandlerBean.getLexer() |
Modifier and Type | Method and Description |
---|---|
ObjectLexerHandler.ObjectLexerHandlerBean |
ObjectLexerHandler.handle(RenderingDataBuilder renderingDataBuilder,
Grammar grammar,
Lexer lexer,
LexerParser lexerParser,
boolean anonymous) |
SubParseLexerHandler.SubParseLexerHandlerBean |
SubParseLexerHandler.handle(RenderingDataBuilder renderingDataBuilder,
Grammar grammar,
Lexer lexer,
LexerParser lexerParser,
boolean anonymous) |
TransformLexerHandler.TransformLexerHandlerBean |
TransformLexerHandler.handle(RenderingDataBuilder renderingDataBuilder,
Grammar grammar,
Lexer lexer,
LexerParser lexerParser,
boolean anonymous) |
LexerHandlerBean |
DefaultLexerHandler.handle(RenderingDataBuilder renderingDataBuilder,
Grammar grammar,
Lexer lexer,
LexerParser lexerParser,
boolean anonymous) |
RegexLexerHandler.RegexLexerHandlerBean |
RegexLexerHandler.handle(RenderingDataBuilder renderingDataBuilder,
Grammar grammar,
Lexer lexer,
LexerParser lexerParser,
boolean anonymous) |
ValueLexerHandler.ValueLexerHandlerBean |
ValueLexerHandler.handle(RenderingDataBuilder renderingDataBuilder,
Grammar grammar,
Lexer lexer,
LexerParser lexerParser,
boolean anonymous) |
StartEndLexerHandler.StartEndLexerHandlerBean |
StartEndLexerHandler.handle(RenderingDataBuilder renderingDataBuilder,
Grammar grammar,
Lexer lexer,
LexerParser lexerParser,
boolean anonymous) |
NextCharLexerHandler.NextCharLexerHandlerBean |
NextCharLexerHandler.handle(RenderingDataBuilder renderingDataBuilder,
Grammar grammar,
Lexer lexer,
LexerParser lexerParser,
boolean anonymous) |
LexerHandlerBean |
LexerHandler.handle(RenderingDataBuilder renderingDataBuilder,
Grammar g,
Lexer lexer,
LexerParser lexerParser,
boolean anonymous)
Updates bean with lexer block informations
|
ValueLexerHandler.ValueLexerHandlerBean |
ValuesLexerHandler.handle(RenderingDataBuilder renderingDataBuilder,
Grammar grammar,
Lexer lexer,
LexerParser lexerParser,
boolean anonymous) |
void |
LexerHandlerBean.setLexer(Lexer lexer) |
Modifier and Type | Method and Description |
---|---|
Lexer |
Grammar.getLexerFromId(String lexerId)
Queries internal lexer repository by unique id.
|
Modifier and Type | Method and Description |
---|---|
List<Lexer> |
Grammar.getLexerFromType(Class<?> lexerType,
Set<String> excludedIds,
Set<Class<?>> excludedTypes)
Queries internal lexer repository by lexer returning type (i.e. the parsing result type).
|
Modifier and Type | Method and Description |
---|---|
void |
Grammar.addLexer(Lexer lexer)
Adds new lexer to internal repository
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractLexer
Base class for all Lexer implementations
|
class |
ActionLexer
Lexer allowing to perform one or more actionProperties on parsed sub objects.
|
class |
BooleanLexer
Boolean Lexer.
|
class |
CharacterLexer
Character Lexer.
|
class |
DecimalLexer
Decimal Lexer.
|
class |
EnumLexer
Lexer for which possible content is given by an enumeration.
|
class |
HardCodedLexer
Lexer with hard coded value to return.
|
class |
IntegerLexer
Integer Lexer.
|
class |
MappedPropertyLexer
Allows to modify parents result to put a value in a Map.
|
class |
MatcherLexer
Lexer for matching a portion of text with no need to do something with it.
|
class |
NextCharLexer
Next character Lexer, reads from next non space character to the specified character pattern.
|
class |
NextSpaceLexer
Next Space Lexer, reads from next non space character to the following space character.
|
class |
NullLexer
Null value Lexer.
|
class |
ObjectLexer
Lexer allowing to instantiate an object and inject sub properties.
|
class |
RegexLexer
Regexp Lexer, allowing to
retrieve all content until it matches the regular expression if no block provided.
|
class |
StringLexer
String Lexer.
|
class |
SubParseLexer
Lexer allowing to parse a part of text.
|
class |
TextLexer
Lexer reading text between too matchers.
|
class |
TransformLexer
Transforms sub Lexer's result.
|
class |
ValueLexer
Value Lexer.
|
class |
ValuesLexer
Values Lexer.
|
Modifier and Type | Method and Description |
---|---|
Lexer |
LexerParser.getLexer() |
Lexer |
ObjectLexer.ObjectLexerParser.getLexer() |
Modifier and Type | Method and Description |
---|---|
List<Lexer> |
AbstractCombineLexerMatcher.getSubLexers() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractCombineLexerMatcher.setSubLexers(List<Lexer> lexers) |
Modifier and Type | Field and Description |
---|---|
static TemplatesHolder<Lexer> |
DslHtmlDocGen.LEXER_TEMPLATES |
Modifier and Type | Method and Description |
---|---|
Object |
DslHtmlDocGen.buildRenderingData(Grammar grammar,
Lexer lexer,
LexerParser lexerParser,
boolean anonymous) |