binary_op

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 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 BitwiseAnd

type BitwiseAnd struct {
	Left  node.Node
	Right node.Node
}

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 {
	Left  node.Node
	Right node.Node
}

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 {
	Left  node.Node
	Right node.Node
}

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 BooleanAnd

type BooleanAnd struct {
	Left  node.Node
	Right node.Node
}

BooleanAnd node

func NewBooleanAnd

func NewBooleanAnd(Variable node.Node, Expression node.Node) *BooleanAnd

NewBooleanAnd node constuctor

func (*BooleanAnd) Attributes

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

Attributes returns node attributes as map

func (*BooleanAnd) Walk

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

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

type BooleanOr

type BooleanOr struct {
	Left  node.Node
	Right node.Node
}

BooleanOr node

func NewBooleanOr

func NewBooleanOr(Variable node.Node, Expression node.Node) *BooleanOr

NewBooleanOr node constuctor

func (*BooleanOr) Attributes

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

Attributes returns node attributes as map

func (*BooleanOr) Walk

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

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

type Coalesce

type Coalesce struct {
	Left  node.Node
	Right node.Node
}

Coalesce node

func NewCoalesce

func NewCoalesce(Variable node.Node, Expression node.Node) *Coalesce

NewCoalesce node constuctor

func (*Coalesce) Attributes

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

Attributes returns node attributes as map

func (*Coalesce) Walk

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

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

type Concat

type Concat struct {
	Left  node.Node
	Right node.Node
}

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 {
	Left  node.Node
	Right node.Node
}

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 Equal

type Equal struct {
	Left  node.Node
	Right node.Node
}

Equal node

func NewEqual

func NewEqual(Variable node.Node, Expression node.Node) *Equal

NewEqual node constuctor

func (*Equal) Attributes

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

Attributes returns node attributes as map

func (*Equal) Walk

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

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

type Greater

type Greater struct {
	Left  node.Node
	Right node.Node
}

Greater node

func NewGreater

func NewGreater(Variable node.Node, Expression node.Node) *Greater

NewGreater node constuctor

func (*Greater) Attributes

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

Attributes returns node attributes as map

func (*Greater) Walk

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

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

type GreaterOrEqual

type GreaterOrEqual struct {
	Left  node.Node
	Right node.Node
}

GreaterOrEqual node

func NewGreaterOrEqual

func NewGreaterOrEqual(Variable node.Node, Expression node.Node) *GreaterOrEqual

NewGreaterOrEqual node constuctor

func (*GreaterOrEqual) Attributes

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

Attributes returns node attributes as map

func (*GreaterOrEqual) Walk

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

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

type Identical

type Identical struct {
	Left  node.Node
	Right node.Node
}

Identical node

func NewIdentical

func NewIdentical(Variable node.Node, Expression node.Node) *Identical

NewIdentical node constuctor

func (*Identical) Attributes

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

Attributes returns node attributes as map

func (*Identical) Walk

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

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

type LogicalAnd

type LogicalAnd struct {
	Left  node.Node
	Right node.Node
}

LogicalAnd node

func NewLogicalAnd

func NewLogicalAnd(Variable node.Node, Expression node.Node) *LogicalAnd

NewLogicalAnd node constuctor

func (*LogicalAnd) Attributes

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

Attributes returns node attributes as map

func (*LogicalAnd) Walk

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

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

type LogicalOr

type LogicalOr struct {
	Left  node.Node
	Right node.Node
}

LogicalOr node

func NewLogicalOr

func NewLogicalOr(Variable node.Node, Expression node.Node) *LogicalOr

NewLogicalOr node constuctor

func (*LogicalOr) Attributes

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

Attributes returns node attributes as map

func (*LogicalOr) Walk

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

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

type LogicalXor

type LogicalXor struct {
	Left  node.Node
	Right node.Node
}

LogicalXor node

func NewLogicalXor

func NewLogicalXor(Variable node.Node, Expression node.Node) *LogicalXor

NewLogicalXor node constuctor

func (*LogicalXor) Attributes

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

Attributes returns node attributes as map

func (*LogicalXor) Walk

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

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

type Minus

type Minus struct {
	Left  node.Node
	Right node.Node
}

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 {
	Left  node.Node
	Right node.Node
}

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 {
	Left  node.Node
	Right node.Node
}

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 NotEqual

type NotEqual struct {
	Left  node.Node
	Right node.Node
}

NotEqual node

func NewNotEqual

func NewNotEqual(Variable node.Node, Expression node.Node) *NotEqual

NewNotEqual node constuctor

func (*NotEqual) Attributes

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

Attributes returns node attributes as map

func (*NotEqual) Walk

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

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

type NotIdentical

type NotIdentical struct {
	Left  node.Node
	Right node.Node
}

NotIdentical node

func NewNotIdentical

func NewNotIdentical(Variable node.Node, Expression node.Node) *NotIdentical

NewNotIdentical node constuctor

func (*NotIdentical) Attributes

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

Attributes returns node attributes as map

func (*NotIdentical) Walk

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

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

type Plus

type Plus struct {
	Left  node.Node
	Right node.Node
}

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 {
	Left  node.Node
	Right node.Node
}

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 {
	Left  node.Node
	Right node.Node
}

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 {
	Left  node.Node
	Right node.Node
}

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

type Smaller

type Smaller struct {
	Left  node.Node
	Right node.Node
}

Smaller node

func NewSmaller

func NewSmaller(Variable node.Node, Expression node.Node) *Smaller

NewSmaller node constuctor

func (*Smaller) Attributes

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

Attributes returns node attributes as map

func (*Smaller) Walk

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

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

type SmallerOrEqual

type SmallerOrEqual struct {
	Left  node.Node
	Right node.Node
}

SmallerOrEqual node

func NewSmallerOrEqual

func NewSmallerOrEqual(Variable node.Node, Expression node.Node) *SmallerOrEqual

NewSmallerOrEqual node constuctor

func (*SmallerOrEqual) Attributes

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

Attributes returns node attributes as map

func (*SmallerOrEqual) Walk

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

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

type Spaceship

type Spaceship struct {
	Left  node.Node
	Right node.Node
}

Spaceship node

func NewSpaceship

func NewSpaceship(Variable node.Node, Expression node.Node) *Spaceship

NewSpaceship node constuctor

func (*Spaceship) Attributes

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

Attributes returns node attributes as map

func (*Spaceship) Walk

func (n *Spaceship) 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