IdentifierKey class final
A variant key matching by identifier (e.g. [one], [other],
[masculine]).
- Inheritance
-
- Object
- FluentNode
- SyntaxNode
- VariantKey
- IdentifierKey
Constructors
- IdentifierKey(Identifier id, {Span? span})
-
Wraps the identifier-shaped key
id.const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → Identifier
-
The key as an identifier (plural category or literal string).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- span → Span?
-
Source range this node covers; null when spans were off.
final
Methods
-
clone(
) → IdentifierKey -
Deep clone of this node.
override
-
equals(
FluentNode other, {bool ignoreSpans = true}) → bool -
Structural equality.
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