public interface Refinable extends Syntax
Syntax
unit is refinable to a more specified or detailed representation.
This is primarily used with high-level Syntax
units. CSS is parsed into unrefined Syntax
units for performance
reasons, where each unrefined object can be further refined to obtain and work with the more detailed representation
as applicable.
It's important to remember that before being refined refinable objects may actually contain invalid CSS. Simply refining the object will verify its grammatical compliance, which can be coupled with custom validation to ensure correct usage. See the main readme file for more information on refinement.
Syntax
Modifier and Type | Method and Description |
---|---|
boolean |
isRefined()
Gets whether this unit is refined.
|
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
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.