Modifier and Type | Class and Description |
---|---|
class |
DslMatchException
Exception thrown internally when no match is found.
|
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.
|
static void |
DslUtils.matchEnd(LexerParser parser)
Calls
DslUtils.matchEnd(LexerParser) without safe mode. |
static boolean |
DslUtils.matchEnd(LexerParser parser,
boolean safeMode)
Identifies the lexer to use between provided candidates to handle the following source part.
|
Modifier and Type | Method and Description |
---|---|
List<AutoComplete> |
AutoCompleteGenerator.getAutoCompletes(LexerParser parser)
Generates autoComplete options if auto complete is requested by a parser.
|
List<AutoComplete> |
AutoCompleteGenerator.getAutoCompletes(Matcher matcher)
Generates autoComplete options if auto complete is requested by a matcher.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractLexerBlockResolver.consume(LexerParser parser) |
void |
LexerBlockResolver.consume(LexerParser parser)
Indicates that this parser has been consumed.
|
void |
AndLexerBlock.AndBlockResolver.consume(LexerParser p) |
void |
LexerBlockResolverWrapper.consume(LexerParser parser) |
void |
OrLexerBlock.OrBlockResolver.consume(LexerParser parser) |
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) |
LexerParser |
AbstractLexerBlockResolver.identify(LexerParser parentParser) |
LexerParser |
LexerBlockResolver.identify(LexerParser parentParser)
Should Calls
LexerBlockResolver.identify(LexerParser, boolean)
with safe mode computed from unicity, mandatory flag min/max occur and already consumed parsers. |
LexerParser |
LexerBlockResolverWrapper.identify(LexerParser parentParser) |
LexerParser |
AbstractLexerBlockResolver.identify(LexerParser parentParser,
boolean safeMode) |
LexerParser |
LexerBlockResolver.identify(LexerParser parentParser,
boolean safeMode)
Identifies the lexer to use between candidates identified by
LexerBlockResolver.resolveLexers(Grammar) to handle the following source part. |
LexerParser |
LexerBlockResolverWrapper.identify(LexerParser parentParser,
boolean safeMode) |
LexerParser |
AbstractLexerBlockResolver.identifyAndConsume(LexerParser parentParser) |
LexerParser |
LexerBlockResolver.identifyAndConsume(LexerParser parentParser)
Short cut to call both identity and consume
|
LexerParser |
LexerBlockResolverWrapper.identifyAndConsume(LexerParser parentParser) |
LexerParser |
AbstractLexerBlockResolver.identifyAndConsume(LexerParser parentParser,
boolean safeMode) |
LexerParser |
LexerBlockResolver.identifyAndConsume(LexerParser parentParser,
boolean safeMode)
Short cut to call both identity and consume
|
LexerParser |
LexerBlockResolverWrapper.identifyAndConsume(LexerParser parentParser,
boolean safeMode) |
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.
|
boolean |
AbstractInjectableLexerBlock.AbstractInjectableLexerBlockResolver.isExcluded(Matcher matcher) |
boolean |
LexerBlockResolver.isExcluded(Matcher matcher) |
boolean |
AndLexerBlock.AndBlockResolver.isExcluded(Matcher matcher) |
boolean |
LexerBlockResolverWrapper.isExcluded(Matcher matcher) |
boolean |
OrLexerBlock.OrBlockResolver.isExcluded(Matcher matcher) |
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) |
LexerIdsBlockResolver(Grammar grammar) |
LexerTypeBlockResolver(Grammar grammar) |
OrBlockResolver(Grammar grammar) |
Modifier and Type | Method and Description |
---|---|
void |
DslDocGen.generate(OutputStream os) |
Modifier and Type | Method and Description |
---|---|
AndLexerBlockHandler.AndLexerBlockHandlerBean |
AndLexerBlockHandler.handle(RenderingDataBuilder renderingDataBuilder,
Grammar grammar,
LexerBlock block,
LexerParser lexerParser) |
LexerBlockHandlerBean |
DefaultLexerBlockHandler.handle(RenderingDataBuilder renderingDataBuilder,
Grammar grammar,
LexerBlock block,
LexerParser lexerParser) |
LexerBlockHandlerBean |
LexerBlockHandler.handle(RenderingDataBuilder renderingDataBuilder,
Grammar g,
LexerBlock block,
LexerParser lexerParser)
Updates bean with lexer block informations
|
LexerClassBlockHandler.LexerClassBlockHandlerBean |
LexerClassBlockHandler.handle(RenderingDataBuilder renderingDataBuilder,
Grammar grammar,
LexerBlock block,
LexerParser lexerParser) |
OrLexerBlockHandler.OrLexerBlockHandlerBean |
OrLexerBlockHandler.handle(RenderingDataBuilder renderingDataBuilder,
Grammar grammar,
LexerBlock block,
LexerParser lexerParser) |
LexerTypeBlockHandler.LexerTypeBlockHandlerBean |
LexerTypeBlockHandler.handle(RenderingDataBuilder renderingDataBuilder,
Grammar grammar,
LexerBlock block,
LexerParser lexerParser) |
protected void |
AndLexerBlockHandler.internalUpdateScheme(LexerBlockHandlerBean bean,
SyntaxicScheme scheme) |
protected void |
DefaultLexerBlockHandler.internalUpdateScheme(LexerBlockHandlerBean bean,
SyntaxicScheme scheme)
Must be overridden
|
protected void |
LexerClassBlockHandler.internalUpdateScheme(LexerBlockHandlerBean bean,
SyntaxicScheme scheme) |
protected void |
OrLexerBlockHandler.internalUpdateScheme(LexerBlockHandlerBean bean,
SyntaxicScheme scheme) |
protected void |
LexerIdsBlockHandler.internalUpdateScheme(LexerBlockHandlerBean bean,
SyntaxicScheme scheme) |
protected void |
LexerTypeBlockHandler.internalUpdateScheme(LexerBlockHandlerBean bean,
SyntaxicScheme scheme) |
protected void |
LexerIdBlockHandler.internalUpdateScheme(LexerBlockHandlerBean bean,
SyntaxicScheme scheme) |
void |
DefaultLexerBlockHandler.updateScheme(LexerBlockHandlerBean bean,
SyntaxicScheme scheme)
Performs default operations then calls internalUpdateScheme.
|
void |
LexerBlockHandler.updateScheme(LexerBlockHandlerBean bean,
SyntaxicScheme scheme)
Updates the scheme with the bean informations
|
Modifier and Type | Method and Description |
---|---|
LexerMatcherHandlerBean |
LexerMatcherHandler.handle(RenderingDataBuilder renderingDataBuilder,
Grammar g,
LexerMatcher matcher,
LexerParser lexerParser,
LexerMatcherHandler.Mode mode)
Updates bean with lexer matcher informations
|
LexerMatcherHandlerBean |
LexerMatcherWrapperHandler.handle(RenderingDataBuilder renderingDataBuilder,
Grammar grammar,
LexerMatcher matcher,
LexerParser lexerParser,
LexerMatcherHandler.Mode mode) |
LexerMatcherHandlerBean |
DefaultLexerMatcherHandler.handle(RenderingDataBuilder renderingDataBuilder,
Grammar grammar,
LexerMatcher matcher,
LexerParser lexerParser,
LexerMatcherHandler.Mode mode) |
LexerBlockMatcherHandler.LexerBlockMatcherHandlerBean |
LexerBlockMatcherHandler.handle(RenderingDataBuilder renderingDataBuilder,
Grammar grammar,
LexerMatcher matcher,
LexerParser lexerParser,
LexerMatcherHandler.Mode mode) |
OrLexerMatcherHandler.OrLexerMatcherHandlerBean |
OrLexerMatcherHandler.handle(RenderingDataBuilder renderingDataBuilder,
Grammar grammar,
LexerMatcher matcher,
LexerParser lexerParser,
LexerMatcherHandler.Mode mode) |
AndLexerMatcherHandler.AndLexerMatcherHandlerBean |
AndLexerMatcherHandler.handle(RenderingDataBuilder renderingDataBuilder,
Grammar grammar,
LexerMatcher matcher,
LexerParser lexerParser,
LexerMatcherHandler.Mode mode) |
protected void |
LexerMatcherWrapperHandler.internalUpdateScheme(LexerMatcherHandlerBean bean,
SyntaxicScheme scheme) |
protected void |
DefaultLexerMatcherHandler.internalUpdateScheme(LexerMatcherHandlerBean bean,
SyntaxicScheme scheme)
Must be overridden
|
protected void |
LexerBlockMatcherHandler.internalUpdateScheme(LexerMatcherHandlerBean bean,
SyntaxicScheme scheme) |
protected void |
OrLexerMatcherHandler.internalUpdateScheme(LexerMatcherHandlerBean bean,
SyntaxicScheme scheme) |
protected void |
AndLexerMatcherHandler.internalUpdateScheme(LexerMatcherHandlerBean bean,
SyntaxicScheme scheme) |
void |
LexerMatcherHandler.updateScheme(LexerMatcherHandlerBean bean,
SyntaxicScheme scheme)
Updates the scheme with the bean informations
|
void |
DefaultLexerMatcherHandler.updateScheme(LexerMatcherHandlerBean bean,
SyntaxicScheme scheme)
Performs default operations then calls internalUpdateScheme.
|
Modifier and Type | Method and Description |
---|---|
void |
Grammar.addLexer(Lexer lexer)
Adds new lexer to internal repository
|
Set<ParsingContext.AutoCompleteResult> |
Grammar.autoComplete(AdvancedReader source)
Launches a partial parsing process of a source stream, stopping at the end of the source stream and
returning computed possibilities for the following text.
|
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).
|
boolean |
ParsingContext.isExcluded(Matcher matcher)
Tells if this very matcher is has been specified as excluded by a member of the matching hierarchy.
|
static void |
GrammarRepository.loadGrammar(String path,
String fileName)
Loads a grammar and its language variation.
|
Object |
Grammar.parse(AdvancedReader source)
Launches the full parsing process of a source stream.
|
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.
|
void |
Grammar.validate()
Allows to validate the grammar.
|
void |
Grammar.validate(AdvancedReader source)
Validates the syntax of the source.
|
void |
AdditionalGrammarValidator.validate(ParsingContext ctx,
Object o)
Performs validation.
|
MatchResult |
AdditionalValidator.validate(ParsingContext ctx,
T o)
Performs validation
|
Modifier and Type | Method and Description |
---|---|
void |
ObjectLexer.ObjectLexerListener.afterBlock(LexerParser parser,
LexerBlock block,
Object result)
Called after each parsing block is performed and result is injected.
|
void |
ObjectLexer.DefaultObjectLexerListener.afterBlock(LexerParser parser,
LexerBlock block,
Object result) |
void |
ObjectLexer.ObjectLexerListener.afterEndMatch(LexerParser parser,
Matcher endMatcher,
Object result)
Performed after successful end match and eventual match result is injected into parsing result.
|
void |
ObjectLexer.DefaultObjectLexerListener.afterEndMatch(LexerParser parser,
Matcher endMatcher,
Object result) |
protected void |
AbstractLexerParser.afterParse()
Hook called after parsing, including positioning the source at end of parse provided by end matcher if present.
|
protected void |
ObjectLexer.ObjectLexerParser.afterParse()
Positions the debug infos.
|
void |
DefaultLexerParserListener.afterParse(LexerParser parser) |
void |
LexerParserListener.afterParse(LexerParser parser) |
void |
ObjectLexer.ObjectLexerListener.afterStartMatch(LexerParser parser,
Matcher startMatcher,
Object result)
Performed after successful start match and eventual match result is injected into parsing result.
|
void |
ObjectLexer.DefaultObjectLexerListener.afterStartMatch(LexerParser parser,
Matcher startMatcher,
Object result) |
void |
ObjectLexer.ObjectLexerListener.atEnd(LexerParser parser,
Object result)
Performed at end, with or without end matcher.
|
void |
ObjectLexer.DefaultObjectLexerListener.atEnd(LexerParser parser,
Object result) |
protected void |
AbstractLexerParser.beforeParse()
Hook called before parsing, but after positioning the source at begin of parse provided by start matcher.
|
void |
DefaultLexerParserListener.beforeParse(LexerParser parser) |
void |
LexerParserListener.beforeParse(LexerParser parser) |
void |
DefaultLexerParserListener.beginParse(LexerParser parser) |
void |
LexerParserListener.beginParse(LexerParser parser) |
void |
DefaultLexerParserListener.endParse(LexerParser parser) |
void |
LexerParserListener.endParse(LexerParser parser) |
LexerParser |
ValueLexer.getParser(LexerParser parent) |
LexerParser |
SubParseLexer.getParser(LexerParser parent) |
LexerParser |
EnumLexer.getParser(LexerParser parent) |
LexerParser |
RegexLexer.getParser(LexerParser parent) |
LexerParser |
ObjectLexer.getParser(LexerParser parent) |
LexerParser |
TransformLexer.getParser(LexerParser parent) |
LexerParser |
Lexer.getParser(LexerParser parent)
Returns a parser which is able to handles the text relative to this lexer
|
LexerParser |
ValuesLexer.getParser(LexerParser parent) |
LexerParser |
ActionLexer.getParser(LexerParser parent) |
LexerParser |
MappedPropertyLexer.getParser(LexerParser parent) |
protected void |
AbstractLexerParser.handleAutoCompletes() |
protected abstract Object |
AbstractLexerParser.internalParse() |
protected Object |
ObjectLexer.ObjectLexerParser.internalParse() |
boolean |
AbstractLexerParser.isExcludedFromHierarchy(Matcher matcher) |
boolean |
LexerParser.isExcludedFromHierarchy(Matcher matcher)
Tells if the provided matcher should be excluded from this lexer parser's hierarchy.
|
boolean |
ObjectLexer.ObjectLexerParser.isExcludedFromHierarchy(Matcher matcher) |
void |
AbstractLexerParser.parse() |
void |
LexerParser.parse()
Parses the portion of the source targeted by this lexer.
|
Matcher |
AbstractLexerParser.resolveEnd() |
Matcher |
LexerParser.resolveEnd()
Resolves the end matcher for this parser.
|
LexerMatcher |
AbstractLexer.resolveEnd(LexerParser lexerParser) |
LexerMatcher |
Lexer.resolveEnd(LexerParser lexerParser)
Resolves the end matcher for this lexer.
|
Matcher |
AbstractLexerParser.resolveStart() |
Matcher |
LexerParser.resolveStart()
Resolves the start matcher for this parser.
|
LexerMatcher |
BooleanLexer.resolveStart(LexerParser lexerParser) |
LexerMatcher |
EnumLexer.resolveStart(LexerParser lexerParser) |
LexerMatcher |
NullLexer.resolveStart(LexerParser lexerParser) |
LexerMatcher |
AbstractLexer.resolveStart(LexerParser lexerParser) |
LexerMatcher |
TransformLexer.resolveStart(LexerParser lexerParser) |
LexerMatcher |
Lexer.resolveStart(LexerParser lexerParser)
Resolves the start matcher for this lexer.
|
Class<?> |
MatcherLexer.resolveType(Grammar grammar) |
Class<?> |
ValueLexer.resolveType(Grammar grammar) |
Class<?> |
HardCodedLexer.resolveType(Grammar grammar) |
Class<?> |
SubParseLexer.resolveType(Grammar grammar) |
Class<?> |
RegexLexer.resolveType(Grammar grammar) |
Class<?> |
TransformLexer.resolveType(Grammar grammar) |
Class<?> |
Lexer.resolveType(Grammar grammar)
Resolves the type of the object parsed by this lexer.
|
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) |
Constructor and Description |
---|
ObjectLexerParser(LexerParser parent) |
Modifier and Type | Method and Description |
---|---|
void |
DefaultMatcherListener.beginMatch(Matcher matcher) |
void |
MatcherListener.beginMatch(Matcher matcher)
Before all matching actions
|
void |
DefaultMatcherListener.endMatch(Matcher parser) |
void |
MatcherListener.endMatch(Matcher parser)
After all matching actions
|
List<ParsingContext.AutoCompleteResult> |
AbstractMatcher.getAutoCompleteOptions(MatchingPhase phase)
Retrieves main autoComplete options from lexer config, if any.
|
List<ParsingContext.AutoCompleteResult> |
AbstractMatcherWrapper.getAutoCompleteOptions(MatchingPhase phase) |
List<ParsingContext.AutoCompleteResult> |
Matcher.getAutoCompleteOptions(MatchingPhase phase)
Computes autoComplete options from current partial matches, if any.
|
protected List<ParsingContext.AutoCompleteResult> |
MultipleFixedLexerMatcher.MultipleFixedMatcher.getAutoCompleteSecondaryOptions(MatchingPhase phase) |
protected abstract List<ParsingContext.AutoCompleteResult> |
AbstractMatcher.getAutoCompleteSecondaryOptions(MatchingPhase phase) |
protected List<ParsingContext.AutoCompleteResult> |
AndLexerMatcher.AndMatcher.getAutoCompleteSecondaryOptions(MatchingPhase phase) |
protected List<ParsingContext.AutoCompleteResult> |
OrLexerMatcher.OrMatcher.getAutoCompleteSecondaryOptions(MatchingPhase phase) |
protected List<ParsingContext.AutoCompleteResult> |
RegexLexerMatcher.RegexMatcher.getAutoCompleteSecondaryOptions(MatchingPhase phase) |
protected List<ParsingContext.AutoCompleteResult> |
LexerBlockMatcher.BlockMatcher.getAutoCompleteSecondaryOptions(MatchingPhase phase) |
protected List<ParsingContext.AutoCompleteResult> |
FixedLexerMatcher.FixedMatcher.getAutoCompleteSecondaryOptions(MatchingPhase phase) |
Matcher |
DynamicLexerMatcher.getMatcher(LexerParser parser) |
Matcher |
AbstractLexerMatcherWrapper.getMatcher(LexerParser parser) |
Matcher |
LexerMatcher.getMatcher(LexerParser parser) |
Matcher |
AndLexerMatcher.getMatcher(LexerParser parser) |
Matcher |
OrLexerMatcher.getMatcher(LexerParser parser) |
Matcher |
LexerBlockMatcher.getMatcher(LexerParser parser) |
Matcher |
ChangeWeightLexerMatcher.getMatcher(LexerParser parser) |
void |
AbstractMatcherWrapper.injectResult(Object target) |
void |
AndLexerMatcher.AndMatcher.injectResult(Object target)
Injects result of all matched matchers.
|
void |
Matcher.injectResult(Object target)
If the matcher (or one or several of the matchers in the chain) generates an Object, this allows to inject it (or them) into the result.
|
void |
OrLexerMatcher.OrMatcher.injectResult(Object target)
Injects result of matched matcher.
|
void |
LexerBlockMatcher.BlockMatcher.injectResult(Object target) |
protected int |
AbstractGenericTextMatcher.internalGenericMatch(MatchingPhase phase,
boolean unread) |
protected abstract int |
AbstractGenericMatcher.internalGenericMatch(MatchingPhase phase,
boolean unread) |
protected int |
LexerBlockMatcher.BlockMatcher.internalGenericMatch(MatchingPhase phase,
boolean unread) |
protected abstract MatchResult |
AbstractGenericTextMatcher.internalMatch(char next)
Does the sequence match the expected result ?
|
protected MatchResult |
RegexLexerMatcher.RegexMatcher.internalMatch(char next) |
protected abstract int |
AbstractMatcher.internalMatch(MatchingPhase phase,
boolean unread)
Performs specific part of the match.
|
protected int |
AndLexerMatcher.AndMatcher.internalMatch(MatchingPhase phase,
boolean unread) |
protected int |
OrLexerMatcher.OrMatcher.internalMatch(MatchingPhase phase,
boolean unread) |
protected int |
AbstractGenericMatcher.internalMatch(MatchingPhase phase,
boolean unread) |
boolean |
AbstractGenericTextMatcher.isAutoCompletePossible() |
boolean |
AbstractMatcherWrapper.isAutoCompletePossible() |
boolean |
AndLexerMatcher.AndMatcher.isAutoCompletePossible() |
boolean |
Matcher.isAutoCompletePossible()
Considering match result, tells if autoComplete is possible or not (i.e. if options should be searched or not).
|
boolean |
OrLexerMatcher.OrMatcher.isAutoCompletePossible() |
boolean |
LexerBlockMatcher.BlockMatcher.isAutoCompletePossible() |
boolean |
AbstractMatcher.isExcludedFromHierarchy(Matcher matcher)
Tells if the provided matcher should be excluded from this matcher's lexer's hierarchy.
|
boolean |
AbstractMatcherWrapper.isExcludedFromHierarchy(Matcher matcher) |
boolean |
Matcher.isExcludedFromHierarchy(Matcher matcher)
Tells if provided sub matcher should be excluded from matching hierarchy.
|
boolean |
LexerBlockMatcher.BlockMatcher.isExcludedFromHierarchy(Matcher matcher) |
int |
AbstractMatcher.match(MatchingPhase phase,
boolean unread) |
int |
AbstractMatcherWrapper.match(MatchingPhase phase,
boolean unread)
Can't be overriden in order to force update of matching hierarchy.
|
int |
Matcher.match(MatchingPhase phase,
boolean unread)
Tells if this match pattern matches the next characters of the source.
|
Integer |
DefaultMatcherListener.validateMatch(Matcher matcher) |
Integer |
MatcherListener.validateMatch(Matcher abstractMatcher)
Just after weight is computed.
|
protected int |
AbstractMatcherWrapper.wrappedMatch(MatchingPhase phase,
boolean unread)
This method can be overridden if necessary, instead of
AbstractMatcherWrapper.match(MatchingPhase, boolean) . |
Constructor and Description |
---|
AbstractCombineMatcher(LexerParser parser) |
AndMatcher(LexerParser parser) |
BlockMatcher(LexerParser parser) |
OrMatcher(LexerParser parser) |
Modifier and Type | Method and Description |
---|---|
Set<ParsingContext.AutoCompleteResult> |
NativeLanguageFactory.autoComplete(InputStream is,
int autoCompleteIndex) |
Set<ParsingContext.AutoCompleteResult> |
NativeLanguageFactory.autoComplete(Reader r,
int autoCompleteIndex) |
static <T> T |
PropertyAutoCompleteGenerator.autoCompleteWith(PropertyAutoCompleteGenerator.PropertyAutoCompleteGeneratorHandler<T> handler,
Class<?> readBaseType,
Class<?> writeBaseType) |
void |
PackageImportLexerParserListener.endParse(LexerParser parser) |
void |
ClassImportLexerParserListener.endParse(LexerParser parser) |
void |
ContextFactoryLexerParserListener.endParse(LexerParser parser) |
List<AutoComplete> |
ImportAutoCompleteGenerator.getAutoCompletes(LexerParser parser) |
List<AutoComplete> |
PropertyAutoCompleteGenerator.getAutoCompletes(LexerParser parser) |
List<AutoComplete> |
ImportAutoCompleteGenerator.getAutoCompletes(Matcher matcher) |
List<AutoComplete> |
PropertyAutoCompleteGenerator.getAutoCompletes(Matcher matcher) |
T |
PropertyAutoCompleteGenerator.PropertyAutoCompleteGeneratorHandler.launch() |
void |
NativeLanguageFactory.validate(InputStream is)
Validate the syntax
|
void |
RulesetValidator.validate(ParsingContext ctx,
Object o) |
void |
NativeLanguageFactory.validate(Reader r)
Validate the syntax
|
Integer |
CondWrapperMatcherListener.validateMatch(Matcher matcher) |