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