pj
Class PJ.Token

java.lang.Object
  extended by java.util.AbstractCollection
      extended by java.util.AbstractList
          extended by java.util.ArrayList
              extended by pj.PJ.Directive
                  extended by pj.PJ.Token
All Implemented Interfaces:
Serializable, Cloneable, Iterable, Collection, List, RandomAccess
Enclosing class:
PJ

protected class PJ.Token
extends PJ.Directive

List<PJ.IdInfo> represents %token, flattens content.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
protected PJ.Token(String optType, ArrayList tokens)
           
 
Method Summary
 void lex(boolean macros, PrintWriter out)
          delegate to PJ.IdInfo.input, early to all but PJ.MacInfo.lex, if any.
 
Methods inherited from class pj.PJ.Directive
prolog, prolog
 
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, removeAll, retainAll, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList
 

Constructor Detail

PJ.Token

protected PJ.Token(String optType,
                   ArrayList tokens)
See Also:
PJ.IdInfo.setType(java.lang.String)
Method Detail

lex

public void lex(boolean macros,
                PrintWriter out)
delegate to PJ.IdInfo.input, early to all but PJ.MacInfo.lex, if any.

Specified by:
lex in class PJ.Directive
Parameters:
macros - false on first, true on second pass.