All Packages Class Hierarchy This Package Previous Next Index
Class javaParse.LRTreeMaker
java.lang.Object
|
+----javaParse.LRTreeMaker
- public class LRTreeMaker
- extends Object
LRTreeMaker - class that parses string and creates a parse tree.
Allows user to iterate through the tree in the order in which it
was created.
public LRTreeMaker(ParseTable, String)
public void step()
public void first()
public boolean isDone()
public ListNode current()
-
LRTreeMaker(ParseTable, GrammarInfo, String, String)
-
-
current()
-
-
first()
-
-
isDone()
-
-
step()
-
LRTreeMaker
public LRTreeMaker(ParseTable tble,
GrammarInfo info,
String str,
String viewType)
- Parameters:
- tble - the parse table of the grammar
- info - the grammar's GrammarInfo
- str - the input string that will be parsed
- viewType - the view type - either inverted or non-inverted tree
step
public void step()
first
public void first()
current
public LRListNode current()
isDone
public boolean isDone()
All Packages Class Hierarchy This Package Previous Next Index