Coord

dotty.tools.dotc.util.Spans.Coord
final class Coord(val encoding: Int) extends AnyVal

The coordinate of a symbol. This is either an index or a zero-range span.

Attributes

Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Value members

Concrete methods

def toIndex: Int
def toSpan: Span
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any

Concrete fields

val encoding: Int