CharacterLocation class

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

Constructors

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

Properties

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