public static final class SwitchCaseNode.Builder extends Object
SwitchCaseNode.| Constructor and Description |
|---|
SwitchCaseNode.Builder(int id,
String commandText,
SourceLocation sourceLocation) |
| Modifier and Type | Method and Description |
|---|---|
SwitchCaseNode |
build(SoyParsingContext context)
Returns a new
SwitchCaseNode from the state of this builder, reporting syntax errors
to the given ErrorReporter. |
public SwitchCaseNode.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 SwitchCaseNode build(SoyParsingContext context)
SwitchCaseNode from the state of this builder, reporting syntax errors
to the given ErrorReporter.