Documentation
¶
Overview ¶
Copyright 2025 The Hulo Authors. All rights reserved. Use of this source code is governed by a MIT-style license that can be found in the LICENSE file.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Pos ¶
type Pos int
const NoPos Pos = 0
The zero value for Pos is NoPos; there is no file and line information associated with it, and NoPos.IsValid() is false. NoPos is always smaller than any other Pos value. The corresponding Position value for NoPos is the zero value for Position.
type Token ¶
type Token uint32
const ( ILLEGAL Token = iota // ILLEGAL ADD // + SUB // - MUL // * DIV // / MOD // % EQU // EQU NEQ // NEQ LSS // LSS LEQ // LEQ GTR // GTR GEQ // GEQ AND // AND OR // OR NOT // NOT ADD_ASSIGN // += SUB_ASSIGN // -= MUL_ASSIGN // *= DIV_ASSIGN // /= MOD_ASSIGN // %= // This is the bitwise and operator BITAND // & // This is the bitwise or operator BITOR // | // This is the bitwise xor or Exclusive or operator BITXOR // ^ ANDAND // && OROR // || ASSIGN // = DOUBLE_ASSIGN // == COMMA // , SEMI // ; RdrOut // > AppOut // >> RdrIn // < // Unary Operators TILDE // ~ EXCL // ! COLON // : DOUBLE_COLON // :: LPAREN // ( RPAREN // ) LBRACE // { RBRACE // } LBRACK // [ RBRACK // ] AT // @ REM // Rem IF // if GOTO // goto FOR // for DO // do IN // in CALL // Call EOF // EOF )
Click to show internal directories.
Click to hide internal directories.