Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConstStatement ¶
type ConstStatement struct { Token token.Token // the token.CONST token Name *Identifier Type *Identifier Value Expression }
func (*ConstStatement) TokenLiteral ¶
func (cs *ConstStatement) TokenLiteral() string
type Expression ¶
type Expression interface { Node // contains filtered or unexported methods }
type Identifier ¶
func (*Identifier) TokenLiteral ¶
func (i *Identifier) TokenLiteral() string
type LetStatement ¶
type LetStatement struct { Token token.Token // the token.LET token Type *Identifier Name *Identifier Value Expression }
func (*LetStatement) TokenLiteral ¶
func (ls *LetStatement) TokenLiteral() string
type ReturnStatement ¶
type ReturnStatement struct { Token token.Token // the 'return' token ReturnValue Expression }
func (*ReturnStatement) TokenLiteral ¶
func (rs *ReturnStatement) TokenLiteral() string
Click to show internal directories.
Click to hide internal directories.