Modifier and Type | Method and Description |
---|---|
LexerBlockResolver |
AndLexerBlock.getResolver(Grammar grammar) |
LexerBlockResolver |
LexerClassBlock.getResolver(Grammar grammar) |
LexerBlockResolver |
LexerBlockWrapper.getResolver(Grammar grammar) |
LexerBlockResolver |
OrLexerBlock.getResolver(Grammar grammar) |
LexerBlockResolver |
LexerBlock.getResolver(Grammar grammar) |
LexerBlockResolver |
LexerTypeBlock.getResolver(Grammar grammar) |
LexerBlockResolver |
LexerIdsBlock.getResolver(Grammar grammar) |
LexerBlockResolver |
LexerIdBlock.getResolver(Grammar grammar) |
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) |
Class<?> |
InjectableLexerBlock.resolveLexerType(Grammar grammar)
Resolves the type of the result which will be parsed by the lexer(s) described by this block's configuration.
|
Class<?> |
LexerClassBlock.resolveLexerType(Grammar grammar) |
Class<?> |
InjectableLexerBlockWrapper.resolveLexerType(Grammar grammar) |
Class<?> |
LexerTypeBlock.resolveLexerType(Grammar grammar) |
Class<?> |
LexerIdsBlock.resolveLexerType(Grammar grammar) |
Class<?> |
LexerIdBlock.resolveLexerType(Grammar grammar) |
Constructor and Description |
---|
AndBlockResolver(Grammar grammar) |
LexerIdBlockResolver(Grammar grammar) |
LexerIdsBlockResolver(Grammar grammar) |
LexerTypeBlockResolver(Grammar grammar) |
OrBlockResolver(Grammar grammar) |
Modifier and Type | Method and Description |
---|---|
Renderable |
RenderingDataBuilder.buildRenderable(Grammar grammar,
Object toRender)
Builds a
Renderable instance for the Object to render |
Object |
RenderingDataBuilder.buildRenderingData(Grammar grammar,
LexerBlock block,
LexerParser lexerParser)
Builds information to render a block
|
Object |
RenderingDataBuilder.buildRenderingData(Grammar grammar,
Lexer lexer,
LexerParser lexerParser,
boolean anonymous)
Builds information to render a lexer
|
Object |
RenderingDataBuilder.buildRenderingData(Grammar grammar,
LexerMatcher matcher,
LexerParser lexerParser,
LexerMatcherHandler.Mode mode)
Builds information to render a matcher
|
Constructor and Description |
---|
DslDocGen(Grammar g) |
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) |
Modifier and Type | Method and Description |
---|---|
static Grammar |
GrammarRepository.getFromId(String id)
Searches loaded grammar to find the one corresponding to the provided id and default locale.
|
static Grammar |
GrammarRepository.getFromId(String id,
String locale)
Searches loaded grammar to find the one corresponding to the provided id and local.
|
Grammar |
ParsingContext.getGrammar() |
Grammar |
GrammarParser.read(InputSource is)
Parses grammar fron input source source.
|
Grammar |
GrammarParser.read(InputStream is)
Parses grammar fron input stream source.
|
Grammar |
GrammarParser.read(Node doc)
Parses grammar from xml node source.
|
Grammar |
GrammarParser.read(Reader r)
Parses grammar fron reader source.
|
Constructor and Description |
---|
ParsingContext(Grammar grammar,
AdvancedReader source) |
Modifier and Type | Method and Description |
---|---|
Grammar |
AbstractLexerParser.getGrammar() |
Grammar |
LexerParser.getGrammar() |
Modifier and Type | Method and Description |
---|---|
Class<?> |
CharacterLexer.resolveType(Grammar grammar) |
Class<?> |
DecimalLexer.resolveType(Grammar grammar) |
Class<?> |
MatcherLexer.resolveType(Grammar grammar) |
Class<?> |
ValueLexer.resolveType(Grammar grammar) |
Class<?> |
BooleanLexer.resolveType(Grammar grammar) |
Class<?> |
StringLexer.resolveType(Grammar grammar) |
Class<?> |
IntegerLexer.resolveType(Grammar grammar) |
Class<?> |
NextCharLexer.resolveType(Grammar grammar) |
Class<?> |
HardCodedLexer.resolveType(Grammar grammar) |
Class<?> |
SubParseLexer.resolveType(Grammar grammar) |
Class<?> |
EnumLexer.resolveType(Grammar grammar) |
Class<?> |
NullLexer.resolveType(Grammar grammar) |
Class<?> |
RegexLexer.resolveType(Grammar grammar) |
Class<?> |
ObjectLexer.resolveType(Grammar grammar) |
Class<?> |
TransformLexer.resolveType(Grammar grammar) |
Class<?> |
Lexer.resolveType(Grammar grammar)
Resolves the type of the object parsed by this lexer.
|
Class<?> |
ValuesLexer.resolveType(Grammar grammar) |
Class<?> |
MappedPropertyLexer.resolveType(Grammar grammar) |
Class<?> |
NextSpaceLexer.resolveType(Grammar grammar) |
Class<?> |
TextLexer.resolveType(Grammar grammar) |
void |
ValueLexer.validate(Grammar grammar) |
void |
BooleanLexer.validate(Grammar grammar) |
void |
HardCodedLexer.validate(Grammar grammar) |
void |
SubParseLexer.validate(Grammar grammar) |
void |
EnumLexer.validate(Grammar grammar) |
void |
NullLexer.validate(Grammar grammar) |
void |
AbstractLexer.validate(Grammar grammar)
Default implementation does nothing.
|
void |
ObjectLexer.validate(Grammar grammar) |
void |
TransformLexer.validate(Grammar grammar) |
void |
Lexer.validate(Grammar grammar)
Allows to validate the lexer.
|
void |
ValuesLexer.validate(Grammar grammar) |
void |
ActionLexer.validate(Grammar grammar) |
Modifier and Type | Method and Description |
---|---|
Grammar |
AbstractMatcher.getGrammar() |
Grammar |
AbstractMatcherWrapper.getGrammar() |
Grammar |
Matcher.getGrammar() |
Modifier and Type | Method and Description |
---|---|
Renderable |
DslHtmlDocGen.buildRenderable(Grammar grammar,
Object toRender)
Returns an instance of
DslHtmlDocGen.DefaultRenderable to render the object. |
Object |
DslHtmlDocGen.buildRenderingData(Grammar grammar,
LexerBlock block,
LexerParser lexerParser) |
Object |
DslHtmlDocGen.buildRenderingData(Grammar grammar,
Lexer lexer,
LexerParser lexerParser,
boolean anonymous) |
Object |
DslHtmlDocGen.buildRenderingData(Grammar grammar,
LexerMatcher matcher,
LexerParser lexerParser,
LexerMatcherHandler.Mode mode) |
Constructor and Description |
---|
DslHtmlDocGen(Grammar g) |