public interface AtRuleBlock extends StatementIterable, AtRuleMember
AtRule
.Modifier and Type | Method and Description |
---|---|
AtRuleBlock |
copy()
Performs a deep copy of the instance.
|
propagateBroadcast, statements
forEach, iterator, spliterator
parent, parent
annotate, annotateUnlessPresent, annotation, annotations, column, comment, comment, comments, comments, comments, hasAnnotation, hasAnnotation, hasSourcePosition, id, line, orphanedComments, orphanedComments, orphanedComments, toString, writesOwnComments, writesOwnOrphanedComments
isWritable, write
shouldBreakBroadcast, status, status
AtRuleBlock copy()
Syntax
This includes any inner syntax units, for example the selectors inside of a rule. This also carries over the comments and orphaned comments.
Keep in mind that copying is generally not preferred. Particularly, it is generally better to parse the source again than
to copy a Stylesheet
. Copying a specific syntax unit may be appropriate when duplicating the terms in a declaration
or the selector parts in a selector.
Copyright (c) 2019, Salesforce.com, Inc. All rights reserved. Licensed under the BSD 3-Clause license. For full license text, see the LICENSE file in the repository.