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 ¶
- type AssignStmt
- type Attribute
- type BasicLit
- type BinaryExpr
- type BlcokStmt
- type BlockExpr
- type BreakStmt
- type CallExpr
- type CaseStmt
- type CatchStmt
- type ContinueStmt
- type DataStmt
- type Decl
- type ExplictExpr
- type Expr
- type ExprStmt
- type Fields
- type File
- type ForStmt
- type ForeachStmt
- type FuncStmt
- type HashTable
- type Ident
- type IfStmt
- type IncDecExpr
- type IndexExpr
- type LabelStmt
- type List
- type MemberAccess
- type ModExpr
- type Node
- type ReturnStmt
- type Stmt
- type SubExpr
- type SwitchPattern
- type SwitchStmt
- type ThrowStmt
- type TryStmt
- type UsingAssembly
- type UsingDecl
- type UsingModule
- type UsingNamespace
- type VarExpr
- type WhileStmt
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssignStmt ¶
type BinaryExpr ¶
type BinaryExpr struct { X Expr // left operand OpPos token.Pos // position of Op Op token.Token // operator Y Expr // right operand }
A BinaryExpr node represents a binary expression.
func (*BinaryExpr) End ¶
func (x *BinaryExpr) End() token.Pos
func (*BinaryExpr) Pos ¶
func (x *BinaryExpr) Pos() token.Pos
type ContinueStmt ¶
type ContinueStmt struct{}
type ExplictExpr ¶
type ForeachStmt ¶
type IncDecExpr ¶
type IncDecExpr struct { X Expr Tok token.Token // INC or DEC TokPos token.Pos // position of "++" or "--" }
++X --X
func (*IncDecExpr) End ¶
func (x *IncDecExpr) End() token.Pos
func (*IncDecExpr) Pos ¶
func (x *IncDecExpr) Pos() token.Pos
type MemberAccess ¶
type ReturnStmt ¶
type ReturnStmt struct {
X Expr
}
type SwitchPattern ¶
type SwitchPattern int
const ( SwitchPatternNone SwitchPattern = iota SwitchPatternRegex SwitchPatternWildcard SwitchPatternExact )
func (SwitchPattern) String ¶
func (p SwitchPattern) String() string
type SwitchStmt ¶
type SwitchStmt struct { Pattern SwitchPattern Casesensitive bool Cond Expr Cases []*CaseStmt Default *CaseStmt }
type UsingAssembly ¶
type UsingDecl ¶
type UsingDecl struct { Using token.Pos *UsingModule *UsingNamespace *UsingAssembly }
type UsingModule ¶
type UsingNamespace ¶
Click to show internal directories.
Click to hide internal directories.