jAsea
Class jAPSingle
java.lang.Object
|
+--jAsea.jAPItem
|
+--jAsea.jAPSingle
- class jAPSingle
- extends jAPItem
Field Summary |
(package private) jAPItem |
next
|
(package private) java.lang.String |
single
|
Constructor Summary |
(package private) |
jAPSingle(java.lang.String _single,
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 |
next
jAPItem next
single
java.lang.String single
jAPSingle
jAPSingle(java.lang.String _single,
jAPItem _next)
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
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
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