Position class
The location of a node in a source file.
- Annotations
-
- @JsonSerializable()
Constructors
Properties
- end → Point
-
The end field of Position represents the place of the first character
after the parsed source region, whether it exists or not.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
indent
→ List<
int> ? -
The start column at each index (plus start line) in the source region,
for elements that span multiple lines.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- start → Point
-
The first character of the parsed source region.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited