Documentation ¶
Index ¶
- type ArrLit
- type BlockStmt
- type Boolean
- type CallExpr
- type Comment
- type Expr
- type ExprStmt
- type FunctionLit
- type HashLit
- type Identifier
- type IfExpr
- type IncludeStmt
- type IndexExpr
- type InfixExpr
- type LetStmt
- type Node
- type NumberLit
- type PrefixExpr
- type Program
- type ReturnStmt
- type ShowStmt
- type Stmt
- type StringLit
- type WhileExpr
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CallExpr ¶
type FunctionLit ¶
type FunctionLit struct { Token token.Token // The 'fn' token Params []*Identifier Body *BlockStmt }
func (*FunctionLit) String ¶
func (fl *FunctionLit) String() string
func (*FunctionLit) TokenLit ¶
func (fl *FunctionLit) TokenLit() string
type Identifier ¶
func (*Identifier) String ¶
func (id *Identifier) String() string
func (*Identifier) TokenLit ¶
func (id *Identifier) TokenLit() string
type IncludeStmt ¶
func (*IncludeStmt) String ¶
func (is *IncludeStmt) String() string
func (*IncludeStmt) TokenLit ¶
func (is *IncludeStmt) TokenLit() string
type PrefixExpr ¶
func (*PrefixExpr) String ¶
func (pref *PrefixExpr) String() string
func (*PrefixExpr) TokenLit ¶
func (pref *PrefixExpr) TokenLit() string
type ReturnStmt ¶
func (*ReturnStmt) String ¶
func (r *ReturnStmt) String() string
func (*ReturnStmt) TokenLit ¶
func (r *ReturnStmt) TokenLit() string
Click to show internal directories.
Click to hide internal directories.