@PublicApi public interface DirectivesContainer<T extends DirectivesContainer> extends NamedNode<T>
Modifier and Type | Method and Description |
---|---|
default Directive |
getDirective(java.lang.String directiveName)
Returns a named directive
|
java.util.List<Directive> |
getDirectives() |
default java.util.Map<java.lang.String,Directive> |
getDirectivesByName() |
accept, deepCopy, getChildren, getComments, getSourceLocation, isEqualTo
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