edu.rice.cs.util
Class BalancingStreamTokenizer.State

java.lang.Object
  extended by edu.rice.cs.util.BalancingStreamTokenizer.State
Enclosing class:
BalancingStreamTokenizer

public static class BalancingStreamTokenizer.State
extends Object

State of the tokenizer.


Field Summary
 TreeSet<String> keywords
          Sets of keywords to be parsed as one symbol.
 TreeSet<String> quoteEnds
          Sets of quote endings to be parsed as one symbol.
 HashMap<String,String> quotePairs
          Pairs of beginning and ending quote strings.
 TreeSet<String> quotes
          Sets of quote beginnings to be parsed as one symbol.
 HashSet<Integer> whitespace
          Whitespace characters.
 
Constructor Summary
BalancingStreamTokenizer.State()
          Default constructor.
BalancingStreamTokenizer.State(BalancingStreamTokenizer.State o)
          Copy constructor.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

quotePairs

public HashMap<String,String> quotePairs
Pairs of beginning and ending quote strings.


quotes

public TreeSet<String> quotes
Sets of quote beginnings to be parsed as one symbol.


quoteEnds

public TreeSet<String> quoteEnds
Sets of quote endings to be parsed as one symbol.


keywords

public TreeSet<String> keywords
Sets of keywords to be parsed as one symbol.


whitespace

public HashSet<Integer> whitespace
Whitespace characters.

Constructor Detail

BalancingStreamTokenizer.State

public BalancingStreamTokenizer.State()
Default constructor.


BalancingStreamTokenizer.State

public BalancingStreamTokenizer.State(BalancingStreamTokenizer.State o)
Copy constructor.