Combinator enum AST

A combinator that defines the relationship between selectors in a ComplexSelector.

Inheritance

Constructors

Combinator(String _text)
const

Values

nextSibling → const Combinator

Matches the right-hand selector if it's immediately adjacent to the left-hand selector in the DOM tree.

const Combinator('+')
child → const Combinator

Matches the right-hand selector if it's a direct child of the left-hand selector in the DOM tree.

const Combinator('>')
followingSibling → const Combinator

Matches the right-hand selector if it comes after the left-hand selector in the DOM tree.

const Combinator('~')

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Constants

values → const List<Combinator>
A constant List of the values in this enum, in order of their declaration.