@PublicApi public interface DirectivesContainer<T extends DirectivesContainer> extends Node<T>
Modifier and Type | Method and Description |
---|---|
default Directive |
getDirective(java.lang.String directiveName)
Returns a directive with the provided name
|
java.util.List<Directive> |
getDirectives() |
default java.util.Map<java.lang.String,Directive> |
getDirectivesByName() |
accept, deepCopy, getAdditionalData, getChildren, getComments, getIgnoredChars, getNamedChildren, getSourceLocation, isEqualTo, withNewChildren
java.util.List<Directive> getDirectives()
default java.util.Map<java.lang.String,Directive> getDirectivesByName()
default Directive getDirective(java.lang.String directiveName)
directiveName
- the name of the directive to retrieve