public static final class LetValueNode.Builder extends Object
LetValueNode.| Modifier and Type | Field and Description |
|---|---|
static LetValueNode |
ERROR |
| Constructor and Description |
|---|
Builder(int id,
String commandText,
SourceLocation sourceLocation) |
| Modifier and Type | Method and Description |
|---|---|
LetValueNode |
build(ErrorReporter errorReporter)
Returns a new
LetValueNode built from the builder's state. |
public static final LetValueNode ERROR
public Builder(int id,
String commandText,
SourceLocation sourceLocation)
id - The node's id.commandText - The node's command text.sourceLocation - The node's source location.public LetValueNode build(ErrorReporter errorReporter)
LetValueNode built from the builder's state. If the builder's state
is invalid, errors are reported to the errorManager and {Builder#ERROR} is returned.