public class CompiledGrammar extends Object
Constructor and Description |
---|
CompiledGrammar(Instruction[] instructions,
Map<GrammarRuleKey,CompilableGrammarRule> rules,
GrammarRuleKey rootRuleKey,
int rootRuleOffset) |
Modifier and Type | Method and Description |
---|---|
Instruction[] |
getInstructions() |
Matcher |
getMatcher(GrammarRuleKey ruleKey) |
GrammarRuleKey |
getRootRuleKey() |
int |
getRootRuleOffset() |
public CompiledGrammar(Instruction[] instructions, Map<GrammarRuleKey,CompilableGrammarRule> rules, GrammarRuleKey rootRuleKey, int rootRuleOffset)
public Instruction[] getInstructions()
public Matcher getMatcher(GrammarRuleKey ruleKey)
public GrammarRuleKey getRootRuleKey()
public int getRootRuleOffset()
Copyright © 2009–2017 SonarSource. All rights reserved.