CharacterLocation class

The location of a character represented as a line and column pair.

Constructors

CharacterLocation(int line, int column)
Initialize a newly created location to represent the location of the character at the given line and column.

Properties

column int
The one-based index of the column containing the character.
final
hashCode int
The hash code for this object.
no setterinherited
line int
The one-based index of the line containing the character.
final
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