jAsea
Class jAPReference
java.lang.Object
|
+--jAsea.jAPItem
|
+--jAsea.jAPReference
- class jAPReference
- extends jAPItem
Field Summary |
(package private) static int |
CHARACTER
|
(package private) jAPItem |
next
|
(package private) static int |
NUMBER
|
(package private) static int |
OBJECT
|
(package private) static int |
TEXT
|
(package private) java.lang.String |
var
|
(package private) int |
vartype
|
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? |
(package private) static boolean |
matchString(java.lang.String s1,
java.lang.String s2,
int start)
|
java.lang.String |
toString()
|
void |
tree()
Print out all expressions that this tree can generate |
void |
tree(java.lang.String s)
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
OBJECT
static final int OBJECT
- See Also:
- Constant Field Values
CHARACTER
static final int CHARACTER
- See Also:
- Constant Field Values
NUMBER
static final int NUMBER
- See Also:
- Constant Field Values
TEXT
static final int TEXT
- See Also:
- Constant Field Values
vartype
int vartype
var
java.lang.String var
jAPReference
jAPReference(java.lang.String _var,
jAPItem _next)
tree
public void tree(java.lang.String s)
- 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
matchString
static boolean matchString(java.lang.String s1,
java.lang.String s2,
int start)
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()
- Print out all expressions that this tree can generate