Package org.sonar.sslr.internal.vm
Class OneOrMoreExpression
java.lang.Object
org.sonar.sslr.internal.vm.OneOrMoreExpression
- All Implemented Interfaces:
Matcher,ParsingExpression
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncompile(CompilationHandler compiler) Compiles this expression into a sequence of instructions:toString()
-
Constructor Details
-
OneOrMoreExpression
-
-
Method Details
-
compile
Compiles this expression into a sequence of instructions:Choice L3 L1: subExpression CommitVerify L2 L2: Choice L4 Jump L1 L3: Fail L4: ....
Should be noted that can be compiled with help ofZeroOrMoreExpression:subExpresson L1: Choice L2 subExpression CommitVerify L1 L2: ...
- Specified by:
compilein interfaceParsingExpression
-
toString
-