Versions in this module Expand all Collapse all v0 v0.0.2 Nov 14, 2021 Changes in this version type FunctionLiteral + Name string v0.0.1 Oct 18, 2021 Changes in this version + type ArrayLiteral struct + Elements []Expression + Token token.Token + func (al *ArrayLiteral) String() string + func (al *ArrayLiteral) TokenLiteral() string + type BlockStatement struct + Statements []Statement + Token token.Token + func (bs *BlockStatement) String() string + func (bs *BlockStatement) TokenLiteral() string + type Boolean struct + Token token.Token + Value bool + func (b *Boolean) String() string + func (b *Boolean) TokenLiteral() string + type CallExpression struct + Arguments []Expression + Function Expression + Token token.Token + func (ce *CallExpression) String() string + func (ce *CallExpression) TokenLiteral() string + type Expression interface + type ExpressionStatement struct + Expression Expression + Token token.Token + func (es *ExpressionStatement) String() string + func (es *ExpressionStatement) TokenLiteral() string + type FunctionLiteral struct + Body *BlockStatement + Parameters []*Identifier + Token token.Token + func (fl *FunctionLiteral) String() string + func (fl *FunctionLiteral) TokenLiteral() string + type HashLiteral struct + Pairs map[Expression]Expression + Token token.Token + func (hl *HashLiteral) String() string + func (hl *HashLiteral) TokenLiteral() string + type Identifier struct + Token token.Token + Value string + func (i *Identifier) String() string + func (i *Identifier) TokenLiteral() string + type IfExpression struct + Alternative *BlockStatement + Condition Expression + Consequence *BlockStatement + Token token.Token + func (ie *IfExpression) String() string + func (ie *IfExpression) TokenLiteral() string + type IndexExpression struct + Index Expression + Left Expression + Token token.Token + func (ie *IndexExpression) String() string + func (ie *IndexExpression) TokenLiteral() string + type InfixExpression struct + Left Expression + Operator string + Right Expression + Token token.Token + func (ie *InfixExpression) String() string + func (ie *InfixExpression) TokenLiteral() string + type IntegerLiteral struct + Token token.Token + Value int64 + func (il *IntegerLiteral) String() string + func (il *IntegerLiteral) TokenLiteral() string + type LetStatement struct + Name *Identifier + Token token.Token + Value Expression + func (ls *LetStatement) String() string + func (ls *LetStatement) TokenLiteral() string + type Node interface + String func() string + TokenLiteral func() string + type PrefixExpression struct + Operator string + Right Expression + Token token.Token + func (pe *PrefixExpression) String() string + func (pe *PrefixExpression) TokenLiteral() string + type Program struct + Statements []Statement + func (p *Program) String() string + func (p *Program) TokenLiteral() string + type ReturnStatement struct + ReturnValue Expression + Token token.Token + func (rs *ReturnStatement) String() string + func (rs *ReturnStatement) TokenLiteral() string + type Statement interface + type StringLiteral struct + Token token.Token + Value string + func (sl *StringLiteral) String() string + func (sl *StringLiteral) TokenLiteral() string