package
0.0.1
Repository: https://github.com/tsatke/lua.git
Documentation: pkg.go.dev

# Functions

New creates a new token from the given arguments.

# Constants

And is the token type for the keyword 'and'.
Assign is the token type for the operator '='.
BinaryOperator is the token type for any binary operator.
BracketLeft is the token type for an opening bracket '['.
BracketRight is the token type for a closing bracket ']'.
Break is the token type for the keyword 'break'.
Colon is the token type for a colon ':'.
Comma is the token type for a comma ','.
CurlyLeft is the token type for an opening curly bracket '{'.
CurlyRight is the token type for a closing curly bracket '}'.
Do is the token type for the keyword 'do'.
Dot is the token type for a period '.'.
DoubleDot is the token type for a double dot '..'.
Ellipsis is the token type for an ellipsis (or triple dot) '...'.
Else is the token type for the keyword 'else'.
Elseif is the token type for the keyword 'elseif'.
End is the token type for the keyword 'end'.
Error is a token type that indicates that this token represents a corrupt or incorrect structure.
False is the token type for the keyword 'false'.
For is the token type for the keyword 'for'.
Function is the token type for the keyword 'function'.
If is the token type for the keyword 'if'.
In is the token type for the keyword 'in'.
Local is the token type for the keyword 'local'.
Name is the token type for any identifier.
Nil is the token type for the keyword 'nil'.
Not is the token type for the keyword 'not'.
Number is the token type for any number.
Or is the token type for the keyword 'or'.
ParLeft is the token type for an opening parenthesis '('.
ParRight is the token type for a closing parenthesis ')'.
Repeat is the token type for the keyword 'repeat'.
Return is the token type for the keyword 'return'.
SemiColon is the token type for a semicolon ';'.
String is the token type for any string.
Then is the token type for the keyword 'then'.
True is the token type for the keyword 'true'.
Known types.
UnaryOperator is the token type for any unary operator.
Until is the token type for the keyword 'until'.
While is the token type for the keyword 'while'.

# Structs

Position describes the position of something in a file.

# Interfaces

Token describes a Lua token.

# Type aliases

Type is a token type.