public abstract class AbstractAtRuleMember extends AbstractSyntax implements AtRuleMember
AtRuleMember
s.Constructor and Description |
---|
AbstractAtRuleMember()
Creates a new instance with no line or number specified (used for dynamically created
Syntax units). |
AbstractAtRuleMember(int line,
int column)
Creates a new instance with the given line and column numbers.
|
Modifier and Type | Method and Description |
---|---|
AtRule |
parent()
Gets the parent
AtRule that owns this property, or absent if not set. |
AbstractAtRuleMember |
parent(AtRule atRule)
Sets the parent
AtRule . |
annotate, annotateUnlessPresent, annotation, annotations, column, comment, comment, comments, comments, comments, copiedFrom, copy, equals, hasAnnotation, hasAnnotation, hashCode, hasSourcePosition, id, isWritable, line, orphanedComments, orphanedComments, orphanedComments, propagateBroadcast, shouldBreakBroadcast, status, status, toString, toString, writesOwnComments, writesOwnOrphanedComments
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
annotate, annotateUnlessPresent, annotation, annotations, column, comment, comment, comments, comments, comments, copy, hasAnnotation, hasAnnotation, hasSourcePosition, id, line, orphanedComments, orphanedComments, orphanedComments, toString, writesOwnComments, writesOwnOrphanedComments
isWritable, write
propagateBroadcast, shouldBreakBroadcast, status, status
public AbstractAtRuleMember()
Syntax
units).public AbstractAtRuleMember(int line, int column)
line
- The line number.column
- The column number.public AbstractAtRuleMember parent(AtRule atRule)
AtRuleMember
AtRule
. Generally this is handled automatically when this block is set on the AtRule
, so it
is not recommended to call this method manually.
Do not use this method to move a block from one parent to another.
parent
in interface AtRuleMember
atRule
- The parent at-rule.AbstractAtRuleMember
public AtRule parent()
AtRuleMember
AtRule
that owns this property, or absent if not set. This will not be set for dynamically created
units not yet added to an AtRule
instance.parent
in interface AtRuleMember
AtRule
, or an empty Optional
if not present.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.