Documentation ¶
Overview ¶
Package ast implements the javascript Abstract Syntax Tree representation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CallExpr ¶
func NewCallExpr ¶
type FunDecl ¶
FunDecl is the syntatic function declaration
func NewFunDecl ¶
NewFunDecl creates a new function declaration node.
type MemberExpr ¶
MemberExpr handles get of object's properties eg.: <object>.<property>
func NewMemberExpr ¶
func NewMemberExpr(object Node, property Ident) *MemberExpr
func (*MemberExpr) Equal ¶
func (m *MemberExpr) Equal(other Node) bool
func (*MemberExpr) String ¶
func (m *MemberExpr) String() string
func (*MemberExpr) Type ¶
func (m *MemberExpr) Type() NodeType
type Number ¶
type Number float64
func NewIntNumber ¶
type VarDecl ¶
func NewVarDecl ¶
Click to show internal directories.
Click to hide internal directories.