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()


Constructor Index

 o LRTreeMaker(ParseTable, GrammarInfo, String, String)

Method Index

 o current()
 o first()
 o isDone()
 o step()

Constructors

 o 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

Methods

 o step
 public void step()
 o first
 public void first()
 o current
 public LRListNode current()
 o isDone
 public boolean isDone()

All Packages  Class Hierarchy  This Package  Previous  Next  Index