|
|||||||||
| 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.
| Field Summary | |
|---|---|
protected ErrorQueue |
eq
|
protected java_cup.runtime.lr_parser |
grm
|
protected Source |
source
|
| 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 |
| Field Detail |
|---|
protected java_cup.runtime.lr_parser grm
protected Source source
protected ErrorQueue eq
| Constructor Detail |
|---|
public CupParser(java_cup.runtime.lr_parser grm,
Source source,
ErrorQueue eq)
| Method Detail |
|---|
public Node parse()
Parser
parse in interface Parserpublic 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 | ||||||||