org.sonar.sslr.internal.vm
Class CompiledGrammar

java.lang.Object
  extended by org.sonar.sslr.internal.vm.CompiledGrammar

public class CompiledGrammar
extends Object


Constructor Summary
CompiledGrammar(Instruction[] instructions, Map<GrammarRuleKey,CompilableGrammarRule> rules, GrammarRuleKey rootRuleKey, int rootRuleOffset)
           
 
Method Summary
 Instruction[] getInstructions()
           
 Matcher getMatcher(GrammarRuleKey ruleKey)
           
 GrammarRuleKey getRootRuleKey()
           
 int getRootRuleOffset()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompiledGrammar

public CompiledGrammar(Instruction[] instructions,
                       Map<GrammarRuleKey,CompilableGrammarRule> rules,
                       GrammarRuleKey rootRuleKey,
                       int rootRuleOffset)
Method Detail

getInstructions

public Instruction[] getInstructions()

getMatcher

public Matcher getMatcher(GrammarRuleKey ruleKey)

getRootRuleKey

public GrammarRuleKey getRootRuleKey()

getRootRuleOffset

public int getRootRuleOffset()


Copyright © 2009-2014 SonarSource. All Rights Reserved.