|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||
java.lang.Objectdk.brics.grammar.operations.Unparser
public class Unparser
AST unparser.
| Constructor Summary | |
|---|---|
Unparser(Grammar g)
Constructs a new AST unparser. |
|
| Method Summary | |
|---|---|
String |
unparse(AST a)
Unparses the given AST. |
void |
unparse(AST a,
PrintWriter p)
Unparses the given AST. |
void |
unparse(Node n,
PrintWriter p,
String x)
Unparses the given node representing a sub-AST. |
String |
unparse(Node n,
String x)
Unparses the given node representing a sub-AST. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Unparser(Grammar g)
g - grammar| Method Detail |
|---|
public String unparse(AST a)
a - AST
public void unparse(AST a,
PrintWriter p)
a - ASTp - print writer for output
public void unparse(Node n,
PrintWriter p,
String x)
n - nodep - print writer for outputx - original string
public String unparse(Node n,
String x)
n - nodex - original string
|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||