|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpolyglot.frontend.CupParser
public class CupParser
A parser implemented with a Cup generated-parser.
Constructor Summary | |
---|---|
CupParser(java_cup.runtime.lr_parser grm,
Source source,
ErrorQueue eq)
|
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 |
---|
public CupParser(java_cup.runtime.lr_parser grm, Source source, ErrorQueue eq)
Method Detail |
---|
public Node parse()
Parser
parse
in interface Parser
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |