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
NextNotExpression
public NextNotExpression(ParsingExpression subExpression)
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 interface ParsingExpression
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2009-2014 SonarSource. All Rights Reserved.