Versions in this module Expand all Collapse all v0 v0.0.1 Jan 25, 2016 Changes in this version + type ArrayLiteral struct + LeftBracket file.Idx + RightBracket file.Idx + Value []Expression + func (self *ArrayLiteral) Idx0() file.Idx + func (self *ArrayLiteral) Idx1() file.Idx + type AssignExpression struct + Left Expression + Operator token.Token + Right Expression + func (self *AssignExpression) Idx0() file.Idx + func (self *AssignExpression) Idx1() file.Idx + type BadExpression struct + From file.Idx + To file.Idx + func (self *BadExpression) Idx0() file.Idx + func (self *BadExpression) Idx1() file.Idx + type BadStatement struct + From file.Idx + To file.Idx + func (self *BadStatement) Idx0() file.Idx + func (self *BadStatement) Idx1() file.Idx + type BinaryExpression struct + Comparison bool + Left Expression + Operator token.Token + Right Expression + func (self *BinaryExpression) Idx0() file.Idx + func (self *BinaryExpression) Idx1() file.Idx + type BlockStatement struct + LeftBrace file.Idx + List []Statement + RightBrace file.Idx + func (self *BlockStatement) Idx0() file.Idx + func (self *BlockStatement) Idx1() file.Idx + type BooleanLiteral struct + Idx file.Idx + Literal string + Value bool + func (self *BooleanLiteral) Idx0() file.Idx + func (self *BooleanLiteral) Idx1() file.Idx + type BracketExpression struct + Left Expression + LeftBracket file.Idx + Member Expression + RightBracket file.Idx + func (self *BracketExpression) Idx0() file.Idx + func (self *BracketExpression) Idx1() file.Idx + type BranchStatement struct + Idx file.Idx + Label *Identifier + Token token.Token + func (self *BranchStatement) Idx0() file.Idx + func (self *BranchStatement) Idx1() file.Idx + type CallExpression struct + ArgumentList []Expression + Callee Expression + LeftParenthesis file.Idx + RightParenthesis file.Idx + func (self *CallExpression) Idx0() file.Idx + func (self *CallExpression) Idx1() file.Idx + type CaseStatement struct + Case file.Idx + Consequent []Statement + Test Expression + func (self *CaseStatement) Idx0() file.Idx + func (self *CaseStatement) Idx1() file.Idx + type CatchStatement struct + Body Statement + Catch file.Idx + Parameter *Identifier + func (self *CatchStatement) Idx0() file.Idx + func (self *CatchStatement) Idx1() file.Idx + type ConditionalExpression struct + Alternate Expression + Consequent Expression + Test Expression + func (self *ConditionalExpression) Idx0() file.Idx + func (self *ConditionalExpression) Idx1() file.Idx + type DebuggerStatement struct + Debugger file.Idx + func (self *DebuggerStatement) Idx0() file.Idx + func (self *DebuggerStatement) Idx1() file.Idx + type Declaration interface + type DoWhileStatement struct + Body Statement + Do file.Idx + Test Expression + func (self *DoWhileStatement) Idx0() file.Idx + func (self *DoWhileStatement) Idx1() file.Idx + type DotExpression struct + Identifier Identifier + Left Expression + func (self *DotExpression) Idx0() file.Idx + func (self *DotExpression) Idx1() file.Idx + type EmptyStatement struct + Semicolon file.Idx + func (self *EmptyStatement) Idx0() file.Idx + func (self *EmptyStatement) Idx1() file.Idx + type Expression interface + type ExpressionStatement struct + Expression Expression + func (self *ExpressionStatement) Idx0() file.Idx + func (self *ExpressionStatement) Idx1() file.Idx + type ForInStatement struct + Body Statement + For file.Idx + Into Expression + Source Expression + func (self *ForInStatement) Idx0() file.Idx + func (self *ForInStatement) Idx1() file.Idx + type ForStatement struct + Body Statement + For file.Idx + Initializer Expression + Test Expression + Update Expression + func (self *ForStatement) Idx0() file.Idx + func (self *ForStatement) Idx1() file.Idx + type FunctionDeclaration struct + Function *FunctionLiteral + type FunctionLiteral struct + Body Statement + DeclarationList []Declaration + Function file.Idx + Name *Identifier + ParameterList *ParameterList + Source string + func (self *FunctionLiteral) Idx0() file.Idx + func (self *FunctionLiteral) Idx1() file.Idx + type Identifier struct + Idx file.Idx + Name string + func (self *Identifier) Idx0() file.Idx + func (self *Identifier) Idx1() file.Idx + type IfStatement struct + Alternate Statement + Consequent Statement + If file.Idx + Test Expression + func (self *IfStatement) Idx0() file.Idx + func (self *IfStatement) Idx1() file.Idx + type LabelledStatement struct + Colon file.Idx + Label *Identifier + Statement Statement + func (self *LabelledStatement) Idx0() file.Idx + func (self *LabelledStatement) Idx1() file.Idx + type NewExpression struct + ArgumentList []Expression + Callee Expression + LeftParenthesis file.Idx + New file.Idx + RightParenthesis file.Idx + func (self *NewExpression) Idx0() file.Idx + func (self *NewExpression) Idx1() file.Idx + type Node interface + Idx0 func() file.Idx + Idx1 func() file.Idx + type NullLiteral struct + Idx file.Idx + Literal string + func (self *NullLiteral) Idx0() file.Idx + func (self *NullLiteral) Idx1() file.Idx + type NumberLiteral struct + Idx file.Idx + Literal string + Value interface{} + func (self *NumberLiteral) Idx0() file.Idx + func (self *NumberLiteral) Idx1() file.Idx + type ObjectLiteral struct + LeftBrace file.Idx + RightBrace file.Idx + Value []Property + func (self *ObjectLiteral) Idx0() file.Idx + func (self *ObjectLiteral) Idx1() file.Idx + type ParameterList struct + Closing file.Idx + List []*Identifier + Opening file.Idx + type Program struct + Body []Statement + DeclarationList []Declaration + File *file.File + func (self *Program) Idx0() file.Idx + func (self *Program) Idx1() file.Idx + type Property struct + Key string + Kind string + Value Expression + type RegExpLiteral struct + Flags string + Idx file.Idx + Literal string + Pattern string + Value string + func (self *RegExpLiteral) Idx0() file.Idx + func (self *RegExpLiteral) Idx1() file.Idx + type ReturnStatement struct + Argument Expression + Return file.Idx + func (self *ReturnStatement) Idx0() file.Idx + func (self *ReturnStatement) Idx1() file.Idx + type SequenceExpression struct + Sequence []Expression + func (self *SequenceExpression) Idx0() file.Idx + func (self *SequenceExpression) Idx1() file.Idx + type Statement interface + type StringLiteral struct + Idx file.Idx + Literal string + Value string + func (self *StringLiteral) Idx0() file.Idx + func (self *StringLiteral) Idx1() file.Idx + type SwitchStatement struct + Body []*CaseStatement + Default int + Discriminant Expression + Switch file.Idx + func (self *SwitchStatement) Idx0() file.Idx + func (self *SwitchStatement) Idx1() file.Idx + type ThisExpression struct + Idx file.Idx + func (self *ThisExpression) Idx0() file.Idx + func (self *ThisExpression) Idx1() file.Idx + type ThrowStatement struct + Argument Expression + Throw file.Idx + func (self *ThrowStatement) Idx0() file.Idx + func (self *ThrowStatement) Idx1() file.Idx + type TryStatement struct + Body Statement + Catch *CatchStatement + Finally Statement + Try file.Idx + func (self *TryStatement) Idx0() file.Idx + func (self *TryStatement) Idx1() file.Idx + type UnaryExpression struct + Idx file.Idx + Operand Expression + Operator token.Token + Postfix bool + func (self *UnaryExpression) Idx0() file.Idx + func (self *UnaryExpression) Idx1() file.Idx + type VariableDeclaration struct + List []*VariableExpression + Var file.Idx + type VariableExpression struct + Idx file.Idx + Initializer Expression + Name string + func (self *VariableExpression) Idx0() file.Idx + func (self *VariableExpression) Idx1() file.Idx + type VariableStatement struct + List []Expression + Var file.Idx + func (self *VariableStatement) Idx0() file.Idx + func (self *VariableStatement) Idx1() file.Idx + type WhileStatement struct + Body Statement + Test Expression + While file.Idx + func (self *WhileStatement) Idx0() file.Idx + func (self *WhileStatement) Idx1() file.Idx + type WithStatement struct + Body Statement + Object Expression + With file.Idx + func (self *WithStatement) Idx0() file.Idx + func (self *WithStatement) Idx1() file.Idx