jltools.frontend
Class CupParser

java.lang.Object
  |
  +--jltools.frontend.CupParser
All Implemented Interfaces:
Parser

public class CupParser
extends java.lang.Object
implements Parser

A parser implemented with a Cup generated-parser.


Constructor Summary
CupParser(java_cup.runtime.lr_parser grm, Job job)
           
 
Method Summary
 Node parse()
          Return the root of the AST
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CupParser

public CupParser(java_cup.runtime.lr_parser grm,
                 Job job)
Method Detail

parse

public Node parse()
Description copied from interface: Parser
Return the root of the AST
Specified by:
parse in interface Parser

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object