Package org.sonar.sslr.internal.vm
Class RuleRefExpression
- java.lang.Object
-
- org.sonar.sslr.internal.vm.Instruction
-
- org.sonar.sslr.internal.vm.NativeExpression
-
- org.sonar.sslr.internal.vm.RuleRefExpression
-
- All Implemented Interfaces:
Matcher
,ParsingExpression
public class RuleRefExpression extends NativeExpression
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.sonar.sslr.internal.vm.Instruction
Instruction.BackCommitInstruction, Instruction.BacktrackInstruction, Instruction.CallInstruction, Instruction.ChoiceInstruction, Instruction.CommitInstruction, Instruction.CommitVerifyInstruction, Instruction.EndInstruction, Instruction.FailTwiceInstruction, Instruction.IgnoreErrorsInstruction, Instruction.JumpInstruction, Instruction.PredicateChoiceInstruction, Instruction.RetInstruction
-
-
Constructor Summary
Constructors Constructor Description RuleRefExpression(GrammarRuleKey ruleKey)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(Machine machine)
Executes this instruction.GrammarRuleKey
getRuleKey()
String
toString()
-
Methods inherited from class org.sonar.sslr.internal.vm.NativeExpression
compile
-
Methods inherited from class org.sonar.sslr.internal.vm.Instruction
addAll, backCommit, backtrack, call, choice, commit, commitVerify, end, failTwice, ignoreErrors, jump, predicateChoice, ret
-
-
-
-
Constructor Detail
-
RuleRefExpression
public RuleRefExpression(GrammarRuleKey ruleKey)
-
-
Method Detail
-
getRuleKey
public GrammarRuleKey getRuleKey()
-
execute
public void execute(Machine machine)
Description copied from class:Instruction
Executes this instruction.- Specified by:
execute
in classInstruction
-
-