Versions in this module Expand all Collapse all v1 v1.1.7 Nov 24, 2023 Changes in this version + type ArrayLiteral struct + Elements []Expression + func (al *ArrayLiteral) String() string + type AssignExpression struct + Name *Identifier + Value Expression + func (ae *AssignExpression) String() string + type BlockStatement struct + Statements []Statement + func (bs *BlockStatement) InnerText() string + func (bs *BlockStatement) String() string + type Boolean struct + Value bool + func (b *Boolean) String() string + type BreakExpression struct + func (ce *BreakExpression) String() string + type CallExpression struct + Arguments []Expression + Block *BlockStatement + Callee Expression + ElseBlock *BlockStatement + Function Expression + func (ce *CallExpression) String() string + type Comparable interface + type ContinueExpression struct + func (ce *ContinueExpression) String() string + type ElseIfExpression struct + Block *BlockStatement + Condition Expression + type Expression interface + type ExpressionStatement struct + Expression Expression + func (es *ExpressionStatement) String() string + type FloatLiteral struct + Value float64 + func (il *FloatLiteral) String() string + type ForExpression struct + Block *BlockStatement + Iterable Expression + KeyName string + ValueName string + func (fe *ForExpression) String() string + type FunctionLiteral struct + Block *BlockStatement + Parameters []*Identifier + func (fl *FunctionLiteral) String() string + type HTMLLiteral struct + Value string + func (hl *HTMLLiteral) Printable() bool + func (hl *HTMLLiteral) String() string + type HashLiteral struct + Order []Expression + Pairs map[Expression]Expression + func (hl *HashLiteral) String() string + type Identifier struct + Callee *Identifier + OriginalCallee *Identifier + Value string + func (i *Identifier) String() string + type IfExpression struct + Block *BlockStatement + Condition Expression + ElseBlock *BlockStatement + ElseIf []*ElseIfExpression + func (ie *IfExpression) String() string + type IndexExpression struct + Callee Expression + Index Expression + Left Expression + Value Expression + func (ie *IndexExpression) String() string + type InfixExpression struct + Left Expression + Operator string + Right Expression + func (oe *InfixExpression) String() string + type IntegerLiteral struct + Value int + func (il *IntegerLiteral) String() string + type LetStatement struct + Name *Identifier + Value Expression + func (ls *LetStatement) String() string + type Node interface + String func() string + T func() token.Token + TokenLiteral func() string + type PrefixExpression struct + Operator string + Right Expression + func (pe *PrefixExpression) String() string + type Printable interface + Printable func() bool + type Program struct + Statements []Statement + func (p *Program) InnerText() string + func (p *Program) String() string + func (p *Program) TokenLiteral() string + type ReturnStatement struct + ReturnValue Expression + Type string + func (rs *ReturnStatement) Printable() bool + func (rs *ReturnStatement) String() string + type Statement interface + type StringLiteral struct + Value string + func (sl *StringLiteral) String() string + type TokenAble struct + func (t TokenAble) T() token.Token + func (t TokenAble) TokenLiteral() string