jAsea
Class jAPChoice

java.lang.Object
  |
  +--jAsea.jAPItem
        |
        +--jAsea.jAPChoice

class jAPChoice
extends jAPItem


Field Summary
(package private)  jAPItem[] choices
           
 
Constructor Summary
(package private) jAPChoice(jAPItem[] _choices)
           
(package private) jAPChoice(java.lang.String[] s, jAPItem next)
           
 
Method Summary
(package private)  boolean match(java.lang.String s, jAseaRun jar, int start)
          Does String s, starting at char 'start', match the pattern starting at this node?
 java.lang.String toString()
           
 void tree()
          Print out all expressions that this tree can generate
 void tree(java.lang.String prefix)
          Print out all expressions that this tree can generate, assuming that the text so far is 'prefix'
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

choices

jAPItem[] choices
Constructor Detail

jAPChoice

jAPChoice(jAPItem[] _choices)

jAPChoice

jAPChoice(java.lang.String[] s,
          jAPItem next)
Method Detail

match

boolean match(java.lang.String s,
              jAseaRun jar,
              int start)
Description copied from class: jAPItem
Does String s, starting at char 'start', match the pattern starting at this node?

Specified by:
match in class jAPItem
Parameters:
s - String to be analyzed
jar - Runtime
start - First character of string to match to this node

tree

public void tree(java.lang.String prefix)
Description copied from class: jAPItem
Print out all expressions that this tree can generate, assuming that the text so far is 'prefix'

Specified by:
tree in class jAPItem

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

tree

public void tree()
Print out all expressions that this tree can generate