package
0.0.0-20240123034106-c922539f001c
Repository: https://github.com/acorn-io/aml.git
Documentation: pkg.go.dev

# Functions

Lookup maps an identifier to its keyword token or IDENT (if not a keyword).
NewFile returns a new file.

# Constants

+.
Blank means there is horizontal space after this token.
:.
,.
The list of tokens.
The list of tokens.
Elided indicates that the token for which this position is defined is not rendered at all.
The list of tokens.
The list of tokens.
==.
The list of tokens.
The list of tokens.
The list of tokens.
>=.
>.
A set of constants for precedence-based expression parsing.
main, _tmp.
The list of tokens.
Special tokens.
The list of tokens.
a part of a template string, e.g.
The list of tokens.
&&.
{.
[.
<=.
The list of tokens.
||.
A set of constants for precedence-based expression parsing.
(.
<.
=~.
*.
!=.
Newline means there is a single newline after this token.
NewSection means there are two or more newlines after this token.
!~.
NoRelPos indicates no relative position is specified.
NoSpace indicates there is no whitespace after this token.
!.
The list of tokens.
any numner int or float.
?.
.
/.
}.
].
).
The list of tokens.
"abc".
-.
The list of tokens.
A set of constants for precedence-based expression parsing.

# Variables

NoPos is the zero value for Pos; there is no file and line information associated with it, and NoPos().IsValid() is false.

# Structs

A File has a name, size, and line offset table.
Pos is a compact encoding of a source position within a file, as well as relative positioning information.
Position describes an arbitrary source position including the file, line, and column location.

# Type aliases

RelPos indicates the relative position of token to the previous token.
Token is the set of lexical tokens of the CUE configuration language.