Uses of Interface
org.sonar.sslr.grammar.GrammarRuleKey
-
Packages that use GrammarRuleKey Package Description com.sonar.sslr.api com.sonar.sslr.api.typed com.sonar.sslr.impl.matcher com.sonar.sslr.impl.typed org.sonar.sslr.grammar API to define Parsing Expression Grammar.org.sonar.sslr.internal.grammar Internals of Grammar API.org.sonar.sslr.internal.vm -
-
Uses of GrammarRuleKey in com.sonar.sslr.api
Methods in com.sonar.sslr.api with parameters of type GrammarRuleKey Modifier and Type Method Description Rule
Grammar. rule(GrammarRuleKey ruleKey)
Allows to obtain an instance of grammar rule, which was constructed byLexerlessGrammarBuilder
andLexerfulGrammarBuilder
. -
Uses of GrammarRuleKey in com.sonar.sslr.api.typed
Methods in com.sonar.sslr.api.typed that return GrammarRuleKey Modifier and Type Method Description GrammarRuleKey
ActionParser. rootRule()
Methods in com.sonar.sslr.api.typed with parameters of type GrammarRuleKey Modifier and Type Method Description AstNode
AstNodeBuilder. createNonTerminal(GrammarRuleKey ruleKey, Rule rule, List<Object> children, int startIndex, int endIndex)
Object
NodeBuilder. createNonTerminal(GrammarRuleKey ruleKey, Rule rule, List<Object> children, int startIndex, int endIndex)
AstNode
GrammarBuilder. invokeRule(GrammarRuleKey ruleKey)
<U> NonterminalBuilder<U>
GrammarBuilder. nonterminal(GrammarRuleKey ruleKey)
T
GrammarBuilder. token(GrammarRuleKey ruleKey)
Constructors in com.sonar.sslr.api.typed with parameters of type GrammarRuleKey Constructor Description ActionParser(Charset charset, LexerlessGrammarBuilder b, Class grammarClass, Object treeFactory, NodeBuilder nodeBuilder, GrammarRuleKey rootRule)
-
Uses of GrammarRuleKey in com.sonar.sslr.impl.matcher
Classes in com.sonar.sslr.impl.matcher that implement GrammarRuleKey Modifier and Type Class Description class
RuleDefinition
This class is not intended to be instantiated or subclassed by clients.Methods in com.sonar.sslr.impl.matcher that return GrammarRuleKey Modifier and Type Method Description GrammarRuleKey
RuleDefinition. getRuleKey()
Constructors in com.sonar.sslr.impl.matcher with parameters of type GrammarRuleKey Constructor Description RuleDefinition(GrammarRuleKey ruleKey)
-
Uses of GrammarRuleKey in com.sonar.sslr.impl.typed
Methods in com.sonar.sslr.impl.typed that return GrammarRuleKey Modifier and Type Method Description GrammarRuleKey
GrammarBuilderInterceptor. ruleKeyForMethod(Method method)
Methods in com.sonar.sslr.impl.typed with parameters of type GrammarRuleKey Modifier and Type Method Description AstNode
GrammarBuilderInterceptor. invokeRule(GrammarRuleKey grammarRuleKey)
<U> NonterminalBuilder<U>
GrammarBuilderInterceptor. nonterminal(GrammarRuleKey ruleKey)
T
GrammarBuilderInterceptor. token(GrammarRuleKey grammarRuleKey)
Constructors in com.sonar.sslr.impl.typed with parameters of type GrammarRuleKey Constructor Description DelayedRuleInvocationExpression(LexerlessGrammarBuilder b, GrammarRuleKey ruleKey)
-
Uses of GrammarRuleKey in org.sonar.sslr.grammar
Methods in org.sonar.sslr.grammar with parameters of type GrammarRuleKey Modifier and Type Method Description GrammarRuleBuilder
LexerfulGrammarBuilder. rule(GrammarRuleKey ruleKey)
Allows to describe rule.GrammarRuleBuilder
LexerlessGrammarBuilder. rule(GrammarRuleKey ruleKey)
Allows to describe rule.void
LexerfulGrammarBuilder. setRootRule(GrammarRuleKey ruleKey)
Allows to specify that given rule should be root for grammar.void
LexerlessGrammarBuilder. setRootRule(GrammarRuleKey ruleKey)
Allows to specify that given rule should be root for grammar. -
Uses of GrammarRuleKey in org.sonar.sslr.internal.grammar
Classes in org.sonar.sslr.internal.grammar that implement GrammarRuleKey Modifier and Type Class Description class
MutableParsingRule
Methods in org.sonar.sslr.internal.grammar that return GrammarRuleKey Modifier and Type Method Description GrammarRuleKey
MutableParsingRule. getRuleKey()
Methods in org.sonar.sslr.internal.grammar with parameters of type GrammarRuleKey Modifier and Type Method Description Rule
MutableGrammar. rule(GrammarRuleKey ruleKey)
Constructors in org.sonar.sslr.internal.grammar with parameters of type GrammarRuleKey Constructor Description MutableGrammar(Map<GrammarRuleKey,? extends CompilableGrammarRule> rules, GrammarRuleKey rootRuleKey)
MutableParsingRule(GrammarRuleKey ruleKey)
Constructor parameters in org.sonar.sslr.internal.grammar with type arguments of type GrammarRuleKey Constructor Description MutableGrammar(Map<GrammarRuleKey,? extends CompilableGrammarRule> rules, GrammarRuleKey rootRuleKey)
-
Uses of GrammarRuleKey in org.sonar.sslr.internal.vm
Methods in org.sonar.sslr.internal.vm that return GrammarRuleKey Modifier and Type Method Description GrammarRuleKey
CompiledGrammar. getRootRuleKey()
GrammarRuleKey
CompilableGrammarRule. getRuleKey()
GrammarRuleKey
RuleRefExpression. getRuleKey()
Methods in org.sonar.sslr.internal.vm with parameters of type GrammarRuleKey Modifier and Type Method Description Matcher
CompiledGrammar. getMatcher(GrammarRuleKey ruleKey)
Constructors in org.sonar.sslr.internal.vm with parameters of type GrammarRuleKey Constructor Description CompiledGrammar(Instruction[] instructions, Map<GrammarRuleKey,CompilableGrammarRule> rules, GrammarRuleKey rootRuleKey, int rootRuleOffset)
RuleRefExpression(GrammarRuleKey ruleKey)
Constructor parameters in org.sonar.sslr.internal.vm with type arguments of type GrammarRuleKey Constructor Description CompiledGrammar(Instruction[] instructions, Map<GrammarRuleKey,CompilableGrammarRule> rules, GrammarRuleKey rootRuleKey, int rootRuleOffset)
-