public class NextExpression extends Object implements ParsingExpression
Constructor and Description |
---|
NextExpression(ParsingExpression subExpression) |
Modifier and Type | Method and Description |
---|---|
Instruction[] |
compile(CompilationHandler compiler)
Compiles this expression into a sequence of instructions:
|
String |
toString() |
public NextExpression(ParsingExpression subExpression)
public Instruction[] compile(CompilationHandler compiler)
Choice L1 subExpression BackCommit L2 L1: Fail L2: ...Should be noted that can be compiled without usage of instruction "BackCommit":
Choice L1 Choice L2 subExpression L2: Commit L3 L3: Fail L1: ...
compile
in interface ParsingExpression
Copyright © 2009–2017 SonarSource. All rights reserved.