Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Kind ¶
type Kind uint16
const ( Illegal Kind = iota EOF Comment // --- Dữ liệu (Literals) --- Identifier // work, db, cleanup Number // 123, 0.5 String // "02:00", 'logs' Boolean // true, false Null // --- Truy cập & Chaining --- Assign // = Dot // . FatArrow // => // --- Dấu ngoặc --- LeftParen // ( RightParen // ) LeftBrace // { RightBrace // } LeftBracket // [ RightBracket // ] // --- Ngắt câu & Phân tách --- Comma // , Semicolon // ; Colon // : // --- Logic & So sánh --- LogicalAnd // && LogicalOr // || LogicalNot // ! Equal // == NotEqual // != Greater // > GreaterEqual //>= Less // < LessEqual //<= // --- Số học --- Plus // + Minus // - Star // * Slash // / // --- Từ khóa --- Const Let If Else Return )
func LookupIdentifier ¶
func (Kind) IsOperator ¶
func (Kind) Precedence ¶
Click to show internal directories.
Click to hide internal directories.