Documentation
¶
Index ¶
Constants ¶
View Source
const ( EOF token = iota + 1 Ident // Literals Int Float Rune String Comment Semi Colon )
View Source
const PosMax = 1 << 30
PosMax is the largest line or column value that can be represented without loss. Incoming values (arguments) larger than PosMax will be set to PosMax.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Pos ¶
type Pos struct {
// contains filtered or unexported fields
}
A Pos represents an absolute (line, col) source position with. Pos values are intentionally light-weight so that they can be created without too much concern about space use.
Click to show internal directories.
Click to hide internal directories.