| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final int | |
| pack-priv final String |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static Node | cons(String resourceName, int lineNumber, ImmutableList<Node> nodes)
Create a new parse tree node that is the concatenation of the given ones. |
| pack-priv static Node | |
| pack-priv EvaluationException | |
| pack-priv EvaluationException | |
| pack-priv boolean | |
| pack-priv abstract void | |
| private String |
| lineNumber | back to summary |
|---|---|
| pack-priv final int lineNumber | |
| resourceName | back to summary |
|---|---|
| pack-priv final String resourceName | |
| Node | back to summary |
|---|---|
| pack-priv Node(String resourceName, int lineNumber) | |
| cons | back to summary |
|---|---|
| pack-priv static Node cons(String resourceName, int lineNumber, ImmutableList<Node> nodes) Create a new parse tree node that is the concatenation of the given ones. Evaluating the new node produces the same string as evaluating each of the given nodes and concatenating the result. | |
| emptyNode | back to summary |
|---|---|
| pack-priv static Node emptyNode(String resourceName, int lineNumber) Returns an empty node in the parse tree. This is used for example to represent the trivial
"else" part of an | |
| evaluationException | back to summary |
|---|---|
| pack-priv EvaluationException evaluationException(String message) | |
| evaluationException | back to summary |
|---|---|
| pack-priv EvaluationException evaluationException(Throwable cause) | |
| isHorizontalWhitespace | back to summary |
|---|---|
| pack-priv boolean isHorizontalWhitespace() True if this node is just a span of horizontal whitespace in the text. | |
| render | back to summary |
|---|---|
| pack-priv abstract void render(EvaluationContext context, StringBuilder output) Adds this node's contribution to the | |
| where | back to summary |
|---|---|
| private String where() | |
| Modifier and Type | Field and Description |
|---|---|
| private final ImmutableList |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | render(EvaluationContext context, StringBuilder output)
Implements abstract com. output.
|
| nodes | back to summary |
|---|---|
| private final ImmutableList<Node> nodes | |
| Cons | back to summary |
|---|---|
| pack-priv Cons(String resourceName, int lineNumber, ImmutableList<Node> nodes) | |
| render | back to summary |
|---|---|
| pack-priv void render(EvaluationContext context, StringBuilder output) Implements abstract com. Doc from com. Adds this node's contribution to the
| |