public static final class LetValueNode.Builder extends Object
LetValueNode.| Constructor and Description |
|---|
LetValueNode.Builder(int id,
String commandText,
SourceLocation sourceLocation) |
| Modifier and Type | Method and Description |
|---|---|
LetValueNode |
build(SoyParsingContext context)
Returns a new
LetValueNode built from the builder's state. |
public LetValueNode.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(SoyParsingContext context)
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.