SyntacticEntity class abstract interface

A syntactic entity in a source.

It may be either a Token or a AstNode.

Syntactic entities can be located within a source code by their offset.

Implementers

Properties

end int
The position after the last character of the syntactic entity.
no setter
hashCode int
The hash code for this object.
no setterinherited
length int
The number of chracters composing the syntactic entity.
no setter
offset int
The start position of the syntactic entity within the source code.
no setter
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.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited