|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AwkSyntaxTree
A Jawk abstract syntax tree node. This provides an appropriate public interface to the abstract syntax tree.
Method Summary | |
---|---|
void |
dump(java.io.PrintStream ps)
Dump a meaningful text representation of this abstract syntax tree node to the output (print) stream. |
int |
populateTuples(AwkTuples tuples)
Appends tuples to the AwkTuples list for this abstract syntax tree node. |
void |
semanticAnalysis()
Apply semantic checks to this node. |
Method Detail |
---|
void dump(java.io.PrintStream ps)
ps
- The print stream to dump the text
representation.void semanticAnalysis()
int populateTuples(AwkTuples tuples)
This is called either by the main program to generate a full list of tuples for the abstract syntax tree, or it is called by other abstract syntax tree nodes in response to their attempt at populating tuples.
tuples
- The tuples to populate.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |