Package org.sonar.sslr.internal.vm
Class Instruction.PredicateChoiceInstruction
java.lang.Object
org.sonar.sslr.internal.vm.Instruction
org.sonar.sslr.internal.vm.Instruction.PredicateChoiceInstruction
- Enclosing class:
Instruction
Instruction dedicated for predicates.
Behaves exactly as
Instruction.ChoiceInstruction, but disables error reports.-
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 -
Method Summary
Methods inherited from class org.sonar.sslr.internal.vm.Instruction
addAll, backCommit, backtrack, call, choice, commit, commitVerify, end, failTwice, ignoreErrors, jump, predicateChoice, ret
-
Constructor Details
-
PredicateChoiceInstruction
public PredicateChoiceInstruction(int offset)
-
-
Method Details
-
execute
Description copied from class:InstructionExecutes this instruction.- Specified by:
executein classInstruction
-
toString
-
equals
-
hashCode
public int hashCode()
-