org.sonar.sslr.internal.vm
Class SequenceExpression

java.lang.Object
  extended by org.sonar.sslr.internal.vm.SequenceExpression
All Implemented Interfaces:
Matcher, ParsingExpression

public class SequenceExpression
extends Object
implements ParsingExpression


Constructor Summary
SequenceExpression(ParsingExpression... subExpressions)
           
 
Method Summary
 Instruction[] compile(CompilationHandler compiler)
          Compiles this expression into a sequence of instructions:
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SequenceExpression

public SequenceExpression(ParsingExpression... subExpressions)
Method Detail

compile

public Instruction[] compile(CompilationHandler compiler)
Compiles this expression into a sequence of instructions:
 subExpressions[0]
 subExpressions[1]
 subExpressions[2]
 ...
 

Specified by:
compile in interface ParsingExpression

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2014 SonarSource. All Rights Reserved.