Package org.sonar.sslr.internal.vm
Class NextNotExpression
- java.lang.Object
-
- org.sonar.sslr.internal.vm.NextNotExpression
-
- All Implemented Interfaces:
Matcher
,ParsingExpression
public class NextNotExpression extends Object implements ParsingExpression
-
-
Constructor Summary
Constructors Constructor Description NextNotExpression(ParsingExpression subExpression)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Instruction[]
compile(CompilationHandler compiler)
Compiles this expression into a sequence of instructions:String
toString()
-
-
-
Constructor Detail
-
NextNotExpression
public NextNotExpression(ParsingExpression subExpression)
-
-
Method Detail
-
compile
public Instruction[] compile(CompilationHandler compiler)
Compiles this expression into a sequence of instructions:Choice L1 subExpression FailTwice L1: ...
Should be noted that can be compiled without usage of instruction "FailTwice":Choice L2 subExpression Commit L1 L1: Fail L2: ...
- Specified by:
compile
in interfaceParsingExpression
-
-