assign

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 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 {
	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) 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 {
	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) 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 {
	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) 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 {
	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) 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 {
	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) 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 {
	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) 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 {
	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) 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 {
	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) 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 {
	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) 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 {
	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) 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 {
	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) 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 {
	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) 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 {
	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) 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 {
	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) 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