assign_op

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2018 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Assign

type Assign struct {
	AssignOp
}

Assign node

func NewAssign

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

NewAssign node constuctor

func (*Assign) Attributes

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

Attributes returns node attributes as map

func (*Assign) Walk

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

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

type AssignOp

type AssignOp struct {
	Variable   node.Node
	Expression node.Node
}

AssignOp node

type AssignRef

type AssignRef struct {
	AssignOp
}

AssignRef node

func NewAssignRef

func NewAssignRef(Variable node.Node, Expression node.Node) *AssignRef

NewAssignRef node constuctor

func (*AssignRef) Attributes

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

Attributes returns node attributes as map

func (*AssignRef) Walk

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

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

type BitwiseAnd

type BitwiseAnd struct {
	AssignOp
}

BitwiseAnd node

func NewBitwiseAnd

func NewBitwiseAnd(Variable node.Node, Expression node.Node) *BitwiseAnd

NewBitwiseAnd node constuctor

func (*BitwiseAnd) Attributes

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

Attributes returns node attributes as map

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 {
	AssignOp
}

BitwiseOr node

func NewBitwiseOr

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

NewBitwiseOr node constuctor

func (*BitwiseOr) Attributes

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

Attributes returns node attributes as map

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 {
	AssignOp
}

BitwiseXor node

func NewBitwiseXor

func NewBitwiseXor(Variable node.Node, Expression node.Node) *BitwiseXor

NewBitwiseXor node constuctor

func (*BitwiseXor) Attributes

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

Attributes returns node attributes as map

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 {
	AssignOp
}

Concat node

func NewConcat

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

NewConcat node constuctor

func (*Concat) Attributes

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

Attributes returns node attributes as map

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 {
	AssignOp
}

Div node

func NewDiv

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

NewDiv node constuctor

func (*Div) Attributes

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

Attributes returns node attributes as map

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 {
	AssignOp
}

Minus node

func NewMinus

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

NewMinus node constuctor

func (*Minus) Attributes

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

Attributes returns node attributes as map

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 {
	AssignOp
}

Mod node

func NewMod

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

NewMod node constuctor

func (*Mod) Attributes

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

Attributes returns node attributes as map

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 {
	AssignOp
}

Mul node

func NewMul

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

NewMul node constuctor

func (*Mul) Attributes

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

Attributes returns node attributes as map

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 {
	AssignOp
}

Plus node

func NewPlus

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

NewPlus node constuctor

func (*Plus) Attributes

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

Attributes returns node attributes as map

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 {
	AssignOp
}

Pow node

func NewPow

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

NewPow node constuctor

func (*Pow) Attributes

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

Attributes returns node attributes as map

func (*Pow) Walk

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

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

type ShiftLeft

type ShiftLeft struct {
	AssignOp
}

ShiftLeft node

func NewShiftLeft

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

NewShiftLeft node constuctor

func (*ShiftLeft) Attributes

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

Attributes returns node attributes as map

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 {
	AssignOp
}

ShiftRight node

func NewShiftRight

func NewShiftRight(Variable node.Node, Expression node.Node) *ShiftRight

NewShiftRight node constuctor

func (*ShiftRight) Attributes

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

Attributes returns node attributes as map

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