de.grogra.grammar
Class Sequence

java.lang.Object
  extended by de.grogra.grammar.Sequence
Direct Known Subclasses:
CharSeq, StringSequence

public class Sequence
extends java.lang.Object


Constructor Summary
Sequence(java.lang.String end, boolean escape, boolean singleLine, boolean createContent)
           
 
Method Summary
static LexicalException createException(java.lang.String terminating)
           
protected  Token createLiteral(java.lang.CharSequence content)
           
 Token getToken(Input in)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Sequence

public Sequence(java.lang.String end,
                boolean escape,
                boolean singleLine,
                boolean createContent)
Method Detail

createException

public static LexicalException createException(java.lang.String terminating)

createLiteral

protected Token createLiteral(java.lang.CharSequence content)
                       throws LexicalException
Throws:
LexicalException

getToken

public Token getToken(Input in)
               throws LexicalException,
                      java.io.IOException
Throws:
LexicalException
java.io.IOException