| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static void | checkScope(ExpressionInternal expr)
Throw an exception if any ExpressionInternal reachable from expr contains a Variable that is out of scope. |
| public static void | checkTree(final Node node, final PrintStream pw)
Check that node is really a tree, that is, when we traverse it with the visitor, we never encounter the same node twice. |
| public static void | |
| public static void | |
| private static void | |
| public static String |
| Util | back to summary |
|---|---|
| private Util() | |
| checkScope | back to summary |
|---|---|
| public static void checkScope(ExpressionInternal expr) Throw an exception if any ExpressionInternal reachable from expr contains a Variable that is out of scope. Note that this is only useful for Expressions. | |
| checkTree | back to summary |
|---|---|
| public static void checkTree(final Node node, final PrintStream pw) Check that node is really a tree, that is, when we traverse it with the visitor, we never encounter the same node twice. | |
| close | back to summary |
|---|---|
| public static void close(Node node) Make sure that all variables reachable from node are marked not available, indicating that they are no longer in scope. Note that only defining occurrences of variables are to be considered here, as a scope that merely references a variable may be closed while the containing defining scope is still open. | |
| display | back to summary |
|---|---|
| public static void display(final Node node, final PrintStream pw) Display a tree for the node. | |
| displayAttributes | back to summary |
|---|---|
| private static void displayAttributes(final Node node, final CodegenPrinter pr) | |
| getNodeIdString | back to summary |
|---|---|
| public static String getNodeIdString(Node obj) | |