InterpolatedAttributeSelector class final
An attribute selector.
Unlike AttributeSelector, this is parsed during the initial stylesheet
parse when parseSelectors: true is passed to Stylesheet.parse.
- Inheritance
-
- Object
- InterpolatedSelector
- InterpolatedSimpleSelector
- InterpolatedAttributeSelector
Constructors
- InterpolatedAttributeSelector(InterpolatedQualifiedName name, FileSpan span)
- Creates an attribute selector that matches any element with a property of the given name.
-
InterpolatedAttributeSelector.withOperator(InterpolatedQualifiedName name, CssValue<
AttributeOperator> ? op, Interpolation? value, FileSpan span, {Interpolation? modifier}) -
Creates an attribute selector that matches an element with a property
named
name, whose value matchesvaluebased on the semantics ofop.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- modifier → Interpolation?
-
The modifier which indicates how the attribute selector should be
processed.
final
- name → InterpolatedQualifiedName
-
The name of the attribute being selected for.
final
-
op
→ CssValue<
AttributeOperator> ? -
The operator that defines the semantics of value.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- span → FileSpan
-
The source span associated with the node.
final
- value → Interpolation?
-
An assertion about the value of name.
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