InterpolatedPseudoSelector class final

A psueod-class or pseudo-element selector.

Unlike PseudoSelector, this is parsed during the initial stylesheet parse when parseSelectors: true is passed to Stylesheet.parse.

Inheritance

Constructors

InterpolatedPseudoSelector(Interpolation name, FileSpan span, {bool element = false, Interpolation? argument, InterpolatedSelectorList? selector})

Properties

argument Interpolation?
The non-selector argument passed to this selector.
final
hashCode int
The hash code for this object.
no setterinherited
isSyntacticClass bool
Whether this is syntactically a pseudo-class selector.
final
isSyntacticElement bool
Whether this is syntactically a pseudo-element selector.
no setter
name Interpolation
The name of this selector (including any vendor prefixes).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selector InterpolatedSelectorList?
The selector argument passed to this selector.
final
span → FileSpan
The source span associated with the node.
final

Methods

accept<T>(InterpolatedSelectorVisitor<T> visitor) → T
Calls the appropriate visit method on visitor.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited