inf.compilers
Class LexicalAnalyzer.SequenceNode

java.lang.Object
  extended by inf.compilers.LexicalAnalyzer.RegexNode
      extended by inf.compilers.LexicalAnalyzer.SequenceNode
Enclosing class:
LexicalAnalyzer

static class LexicalAnalyzer.SequenceNode
extends LexicalAnalyzer.RegexNode

This class represents a sequence node in a regular expression tree.


Field Summary
(package private)  LexicalAnalyzer.RegexNode[] subNodes
           
 
Constructor Summary
LexicalAnalyzer.SequenceNode()
           
 
Method Summary
(package private)  boolean matchChars(LexicalAnalyzer la)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

subNodes

LexicalAnalyzer.RegexNode[] subNodes
Constructor Detail

LexicalAnalyzer.SequenceNode

LexicalAnalyzer.SequenceNode()
Method Detail

matchChars

boolean matchChars(LexicalAnalyzer la)
             throws java.io.IOException
Specified by:
matchChars in class LexicalAnalyzer.RegexNode
Returns:
true iff the group could be read from the input
Throws:
java.io.IOException - if reading fails

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object