assign

package
v0.6.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 20, 2019 License: MIT Imports: 4 Imported by: 8

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 NewAssign

func NewAssign(Variable node.Node, Expression node.Node) *Assign

NewAssign node constructor

func (*Assign) Attributes

func (n *Assign) Attributes() map[string]interface{}

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

func (n *Assign) GetPosition() *position.Position

GetPosition returns node positions

func (*Assign) SetPosition added in v0.6.0

func (n *Assign) SetPosition(p *position.Position)

SetPosition sets node position

func (*Assign) Walk

func (n *Assign) Walk(v walker.Visitor)

Walk traverses nodes Walk is invoked recursively until v.EnterNode returns true

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

func NewBitwiseOr(Variable node.Node, Expression node.Node) *BitwiseOr

NewBitwiseOr node constructor

func (*BitwiseOr) Attributes

func (n *BitwiseOr) Attributes() map[string]interface{}

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

func (n *BitwiseOr) GetPosition() *position.Position

GetPosition returns node positions

func (*BitwiseOr) SetPosition added in v0.6.0

func (n *BitwiseOr) SetPosition(p *position.Position)

SetPosition sets node position

func (*BitwiseOr) Walk

func (n *BitwiseOr) Walk(v walker.Visitor)

Walk traverses nodes Walk is invoked recursively until v.EnterNode returns true

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 NewConcat

func NewConcat(Variable node.Node, Expression node.Node) *Concat

NewConcat node constructor

func (*Concat) Attributes

func (n *Concat) Attributes() map[string]interface{}

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

func (n *Concat) GetPosition() *position.Position

GetPosition returns node positions

func (*Concat) SetPosition added in v0.6.0

func (n *Concat) SetPosition(p *position.Position)

SetPosition sets node position

func (*Concat) Walk

func (n *Concat) Walk(v walker.Visitor)

Walk traverses nodes Walk is invoked recursively until v.EnterNode returns true

type Div

type Div struct {
	FreeFloating freefloating.Collection
	Position     *position.Position
	Variable     node.Node
	Expression   node.Node
}

Div node

func NewDiv

func NewDiv(Variable node.Node, Expression node.Node) *Div

NewDiv node constructor

func (*Div) Attributes

func (n *Div) Attributes() map[string]interface{}

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

func (n *Div) GetPosition() *position.Position

GetPosition returns node positions

func (*Div) SetPosition added in v0.6.0

func (n *Div) SetPosition(p *position.Position)

SetPosition sets node position

func (*Div) Walk

func (n *Div) Walk(v walker.Visitor)

Walk traverses nodes Walk is invoked recursively until v.EnterNode returns true

type Minus

type Minus struct {
	FreeFloating freefloating.Collection
	Position     *position.Position
	Variable     node.Node
	Expression   node.Node
}

Minus node

func NewMinus

func NewMinus(Variable node.Node, Expression node.Node) *Minus

NewMinus node constructor

func (*Minus) Attributes

func (n *Minus) Attributes() map[string]interface{}

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

func (n *Minus) GetPosition() *position.Position

GetPosition returns node positions

func (*Minus) SetPosition added in v0.6.0

func (n *Minus) SetPosition(p *position.Position)

SetPosition sets node position

func (*Minus) Walk

func (n *Minus) Walk(v walker.Visitor)

Walk traverses nodes Walk is invoked recursively until v.EnterNode returns true

type Mod

type Mod struct {
	FreeFloating freefloating.Collection
	Position     *position.Position
	Variable     node.Node
	Expression   node.Node
}

Mod node

func NewMod

func NewMod(Variable node.Node, Expression node.Node) *Mod

NewMod node constructor

func (*Mod) Attributes

func (n *Mod) Attributes() map[string]interface{}

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

func (n *Mod) GetPosition() *position.Position

GetPosition returns node positions

func (*Mod) SetPosition added in v0.6.0

func (n *Mod) SetPosition(p *position.Position)

SetPosition sets node position

func (*Mod) Walk

func (n *Mod) Walk(v walker.Visitor)

Walk traverses nodes Walk is invoked recursively until v.EnterNode returns true

type Mul

type Mul struct {
	FreeFloating freefloating.Collection
	Position     *position.Position
	Variable     node.Node
	Expression   node.Node
}

Mul node

func NewMul

func NewMul(Variable node.Node, Expression node.Node) *Mul

NewMul node constructor

func (*Mul) Attributes

func (n *Mul) Attributes() map[string]interface{}

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

func (n *Mul) GetPosition() *position.Position

GetPosition returns node positions

func (*Mul) SetPosition added in v0.6.0

func (n *Mul) SetPosition(p *position.Position)

SetPosition sets node position

func (*Mul) Walk

func (n *Mul) Walk(v walker.Visitor)

Walk traverses nodes Walk is invoked recursively until v.EnterNode returns true

type Plus

type Plus struct {
	FreeFloating freefloating.Collection
	Position     *position.Position
	Variable     node.Node
	Expression   node.Node
}

Plus node

func NewPlus

func NewPlus(Variable node.Node, Expression node.Node) *Plus

NewPlus node constructor

func (*Plus) Attributes

func (n *Plus) Attributes() map[string]interface{}

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

func (n *Plus) GetPosition() *position.Position

GetPosition returns node positions

func (*Plus) SetPosition added in v0.6.0

func (n *Plus) SetPosition(p *position.Position)

SetPosition sets node position

func (*Plus) Walk

func (n *Plus) Walk(v walker.Visitor)

Walk traverses nodes Walk is invoked recursively until v.EnterNode returns true

type Pow

type Pow struct {
	FreeFloating freefloating.Collection
	Position     *position.Position
	Variable     node.Node
	Expression   node.Node
}

Pow node

func NewPow

func NewPow(Variable node.Node, Expression node.Node) *Pow

NewPow node constructor

func (*Pow) Attributes

func (n *Pow) Attributes() map[string]interface{}

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

func (n *Pow) GetPosition() *position.Position

GetPosition returns node positions

func (*Pow) SetPosition added in v0.6.0

func (n *Pow) SetPosition(p *position.Position)

SetPosition sets node position

func (*Pow) Walk

func (n *Pow) Walk(v walker.Visitor)

Walk traverses nodes Walk is invoked recursively until v.EnterNode returns true

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

func NewReference(Variable node.Node, Expression node.Node) *Reference

NewReference node constructor

func (*Reference) Attributes added in v0.4.0

func (n *Reference) Attributes() map[string]interface{}

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

func (n *Reference) GetPosition() *position.Position

GetPosition returns node positions

func (*Reference) SetPosition added in v0.6.0

func (n *Reference) SetPosition(p *position.Position)

SetPosition sets node position

func (*Reference) Walk added in v0.4.0

func (n *Reference) Walk(v walker.Visitor)

Walk traverses nodes Walk is invoked recursively until v.EnterNode returns true

type ShiftLeft

type ShiftLeft struct {
	FreeFloating freefloating.Collection
	Position     *position.Position
	Variable     node.Node
	Expression   node.Node
}

ShiftLeft node

func NewShiftLeft

func NewShiftLeft(Variable node.Node, Expression node.Node) *ShiftLeft

NewShiftLeft node constructor

func (*ShiftLeft) Attributes

func (n *ShiftLeft) Attributes() map[string]interface{}

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

func (n *ShiftLeft) GetPosition() *position.Position

GetPosition returns node positions

func (*ShiftLeft) SetPosition added in v0.6.0

func (n *ShiftLeft) SetPosition(p *position.Position)

SetPosition sets node position

func (*ShiftLeft) Walk

func (n *ShiftLeft) Walk(v walker.Visitor)

Walk traverses nodes Walk is invoked recursively until v.EnterNode returns true

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL