public static final class LetContentNode.Builder extends Object
LetContentNode.| Constructor and Description |
|---|
LetContentNode.Builder(int id,
String commandText,
SourceLocation sourceLocation) |
| Modifier and Type | Method and Description |
|---|---|
LetContentNode |
build(SoyParsingContext context)
Returns a new
LetContentNode built from the builder's state. |
public LetContentNode.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 LetContentNode build(SoyParsingContext context)
LetContentNode built from the builder's state. If the builder's state
is invalid, errors are reported to the errorManager and {Builder#error} is returned.