Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Assign ¶
type Assign struct { FreeFloating freefloating.Collection Position *position.Position Variable node.Node Expression node.Node }
Assign node
func (*Assign) Attributes ¶
Attributes returns node attributes as map
func (*Assign) GetFreeFloating ¶ added in v0.6.0
func (n *Assign) GetFreeFloating() *freefloating.Collection
func (*Assign) GetPosition ¶ added in v0.6.0
GetPosition returns node positions
func (*Assign) SetPosition ¶ added in v0.6.0
SetPosition sets node position
type BitwiseAnd ¶
type BitwiseAnd struct { FreeFloating freefloating.Collection Position *position.Position Variable node.Node Expression node.Node }
BitwiseAnd node
func NewBitwiseAnd ¶
func NewBitwiseAnd(Variable node.Node, Expression node.Node) *BitwiseAnd
NewBitwiseAnd node constructor
func (*BitwiseAnd) Attributes ¶
func (n *BitwiseAnd) Attributes() map[string]interface{}
Attributes returns node attributes as map
func (*BitwiseAnd) GetFreeFloating ¶ added in v0.6.0
func (n *BitwiseAnd) GetFreeFloating() *freefloating.Collection
func (*BitwiseAnd) GetPosition ¶ added in v0.6.0
func (n *BitwiseAnd) GetPosition() *position.Position
GetPosition returns node positions
func (*BitwiseAnd) SetPosition ¶ added in v0.6.0
func (n *BitwiseAnd) SetPosition(p *position.Position)
SetPosition sets node position
func (*BitwiseAnd) Walk ¶
func (n *BitwiseAnd) Walk(v walker.Visitor)
Walk traverses nodes Walk is invoked recursively until v.EnterNode returns true
type BitwiseOr ¶
type BitwiseOr struct { FreeFloating freefloating.Collection Position *position.Position Variable node.Node Expression node.Node }
BitwiseOr node
func NewBitwiseOr ¶
NewBitwiseOr node constructor
func (*BitwiseOr) Attributes ¶
Attributes returns node attributes as map
func (*BitwiseOr) GetFreeFloating ¶ added in v0.6.0
func (n *BitwiseOr) GetFreeFloating() *freefloating.Collection
func (*BitwiseOr) GetPosition ¶ added in v0.6.0
GetPosition returns node positions
func (*BitwiseOr) SetPosition ¶ added in v0.6.0
SetPosition sets node position
type BitwiseXor ¶
type BitwiseXor struct { FreeFloating freefloating.Collection Position *position.Position Variable node.Node Expression node.Node }
BitwiseXor node
func NewBitwiseXor ¶
func NewBitwiseXor(Variable node.Node, Expression node.Node) *BitwiseXor
NewBitwiseXor node constructor
func (*BitwiseXor) Attributes ¶
func (n *BitwiseXor) Attributes() map[string]interface{}
Attributes returns node attributes as map
func (*BitwiseXor) GetFreeFloating ¶ added in v0.6.0
func (n *BitwiseXor) GetFreeFloating() *freefloating.Collection
func (*BitwiseXor) GetPosition ¶ added in v0.6.0
func (n *BitwiseXor) GetPosition() *position.Position
GetPosition returns node positions
func (*BitwiseXor) SetPosition ¶ added in v0.6.0
func (n *BitwiseXor) SetPosition(p *position.Position)
SetPosition sets node position
func (*BitwiseXor) Walk ¶
func (n *BitwiseXor) Walk(v walker.Visitor)
Walk traverses nodes Walk is invoked recursively until v.EnterNode returns true
type Concat ¶
type Concat struct { FreeFloating freefloating.Collection Position *position.Position Variable node.Node Expression node.Node }
Concat node
func (*Concat) Attributes ¶
Attributes returns node attributes as map
func (*Concat) GetFreeFloating ¶ added in v0.6.0
func (n *Concat) GetFreeFloating() *freefloating.Collection
func (*Concat) GetPosition ¶ added in v0.6.0
GetPosition returns node positions
func (*Concat) SetPosition ¶ added in v0.6.0
SetPosition sets node position
type Div ¶
type Div struct { FreeFloating freefloating.Collection Position *position.Position Variable node.Node Expression node.Node }
Div node
func (*Div) Attributes ¶
Attributes returns node attributes as map
func (*Div) GetFreeFloating ¶ added in v0.6.0
func (n *Div) GetFreeFloating() *freefloating.Collection
func (*Div) GetPosition ¶ added in v0.6.0
GetPosition returns node positions
func (*Div) SetPosition ¶ added in v0.6.0
SetPosition sets node position
type Minus ¶
type Minus struct { FreeFloating freefloating.Collection Position *position.Position Variable node.Node Expression node.Node }
Minus node
func (*Minus) Attributes ¶
Attributes returns node attributes as map
func (*Minus) GetFreeFloating ¶ added in v0.6.0
func (n *Minus) GetFreeFloating() *freefloating.Collection
func (*Minus) GetPosition ¶ added in v0.6.0
GetPosition returns node positions
func (*Minus) SetPosition ¶ added in v0.6.0
SetPosition sets node position
type Mod ¶
type Mod struct { FreeFloating freefloating.Collection Position *position.Position Variable node.Node Expression node.Node }
Mod node
func (*Mod) Attributes ¶
Attributes returns node attributes as map
func (*Mod) GetFreeFloating ¶ added in v0.6.0
func (n *Mod) GetFreeFloating() *freefloating.Collection
func (*Mod) GetPosition ¶ added in v0.6.0
GetPosition returns node positions
func (*Mod) SetPosition ¶ added in v0.6.0
SetPosition sets node position
type Mul ¶
type Mul struct { FreeFloating freefloating.Collection Position *position.Position Variable node.Node Expression node.Node }
Mul node
func (*Mul) Attributes ¶
Attributes returns node attributes as map
func (*Mul) GetFreeFloating ¶ added in v0.6.0
func (n *Mul) GetFreeFloating() *freefloating.Collection
func (*Mul) GetPosition ¶ added in v0.6.0
GetPosition returns node positions
func (*Mul) SetPosition ¶ added in v0.6.0
SetPosition sets node position
type Plus ¶
type Plus struct { FreeFloating freefloating.Collection Position *position.Position Variable node.Node Expression node.Node }
Plus node
func (*Plus) Attributes ¶
Attributes returns node attributes as map
func (*Plus) GetFreeFloating ¶ added in v0.6.0
func (n *Plus) GetFreeFloating() *freefloating.Collection
func (*Plus) GetPosition ¶ added in v0.6.0
GetPosition returns node positions
func (*Plus) SetPosition ¶ added in v0.6.0
SetPosition sets node position
type Pow ¶
type Pow struct { FreeFloating freefloating.Collection Position *position.Position Variable node.Node Expression node.Node }
Pow node
func (*Pow) Attributes ¶
Attributes returns node attributes as map
func (*Pow) GetFreeFloating ¶ added in v0.6.0
func (n *Pow) GetFreeFloating() *freefloating.Collection
func (*Pow) GetPosition ¶ added in v0.6.0
GetPosition returns node positions
func (*Pow) SetPosition ¶ added in v0.6.0
SetPosition sets node position
type Reference ¶ added in v0.4.0
type Reference struct { FreeFloating freefloating.Collection Position *position.Position Variable node.Node Expression node.Node }
Reference node
func NewReference ¶ added in v0.4.0
NewReference node constructor
func (*Reference) Attributes ¶ added in v0.4.0
Attributes returns node attributes as map
func (*Reference) GetFreeFloating ¶ added in v0.6.0
func (n *Reference) GetFreeFloating() *freefloating.Collection
func (*Reference) GetPosition ¶ added in v0.6.0
GetPosition returns node positions
func (*Reference) SetPosition ¶ added in v0.6.0
SetPosition sets node position
type ShiftLeft ¶
type ShiftLeft struct { FreeFloating freefloating.Collection Position *position.Position Variable node.Node Expression node.Node }
ShiftLeft node
func NewShiftLeft ¶
NewShiftLeft node constructor
func (*ShiftLeft) Attributes ¶
Attributes returns node attributes as map
func (*ShiftLeft) GetFreeFloating ¶ added in v0.6.0
func (n *ShiftLeft) GetFreeFloating() *freefloating.Collection
func (*ShiftLeft) GetPosition ¶ added in v0.6.0
GetPosition returns node positions
func (*ShiftLeft) SetPosition ¶ added in v0.6.0
SetPosition sets node position
type ShiftRight ¶
type ShiftRight struct { FreeFloating freefloating.Collection Position *position.Position Variable node.Node Expression node.Node }
ShiftRight node
func NewShiftRight ¶
func NewShiftRight(Variable node.Node, Expression node.Node) *ShiftRight
NewShiftRight node constructor
func (*ShiftRight) Attributes ¶
func (n *ShiftRight) Attributes() map[string]interface{}
Attributes returns node attributes as map
func (*ShiftRight) GetFreeFloating ¶ added in v0.6.0
func (n *ShiftRight) GetFreeFloating() *freefloating.Collection
func (*ShiftRight) GetPosition ¶ added in v0.6.0
func (n *ShiftRight) GetPosition() *position.Position
GetPosition returns node positions
func (*ShiftRight) SetPosition ¶ added in v0.6.0
func (n *ShiftRight) SetPosition(p *position.Position)
SetPosition sets node position
func (*ShiftRight) Walk ¶
func (n *ShiftRight) Walk(v walker.Visitor)
Walk traverses nodes Walk is invoked recursively until v.EnterNode returns true