RuntimeCompletionExpression class
An expression for which we want to know its runtime type. In expressions like 'a.b.c.where((e) => e.^)' we want to know the runtime type of 'a.b.c' to enforce it statically at the time when we compute completion suggestions, and get better type for 'e'.
- Implemented types
Constructors
- RuntimeCompletionExpression(int offset, int length, {RuntimeCompletionExpressionType? type})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- length → int
-
The length of the expression in the code for completion.
final
- offset → int
-
The offset of the expression in the code for completion.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → RuntimeCompletionExpressionType?
-
When the expression is sent from the server to the client, the type is
omitted. The client should fill the type when it sends the request to the
server again.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited