pj
Class PJ.Sep

java.lang.Object
  extended by pj.PJ.Repeat
      extended by pj.PJ.Sep
All Implemented Interfaces:
Dump.Helper, Leaf
Enclosing class:
PJ

protected class PJ.Sep
extends PJ.Repeat

represents id/operator.


Field Summary
protected  int n
          delimeter symbol relative to PJ.Repeat.i.
 
Fields inherited from class pj.PJ.Repeat
i
 
Constructor Summary
protected PJ.Sep(String id, Leaf operator)
           
 
Method Summary
 void dump(Dump sender, Class c, Object o)
           
 void lex(PrintWriter out)
          delegate to delimeter.
 String name()
          name in jay or JLex.
 
Methods inherited from class pj.PJ.Repeat
collect, type
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

n

protected final int n
delimeter symbol relative to PJ.Repeat.i.

Constructor Detail

PJ.Sep

protected PJ.Sep(String id,
                 Leaf operator)
See Also:
PJ.IdInfo.setSep(pj.Leaf)
Method Detail

name

public String name()
Description copied from interface: Leaf
name in jay or JLex.

See Also:
PJ.IdInfo.sepName(int)

lex

public void lex(PrintWriter out)
delegate to delimeter.

Specified by:
lex in interface Leaf
Overrides:
lex in class PJ.Repeat

dump

public void dump(Dump sender,
                 Class c,
                 Object o)