jAsea
Class jAPChoice
java.lang.Object
|
+--jAsea.jAPItem
|
+--jAsea.jAPChoice
- class jAPChoice
- extends jAPItem
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 |
choices
jAPItem[] choices
jAPChoice
jAPChoice(jAPItem[] _choices)
jAPChoice
jAPChoice(java.lang.String[] s,
jAPItem next)
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 analyzedjar
- Runtimestart
- 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