public static final class VariableDefinition.Builder extends java.lang.Object implements NodeDirectivesBuilder
Modifier and Type | Method and Description |
---|---|
VariableDefinition.Builder |
additionalData(java.util.Map<java.lang.String,java.lang.String> additionalData) |
VariableDefinition.Builder |
additionalData(java.lang.String key,
java.lang.String value) |
VariableDefinition |
build() |
VariableDefinition.Builder |
comments(java.util.List<Comment> comments) |
VariableDefinition.Builder |
defaultValue(Value defaultValue) |
VariableDefinition.Builder |
directive(Directive directive) |
VariableDefinition.Builder |
directives(java.util.List<Directive> directives) |
VariableDefinition.Builder |
ignoredChars(IgnoredChars ignoredChars) |
VariableDefinition.Builder |
name(java.lang.String name) |
VariableDefinition.Builder |
sourceLocation(SourceLocation sourceLocation) |
VariableDefinition.Builder |
type(Type type) |
public VariableDefinition.Builder sourceLocation(SourceLocation sourceLocation)
sourceLocation
in interface NodeBuilder
public VariableDefinition.Builder name(java.lang.String name)
public VariableDefinition.Builder comments(java.util.List<Comment> comments)
comments
in interface NodeBuilder
public VariableDefinition.Builder type(Type type)
public VariableDefinition.Builder defaultValue(Value defaultValue)
public VariableDefinition.Builder directives(java.util.List<Directive> directives)
directives
in interface NodeDirectivesBuilder
public VariableDefinition.Builder directive(Directive directive)
directive
in interface NodeDirectivesBuilder
public VariableDefinition.Builder ignoredChars(IgnoredChars ignoredChars)
ignoredChars
in interface NodeBuilder
public VariableDefinition.Builder additionalData(java.util.Map<java.lang.String,java.lang.String> additionalData)
additionalData
in interface NodeBuilder
public VariableDefinition.Builder additionalData(java.lang.String key, java.lang.String value)
additionalData
in interface NodeBuilder
public VariableDefinition build()