org.javacc.parser
Class RCharacterList

java.lang.Object
  extended by org.javacc.parser.Expansion
      extended by org.javacc.parser.RegularExpression
          extended by org.javacc.parser.RCharacterList

public class RCharacterList
extends RegularExpression

Describes character lists.


Field Summary
 java.util.Vector descriptors
          This is the list of descriptors of the character list.
 boolean negated_list
          This is true if a tilde (~) appears before the character list.
 
Fields inherited from class org.javacc.parser.RegularExpression
label, lhsTokens, private_rexp, tpContext
 
Fields inherited from class org.javacc.parser.Expansion
inMinimumSize, myGeneration, nextGenerationIndex, parent
 
Method Summary
 boolean CanMatchAnyChar()
           
 Nfa GenerateNfa(boolean ignoreCase)
           
 
Methods inherited from class org.javacc.parser.Expansion
hashCode, reInit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

negated_list

public boolean negated_list
This is true if a tilde (~) appears before the character list. Otherwise, this is false.


descriptors

public java.util.Vector descriptors
This is the list of descriptors of the character list. Each vector entry will narrow to either SingleCharacter or to CharacterRange.

Method Detail

GenerateNfa

public Nfa GenerateNfa(boolean ignoreCase)
Specified by:
GenerateNfa in class RegularExpression

CanMatchAnyChar

public boolean CanMatchAnyChar()
Overrides:
CanMatchAnyChar in class RegularExpression