Documentation ¶
Index ¶
- type Array
- type ArrayDimFetch
- type ArrayItem
- type BitwiseNot
- type BooleanNot
- type ClassConstFetch
- type Clone
- type Closure
- type ClosureUse
- type ConstFetch
- type Die
- type Empty
- type ErrorSuppress
- type Eval
- type Exit
- type FunctionCall
- type Include
- type IncludeOnce
- type InstanceOf
- type Isset
- type List
- type MethodCall
- type New
- type PostDec
- type PostInc
- type PreDec
- type PreInc
- type Print
- type PropertyFetch
- type Require
- type RequireOnce
- type ShellExec
- type ShortArray
- type ShortList
- type StaticCall
- type StaticPropertyFetch
- type Ternary
- type UnaryMinus
- type UnaryPlus
- type Variable
- type Yield
- type YieldFrom
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArrayDimFetch ¶
ArrayDimFetch node
func NewArrayDimFetch ¶
func NewArrayDimFetch(Variable node.Node, Dim node.Node) *ArrayDimFetch
NewArrayDimFetch node constructor
func (*ArrayDimFetch) Attributes ¶
func (n *ArrayDimFetch) Attributes() map[string]interface{}
Attributes returns node attributes as map
func (*ArrayDimFetch) Walk ¶
func (n *ArrayDimFetch) Walk(v walker.Visitor)
Walk traverses nodes Walk is invoked recursively until v.EnterNode returns true
type ArrayItem ¶
ArrayItem node
func NewArrayItem ¶
NewArrayItem node constructor
func (*ArrayItem) Attributes ¶
Attributes returns node attributes as map
type BitwiseNot ¶
BitwiseNot node
func NewBitwiseNot ¶
func NewBitwiseNot(Expression node.Node) *BitwiseNot
NewBitwiseNot node constructor
func (*BitwiseNot) Attributes ¶
func (n *BitwiseNot) Attributes() map[string]interface{}
Attributes returns node attributes as map
func (*BitwiseNot) Walk ¶
func (n *BitwiseNot) Walk(v walker.Visitor)
Walk traverses nodes Walk is invoked recursively until v.EnterNode returns true
type BooleanNot ¶
BooleanNot node
func NewBooleanNot ¶
func NewBooleanNot(Expression node.Node) *BooleanNot
NewBooleanNot node constructor
func (*BooleanNot) Attributes ¶
func (n *BooleanNot) Attributes() map[string]interface{}
Attributes returns node attributes as map
func (*BooleanNot) Walk ¶
func (n *BooleanNot) Walk(v walker.Visitor)
Walk traverses nodes Walk is invoked recursively until v.EnterNode returns true
type ClassConstFetch ¶
ClassConstFetch node
func NewClassConstFetch ¶
func NewClassConstFetch(Class node.Node, ConstantName node.Node) *ClassConstFetch
NewClassConstFetch node constructor
func (*ClassConstFetch) Attributes ¶
func (n *ClassConstFetch) Attributes() map[string]interface{}
Attributes returns node attributes as map
func (*ClassConstFetch) Walk ¶
func (n *ClassConstFetch) Walk(v walker.Visitor)
Walk traverses nodes Walk is invoked recursively until v.EnterNode returns true
type Closure ¶
type Closure struct { ReturnsRef bool Static bool PhpDocComment string Params []node.Node Uses []node.Node ReturnType node.Node Stmts []node.Node }
Closure node
func NewClosure ¶
func NewClosure(Params []node.Node, Uses []node.Node, ReturnType node.Node, Stmts []node.Node, Static bool, ReturnsRef bool, PhpDocComment string) *Closure
NewClosure node constructor
func (*Closure) Attributes ¶
Attributes returns node attributes as map
type ClosureUse ¶ added in v0.2.0
ClosureUse node
func NewClosureUse ¶ added in v0.2.0
func NewClosureUse(Variable node.Node, ByRef bool) *ClosureUse
NewClosureUse node constructor
func (*ClosureUse) Attributes ¶ added in v0.2.0
func (n *ClosureUse) Attributes() map[string]interface{}
Attributes returns node attributes as map
func (*ClosureUse) Walk ¶ added in v0.2.0
func (n *ClosureUse) Walk(v walker.Visitor)
Walk traverses nodes Walk is invoked recursively until v.EnterNode returns true
type ConstFetch ¶
ConstFetch node
func NewConstFetch ¶
func NewConstFetch(Constant node.Node) *ConstFetch
NewConstFetch node constructor
func (*ConstFetch) Attributes ¶
func (n *ConstFetch) Attributes() map[string]interface{}
Attributes returns node attributes as map
func (*ConstFetch) Walk ¶
func (n *ConstFetch) Walk(v walker.Visitor)
Walk traverses nodes Walk is invoked recursively until v.EnterNode returns true
type Die ¶ added in v0.2.0
Die node
func (*Die) Attributes ¶ added in v0.2.0
Attributes returns node attributes as map
type ErrorSuppress ¶
ErrorSuppress node
func NewErrorSuppress ¶
func NewErrorSuppress(Expression node.Node) *ErrorSuppress
NewErrorSuppress node constructor
func (*ErrorSuppress) Attributes ¶
func (n *ErrorSuppress) Attributes() map[string]interface{}
Attributes returns node attributes as map
func (*ErrorSuppress) Walk ¶
func (n *ErrorSuppress) Walk(v walker.Visitor)
Walk traverses nodes Walk is invoked recursively until v.EnterNode returns true
type FunctionCall ¶
FunctionCall node
func NewFunctionCall ¶
func NewFunctionCall(Function node.Node, Arguments []node.Node) *FunctionCall
NewFunctionCall node constructor
func (*FunctionCall) Attributes ¶
func (n *FunctionCall) Attributes() map[string]interface{}
Attributes returns node attributes as map
func (*FunctionCall) Walk ¶
func (n *FunctionCall) Walk(v walker.Visitor)
Walk traverses nodes Walk is invoked recursively until v.EnterNode returns true
type IncludeOnce ¶
IncludeOnce node
func NewIncludeOnce ¶
func NewIncludeOnce(Expression node.Node) *IncludeOnce
NewIncludeOnce node constructor
func (*IncludeOnce) Attributes ¶
func (n *IncludeOnce) Attributes() map[string]interface{}
Attributes returns node attributes as map
func (*IncludeOnce) Walk ¶
func (n *IncludeOnce) Walk(v walker.Visitor)
Walk traverses nodes Walk is invoked recursively until v.EnterNode returns true
type InstanceOf ¶
InstanceOf node
func NewInstanceOf ¶
func NewInstanceOf(Expr node.Node, Class node.Node) *InstanceOf
NewInstanceOf node constructor
func (*InstanceOf) Attributes ¶
func (n *InstanceOf) Attributes() map[string]interface{}
Attributes returns node attributes as map
func (*InstanceOf) Walk ¶
func (n *InstanceOf) Walk(v walker.Visitor)
Walk traverses nodes Walk is invoked recursively until v.EnterNode returns true
type MethodCall ¶
MethodCall node
func NewMethodCall ¶
NewMethodCall node constructor
func (*MethodCall) Attributes ¶
func (n *MethodCall) Attributes() map[string]interface{}
Attributes returns node attributes as map
func (*MethodCall) Walk ¶
func (n *MethodCall) Walk(v walker.Visitor)
Walk traverses nodes Walk is invoked recursively until v.EnterNode returns true
type PropertyFetch ¶
PropertyFetch node
func NewPropertyFetch ¶
func NewPropertyFetch(Variable node.Node, Property node.Node) *PropertyFetch
NewPropertyFetch node constructor
func (*PropertyFetch) Attributes ¶
func (n *PropertyFetch) Attributes() map[string]interface{}
Attributes returns node attributes as map
func (*PropertyFetch) Walk ¶
func (n *PropertyFetch) Walk(v walker.Visitor)
Walk traverses nodes Walk is invoked recursively until v.EnterNode returns true
type RequireOnce ¶
RequireOnce node
func NewRequireOnce ¶
func NewRequireOnce(Expression node.Node) *RequireOnce
NewRequireOnce node constructor
func (*RequireOnce) Attributes ¶
func (n *RequireOnce) Attributes() map[string]interface{}
Attributes returns node attributes as map
func (*RequireOnce) Walk ¶
func (n *RequireOnce) Walk(v walker.Visitor)
Walk traverses nodes Walk is invoked recursively until v.EnterNode returns true
type ShellExec ¶
ShellExec node
func (*ShellExec) Attributes ¶
Attributes returns node attributes as map
type ShortArray ¶
ShortArray node
func NewShortArray ¶
func NewShortArray(Items []node.Node) *ShortArray
NewShortArray node constructor
func (*ShortArray) Attributes ¶
func (n *ShortArray) Attributes() map[string]interface{}
Attributes returns node attributes as map
func (*ShortArray) Walk ¶
func (n *ShortArray) Walk(v walker.Visitor)
Walk traverses nodes Walk is invoked recursively until v.EnterNode returns true
type ShortList ¶
ShortList node
func (*ShortList) Attributes ¶
Attributes returns node attributes as map
type StaticCall ¶
StaticCall node
func NewStaticCall ¶
NewStaticCall node constructor
func (*StaticCall) Attributes ¶
func (n *StaticCall) Attributes() map[string]interface{}
Attributes returns node attributes as map
func (*StaticCall) Walk ¶
func (n *StaticCall) Walk(v walker.Visitor)
Walk traverses nodes Walk is invoked recursively until v.EnterNode returns true
type StaticPropertyFetch ¶
StaticPropertyFetch node
func NewStaticPropertyFetch ¶
func NewStaticPropertyFetch(Class node.Node, Property node.Node) *StaticPropertyFetch
NewStaticPropertyFetch node constructor
func (*StaticPropertyFetch) Attributes ¶
func (n *StaticPropertyFetch) Attributes() map[string]interface{}
Attributes returns node attributes as map
func (*StaticPropertyFetch) Walk ¶
func (n *StaticPropertyFetch) Walk(v walker.Visitor)
Walk traverses nodes Walk is invoked recursively until v.EnterNode returns true
type Ternary ¶
Ternary node
func NewTernary ¶
NewTernary node constructor
func (*Ternary) Attributes ¶
Attributes returns node attributes as map
type UnaryMinus ¶
UnaryMinus node
func NewUnaryMinus ¶
func NewUnaryMinus(Expression node.Node) *UnaryMinus
NewUnaryMinus node constructor
func (*UnaryMinus) Attributes ¶
func (n *UnaryMinus) Attributes() map[string]interface{}
Attributes returns node attributes as map
func (*UnaryMinus) Walk ¶
func (n *UnaryMinus) Walk(v walker.Visitor)
Walk traverses nodes Walk is invoked recursively until v.EnterNode returns true
type UnaryPlus ¶
UnaryPlus node
func NewUnaryPlus ¶
NewUnaryPlus node constructor
func (*UnaryPlus) Attributes ¶
Attributes returns node attributes as map
type Variable ¶
Variable node
func (*Variable) Attributes ¶
Attributes returns node attributes as map
func (*Variable) SetVarName ¶
SetVarName reset var name
type YieldFrom ¶
YieldFrom node
func NewYieldFrom ¶
NewYieldFrom node constructor
func (*YieldFrom) Attributes ¶
Attributes returns node attributes as map
Source Files ¶
- n_array.go
- n_array_dim_fetch.go
- n_array_item.go
- n_bitwise_not.go
- n_boolean_not.go
- n_class_const_fetch.go
- n_clone.go
- n_closure.go
- n_closure_use.go
- n_const_fetch.go
- n_die.go
- n_empty.go
- n_error_suppress.go
- n_eval.go
- n_exit.go
- n_function_call.go
- n_include.go
- n_include_once.go
- n_instance_of.go
- n_isset.go
- n_list.go
- n_method_call.go
- n_new.go
- n_post_dec.go
- n_post_inc.go
- n_pre_dec.go
- n_pre_inc.go
- n_print.go
- n_property_fetch.go
- n_require.go
- n_require_once.go
- n_shell_exec.go
- n_short_array.go
- n_short_list.go
- n_static_call.go
- n_static_property_fetch.go
- n_ternary.go
- n_unary_minus.go
- n_unary_plus.go
- n_variable.go
- n_yield.go
- n_yield_from.go