jAsea
Class jAPItem

java.lang.Object
  |
  +--jAsea.jAPItem
Direct Known Subclasses:
jAPChoice, jAPEnd, jAPReference, jAPSingle, jAPWild

abstract class jAPItem
extends java.lang.Object

Generic Parse Tree node type


Constructor Summary
(package private) jAPItem()
           
 
Method Summary
(package private) abstract  boolean match(java.lang.String s, jAseaRun jar, int start)
          Does String s, starting at char 'start', match the pattern starting at this node?
 void tree()
          Print out all expressions that this tree can generate
abstract  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, toString, wait, wait, wait
 

Constructor Detail

jAPItem

jAPItem()
Method Detail

match

abstract boolean match(java.lang.String s,
                       jAseaRun jar,
                       int start)
Does String s, starting at char 'start', match the pattern starting at this node?

Parameters:
s - String to be analyzed
jar - Runtime
start - First character of string to match to this node

tree

public abstract void tree(java.lang.String prefix)
Print out all expressions that this tree can generate, assuming that the text so far is 'prefix'


tree

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