StyleSheet class
Constructors
-
StyleSheet(List<
TreeNode> topLevels, SourceSpan? span) -
StyleSheet.selector(List<
TreeNode> topLevels, SourceSpan? span) - Selectors only in this tree.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- span → SourceSpan
-
The source code this TreeNode represents.
no setteroverride
-
topLevels
→ List<
TreeNode> -
Contains charset, ruleset, directives (media, page, etc.), and selectors.
final
Methods
-
clone(
) → StyleSheet -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toDebugString(
) → String -
A multiline string showing the node and its children.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
visit(
VisitorBase visitor) → dynamic -
Classic double-dispatch visitor for implementing passes.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited