ast
-- import "github.com/robertkrimen/otto/ast"
Package ast declares types representing a JavaScript AST.
Warning
The parser and AST interfaces are still works-in-progress (particularly where node types are concerned) and may change in the future.
Usage
type ArrayLiteral
func (*ArrayLiteral) Idx0
func (*ArrayLiteral) Idx1
type AssignExpression
func (*AssignExpression) Idx0
func (*AssignExpression) Idx1
type BadExpression
func (*BadExpression) Idx0
func (*BadExpression) Idx1
type BadStatement
func (*BadStatement) Idx0
func (*BadStatement) Idx1
type BinaryExpression
func (*BinaryExpression) Idx0
func (*BinaryExpression) Idx1
type BlockStatement
func (*BlockStatement) Idx0
func (*BlockStatement) Idx1
type BooleanLiteral
func (*BooleanLiteral) Idx0
func (*BooleanLiteral) Idx1
type BracketExpression
func (*BracketExpression) Idx0
func (*BracketExpression) Idx1
type BranchStatement
func (*BranchStatement) Idx0
func (*BranchStatement) Idx1
type CallExpression
func (*CallExpression) Idx0
func (*CallExpression) Idx1
type CaseStatement
func (*CaseStatement) Idx0
func (*CaseStatement) Idx1
type CatchStatement
func (*CatchStatement) Idx0
func (*CatchStatement) Idx1
type ConditionalExpression
func (*ConditionalExpression) Idx0
func (*ConditionalExpression) Idx1
type DebuggerStatement
func (*DebuggerStatement) Idx0
func (*DebuggerStatement) Idx1
type Declaration
All declaration nodes implement the Declaration interface.
type DoWhileStatement
func (*DoWhileStatement) Idx0
func (*DoWhileStatement) Idx1
type DotExpression
func (*DotExpression) Idx0
func (*DotExpression) Idx1
type EmptyStatement
func (*EmptyStatement) Idx0
func (*EmptyStatement) Idx1
type Expression
All expression nodes implement the Expression interface.
type ExpressionStatement
func (*ExpressionStatement) Idx0
func (*ExpressionStatement) Idx1
type ForInStatement
func (*ForInStatement) Idx0
func (*ForInStatement) Idx1
type ForStatement
func (*ForStatement) Idx0
func (*ForStatement) Idx1
type FunctionDeclaration
type FunctionLiteral
func (*FunctionLiteral) Idx0
func (*FunctionLiteral) Idx1
type Identifier
func (*Identifier) Idx0
func (*Identifier) Idx1
type IfStatement
func (*IfStatement) Idx0
func (*IfStatement) Idx1
type LabelledStatement
func (*LabelledStatement) Idx0
func (*LabelledStatement) Idx1
type NewExpression
func (*NewExpression) Idx0
func (*NewExpression) Idx1
type Node
All nodes implement the Node interface.
type NullLiteral
func (*NullLiteral) Idx0
func (*NullLiteral) Idx1
type NumberLiteral
func (*NumberLiteral) Idx0
func (*NumberLiteral) Idx1
type ObjectLiteral
func (*ObjectLiteral) Idx0
func (*ObjectLiteral) Idx1
type ParameterList
type Program
func (*Program) Idx0
func (*Program) Idx1
type Property
type RegExpLiteral
func (*RegExpLiteral) Idx0
func (*RegExpLiteral) Idx1
type ReturnStatement
func (*ReturnStatement) Idx0
func (*ReturnStatement) Idx1
type SequenceExpression
func (*SequenceExpression) Idx0
func (*SequenceExpression) Idx1
type Statement
All statement nodes implement the Statement interface.
type StringLiteral
func (*StringLiteral) Idx0
func (*StringLiteral) Idx1
type SwitchStatement
func (*SwitchStatement) Idx0
func (*SwitchStatement) Idx1
type ThisExpression
func (*ThisExpression) Idx0
func (*ThisExpression) Idx1
type ThrowStatement
func (*ThrowStatement) Idx0
func (*ThrowStatement) Idx1
type TryStatement
func (*TryStatement) Idx0
func (*TryStatement) Idx1
type UnaryExpression
func (*UnaryExpression) Idx0
func (*UnaryExpression) Idx1
type VariableDeclaration
type VariableExpression
func (*VariableExpression) Idx0
func (*VariableExpression) Idx1
type VariableStatement
func (*VariableStatement) Idx0
func (*VariableStatement) Idx1
type WhileStatement
func (*WhileStatement) Idx0
func (*WhileStatement) Idx1
type WithStatement
func (*WithStatement) Idx0
func (*WithStatement) Idx1
-- godocdown http://github.com/robertkrimen/godocdown
Last updated