pj
Class PJ.Opt

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

protected class PJ.Opt
extends PJ.Repeat

represents id ?.


Field Summary
 
Fields inherited from class pj.PJ.Repeat
i
 
Constructor Summary
protected PJ.Opt(String id)
           
 
Method Summary
 void dump(Dump sender, Class c, Object o)
           
 String name()
          name in jay or JLex.
 String type()
          returns type of optional item.
 
Methods inherited from class pj.PJ.Repeat
collect, lex
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PJ.Opt

protected PJ.Opt(String id)
See Also:
PJ.IdInfo.setOpt()
Method Detail

name

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

See Also:
PJ.IdInfo.optName

type

public String type()
returns type of optional item.

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

dump

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