make nodes fields public

This commit is contained in:
z7zmey
2018-01-04 23:26:04 +02:00
parent 02807502d3
commit 469db8f9e2
141 changed files with 1192 additions and 1198 deletions

View File

@@ -7,6 +7,6 @@ import (
type BinaryOp struct {
attributes map[string]interface{}
position *node.Position
left node.Node
right node.Node
Left node.Node
Right node.Node
}

View File

@@ -8,13 +8,13 @@ type BitwiseAnd struct {
BinaryOp
}
func NewBitwiseAnd(variable node.Node, expression node.Node) node.Node {
func NewBitwiseAnd(Variable node.Node, Expression node.Node) node.Node {
return &BitwiseAnd{
BinaryOp{
map[string]interface{}{},
nil,
variable,
expression,
Variable,
Expression,
},
}
}
@@ -37,14 +37,14 @@ func (n BitwiseAnd) Walk(v node.Visitor) {
return
}
if n.left != nil {
vv := v.GetChildrenVisitor("left")
n.left.Walk(vv)
if n.Left != nil {
vv := v.GetChildrenVisitor("Left")
n.Left.Walk(vv)
}
if n.right != nil {
vv := v.GetChildrenVisitor("right")
n.right.Walk(vv)
if n.Right != nil {
vv := v.GetChildrenVisitor("Right")
n.Right.Walk(vv)
}
v.LeaveNode(n)

View File

@@ -8,13 +8,13 @@ type BitwiseOr struct {
BinaryOp
}
func NewBitwiseOr(variable node.Node, expression node.Node) node.Node {
func NewBitwiseOr(Variable node.Node, Expression node.Node) node.Node {
return &BitwiseOr{
BinaryOp{
map[string]interface{}{},
nil,
variable,
expression,
Variable,
Expression,
},
}
}
@@ -37,14 +37,14 @@ func (n BitwiseOr) Walk(v node.Visitor) {
return
}
if n.left != nil {
vv := v.GetChildrenVisitor("left")
n.left.Walk(vv)
if n.Left != nil {
vv := v.GetChildrenVisitor("Left")
n.Left.Walk(vv)
}
if n.right != nil {
vv := v.GetChildrenVisitor("right")
n.right.Walk(vv)
if n.Right != nil {
vv := v.GetChildrenVisitor("Right")
n.Right.Walk(vv)
}
v.LeaveNode(n)

View File

@@ -8,13 +8,13 @@ type BitwiseXor struct {
BinaryOp
}
func NewBitwiseXor(variable node.Node, expression node.Node) node.Node {
func NewBitwiseXor(Variable node.Node, Expression node.Node) node.Node {
return &BitwiseXor{
BinaryOp{
map[string]interface{}{},
nil,
variable,
expression,
Variable,
Expression,
},
}
}
@@ -37,14 +37,14 @@ func (n BitwiseXor) Walk(v node.Visitor) {
return
}
if n.left != nil {
vv := v.GetChildrenVisitor("left")
n.left.Walk(vv)
if n.Left != nil {
vv := v.GetChildrenVisitor("Left")
n.Left.Walk(vv)
}
if n.right != nil {
vv := v.GetChildrenVisitor("right")
n.right.Walk(vv)
if n.Right != nil {
vv := v.GetChildrenVisitor("Right")
n.Right.Walk(vv)
}
v.LeaveNode(n)

View File

@@ -8,13 +8,13 @@ type BooleanAnd struct {
BinaryOp
}
func NewBooleanAnd(variable node.Node, expression node.Node) node.Node {
func NewBooleanAnd(Variable node.Node, Expression node.Node) node.Node {
return &BooleanAnd{
BinaryOp{
map[string]interface{}{},
nil,
variable,
expression,
Variable,
Expression,
},
}
}
@@ -37,14 +37,14 @@ func (n BooleanAnd) Walk(v node.Visitor) {
return
}
if n.left != nil {
vv := v.GetChildrenVisitor("left")
n.left.Walk(vv)
if n.Left != nil {
vv := v.GetChildrenVisitor("Left")
n.Left.Walk(vv)
}
if n.right != nil {
vv := v.GetChildrenVisitor("right")
n.right.Walk(vv)
if n.Right != nil {
vv := v.GetChildrenVisitor("Right")
n.Right.Walk(vv)
}
v.LeaveNode(n)

View File

@@ -8,13 +8,13 @@ type BooleanOr struct {
BinaryOp
}
func NewBooleanOr(variable node.Node, expression node.Node) node.Node {
func NewBooleanOr(Variable node.Node, Expression node.Node) node.Node {
return &BooleanOr{
BinaryOp{
map[string]interface{}{},
nil,
variable,
expression,
Variable,
Expression,
},
}
}
@@ -37,14 +37,14 @@ func (n BooleanOr) Walk(v node.Visitor) {
return
}
if n.left != nil {
vv := v.GetChildrenVisitor("left")
n.left.Walk(vv)
if n.Left != nil {
vv := v.GetChildrenVisitor("Left")
n.Left.Walk(vv)
}
if n.right != nil {
vv := v.GetChildrenVisitor("right")
n.right.Walk(vv)
if n.Right != nil {
vv := v.GetChildrenVisitor("Right")
n.Right.Walk(vv)
}
v.LeaveNode(n)

View File

@@ -8,13 +8,13 @@ type Coalesce struct {
BinaryOp
}
func NewCoalesce(variable node.Node, expression node.Node) node.Node {
func NewCoalesce(Variable node.Node, Expression node.Node) node.Node {
return &Coalesce{
BinaryOp{
map[string]interface{}{},
nil,
variable,
expression,
Variable,
Expression,
},
}
}
@@ -37,14 +37,14 @@ func (n Coalesce) Walk(v node.Visitor) {
return
}
if n.left != nil {
vv := v.GetChildrenVisitor("left")
n.left.Walk(vv)
if n.Left != nil {
vv := v.GetChildrenVisitor("Left")
n.Left.Walk(vv)
}
if n.right != nil {
vv := v.GetChildrenVisitor("right")
n.right.Walk(vv)
if n.Right != nil {
vv := v.GetChildrenVisitor("Right")
n.Right.Walk(vv)
}
v.LeaveNode(n)

View File

@@ -8,13 +8,13 @@ type Concat struct {
BinaryOp
}
func NewConcat(variable node.Node, expression node.Node) node.Node {
func NewConcat(Variable node.Node, Expression node.Node) node.Node {
return &Concat{
BinaryOp{
map[string]interface{}{},
nil,
variable,
expression,
Variable,
Expression,
},
}
}
@@ -37,14 +37,14 @@ func (n Concat) Walk(v node.Visitor) {
return
}
if n.left != nil {
vv := v.GetChildrenVisitor("left")
n.left.Walk(vv)
if n.Left != nil {
vv := v.GetChildrenVisitor("Left")
n.Left.Walk(vv)
}
if n.right != nil {
vv := v.GetChildrenVisitor("right")
n.right.Walk(vv)
if n.Right != nil {
vv := v.GetChildrenVisitor("Right")
n.Right.Walk(vv)
}
v.LeaveNode(n)

View File

@@ -8,13 +8,13 @@ type Div struct {
BinaryOp
}
func NewDiv(variable node.Node, expression node.Node) node.Node {
func NewDiv(Variable node.Node, Expression node.Node) node.Node {
return &Div{
BinaryOp{
map[string]interface{}{},
nil,
variable,
expression,
Variable,
Expression,
},
}
}
@@ -37,14 +37,14 @@ func (n Div) Walk(v node.Visitor) {
return
}
if n.left != nil {
vv := v.GetChildrenVisitor("left")
n.left.Walk(vv)
if n.Left != nil {
vv := v.GetChildrenVisitor("Left")
n.Left.Walk(vv)
}
if n.right != nil {
vv := v.GetChildrenVisitor("right")
n.right.Walk(vv)
if n.Right != nil {
vv := v.GetChildrenVisitor("Right")
n.Right.Walk(vv)
}
v.LeaveNode(n)

View File

@@ -8,13 +8,13 @@ type Equal struct {
BinaryOp
}
func NewEqual(variable node.Node, expression node.Node) node.Node {
func NewEqual(Variable node.Node, Expression node.Node) node.Node {
return &Equal{
BinaryOp{
map[string]interface{}{},
nil,
variable,
expression,
Variable,
Expression,
},
}
}
@@ -37,14 +37,14 @@ func (n Equal) Walk(v node.Visitor) {
return
}
if n.left != nil {
vv := v.GetChildrenVisitor("left")
n.left.Walk(vv)
if n.Left != nil {
vv := v.GetChildrenVisitor("Left")
n.Left.Walk(vv)
}
if n.right != nil {
vv := v.GetChildrenVisitor("right")
n.right.Walk(vv)
if n.Right != nil {
vv := v.GetChildrenVisitor("Right")
n.Right.Walk(vv)
}
v.LeaveNode(n)

View File

@@ -8,13 +8,13 @@ type Greater struct {
BinaryOp
}
func NewGreater(variable node.Node, expression node.Node) node.Node {
func NewGreater(Variable node.Node, Expression node.Node) node.Node {
return &Greater{
BinaryOp{
map[string]interface{}{},
nil,
variable,
expression,
Variable,
Expression,
},
}
}
@@ -37,14 +37,14 @@ func (n Greater) Walk(v node.Visitor) {
return
}
if n.left != nil {
vv := v.GetChildrenVisitor("left")
n.left.Walk(vv)
if n.Left != nil {
vv := v.GetChildrenVisitor("Left")
n.Left.Walk(vv)
}
if n.right != nil {
vv := v.GetChildrenVisitor("right")
n.right.Walk(vv)
if n.Right != nil {
vv := v.GetChildrenVisitor("Right")
n.Right.Walk(vv)
}
v.LeaveNode(n)

View File

@@ -8,13 +8,13 @@ type GreaterOrEqual struct {
BinaryOp
}
func NewGreaterOrEqual(variable node.Node, expression node.Node) node.Node {
func NewGreaterOrEqual(Variable node.Node, Expression node.Node) node.Node {
return &GreaterOrEqual{
BinaryOp{
map[string]interface{}{},
nil,
variable,
expression,
Variable,
Expression,
},
}
}
@@ -37,14 +37,14 @@ func (n GreaterOrEqual) Walk(v node.Visitor) {
return
}
if n.left != nil {
vv := v.GetChildrenVisitor("left")
n.left.Walk(vv)
if n.Left != nil {
vv := v.GetChildrenVisitor("Left")
n.Left.Walk(vv)
}
if n.right != nil {
vv := v.GetChildrenVisitor("right")
n.right.Walk(vv)
if n.Right != nil {
vv := v.GetChildrenVisitor("Right")
n.Right.Walk(vv)
}
v.LeaveNode(n)

View File

@@ -8,13 +8,13 @@ type Identical struct {
BinaryOp
}
func NewIdentical(variable node.Node, expression node.Node) node.Node {
func NewIdentical(Variable node.Node, Expression node.Node) node.Node {
return &Identical{
BinaryOp{
map[string]interface{}{},
nil,
variable,
expression,
Variable,
Expression,
},
}
}
@@ -37,14 +37,14 @@ func (n Identical) Walk(v node.Visitor) {
return
}
if n.left != nil {
vv := v.GetChildrenVisitor("left")
n.left.Walk(vv)
if n.Left != nil {
vv := v.GetChildrenVisitor("Left")
n.Left.Walk(vv)
}
if n.right != nil {
vv := v.GetChildrenVisitor("right")
n.right.Walk(vv)
if n.Right != nil {
vv := v.GetChildrenVisitor("Right")
n.Right.Walk(vv)
}
v.LeaveNode(n)

View File

@@ -8,13 +8,13 @@ type LogicalAnd struct {
BinaryOp
}
func NewLogicalAnd(variable node.Node, expression node.Node) node.Node {
func NewLogicalAnd(Variable node.Node, Expression node.Node) node.Node {
return &LogicalAnd{
BinaryOp{
map[string]interface{}{},
nil,
variable,
expression,
Variable,
Expression,
},
}
}
@@ -37,14 +37,14 @@ func (n LogicalAnd) Walk(v node.Visitor) {
return
}
if n.left != nil {
vv := v.GetChildrenVisitor("left")
n.left.Walk(vv)
if n.Left != nil {
vv := v.GetChildrenVisitor("Left")
n.Left.Walk(vv)
}
if n.right != nil {
vv := v.GetChildrenVisitor("right")
n.right.Walk(vv)
if n.Right != nil {
vv := v.GetChildrenVisitor("Right")
n.Right.Walk(vv)
}
v.LeaveNode(n)

View File

@@ -8,13 +8,13 @@ type LogicalOr struct {
BinaryOp
}
func NewLogicalOr(variable node.Node, expression node.Node) node.Node {
func NewLogicalOr(Variable node.Node, Expression node.Node) node.Node {
return &LogicalOr{
BinaryOp{
map[string]interface{}{},
nil,
variable,
expression,
Variable,
Expression,
},
}
}
@@ -37,14 +37,14 @@ func (n LogicalOr) Walk(v node.Visitor) {
return
}
if n.left != nil {
vv := v.GetChildrenVisitor("left")
n.left.Walk(vv)
if n.Left != nil {
vv := v.GetChildrenVisitor("Left")
n.Left.Walk(vv)
}
if n.right != nil {
vv := v.GetChildrenVisitor("right")
n.right.Walk(vv)
if n.Right != nil {
vv := v.GetChildrenVisitor("Right")
n.Right.Walk(vv)
}
v.LeaveNode(n)

View File

@@ -8,13 +8,13 @@ type LogicalXor struct {
BinaryOp
}
func NewLogicalXor(variable node.Node, expression node.Node) node.Node {
func NewLogicalXor(Variable node.Node, Expression node.Node) node.Node {
return &LogicalXor{
BinaryOp{
map[string]interface{}{},
nil,
variable,
expression,
Variable,
Expression,
},
}
}
@@ -37,14 +37,14 @@ func (n LogicalXor) Walk(v node.Visitor) {
return
}
if n.left != nil {
vv := v.GetChildrenVisitor("left")
n.left.Walk(vv)
if n.Left != nil {
vv := v.GetChildrenVisitor("Left")
n.Left.Walk(vv)
}
if n.right != nil {
vv := v.GetChildrenVisitor("right")
n.right.Walk(vv)
if n.Right != nil {
vv := v.GetChildrenVisitor("Right")
n.Right.Walk(vv)
}
v.LeaveNode(n)

View File

@@ -8,13 +8,13 @@ type Minus struct {
BinaryOp
}
func NewMinus(variable node.Node, expression node.Node) node.Node {
func NewMinus(Variable node.Node, Expression node.Node) node.Node {
return &Minus{
BinaryOp{
map[string]interface{}{},
nil,
variable,
expression,
Variable,
Expression,
},
}
}
@@ -37,14 +37,14 @@ func (n Minus) Walk(v node.Visitor) {
return
}
if n.left != nil {
vv := v.GetChildrenVisitor("left")
n.left.Walk(vv)
if n.Left != nil {
vv := v.GetChildrenVisitor("Left")
n.Left.Walk(vv)
}
if n.right != nil {
vv := v.GetChildrenVisitor("right")
n.right.Walk(vv)
if n.Right != nil {
vv := v.GetChildrenVisitor("Right")
n.Right.Walk(vv)
}
v.LeaveNode(n)

View File

@@ -8,13 +8,13 @@ type Mod struct {
BinaryOp
}
func NewMod(variable node.Node, expression node.Node) node.Node {
func NewMod(Variable node.Node, Expression node.Node) node.Node {
return &Mod{
BinaryOp{
map[string]interface{}{},
nil,
variable,
expression,
Variable,
Expression,
},
}
}
@@ -37,14 +37,14 @@ func (n Mod) Walk(v node.Visitor) {
return
}
if n.left != nil {
vv := v.GetChildrenVisitor("left")
n.left.Walk(vv)
if n.Left != nil {
vv := v.GetChildrenVisitor("Left")
n.Left.Walk(vv)
}
if n.right != nil {
vv := v.GetChildrenVisitor("right")
n.right.Walk(vv)
if n.Right != nil {
vv := v.GetChildrenVisitor("Right")
n.Right.Walk(vv)
}
v.LeaveNode(n)

View File

@@ -8,13 +8,13 @@ type Mul struct {
BinaryOp
}
func NewMul(variable node.Node, expression node.Node) node.Node {
func NewMul(Variable node.Node, Expression node.Node) node.Node {
return &Mul{
BinaryOp{
map[string]interface{}{},
nil,
variable,
expression,
Variable,
Expression,
},
}
}
@@ -37,14 +37,14 @@ func (n Mul) Walk(v node.Visitor) {
return
}
if n.left != nil {
vv := v.GetChildrenVisitor("left")
n.left.Walk(vv)
if n.Left != nil {
vv := v.GetChildrenVisitor("Left")
n.Left.Walk(vv)
}
if n.right != nil {
vv := v.GetChildrenVisitor("right")
n.right.Walk(vv)
if n.Right != nil {
vv := v.GetChildrenVisitor("Right")
n.Right.Walk(vv)
}
v.LeaveNode(n)

View File

@@ -8,13 +8,13 @@ type NotEqual struct {
BinaryOp
}
func NewNotEqual(variable node.Node, expression node.Node) node.Node {
func NewNotEqual(Variable node.Node, Expression node.Node) node.Node {
return &NotEqual{
BinaryOp{
map[string]interface{}{},
nil,
variable,
expression,
Variable,
Expression,
},
}
}
@@ -37,14 +37,14 @@ func (n NotEqual) Walk(v node.Visitor) {
return
}
if n.left != nil {
vv := v.GetChildrenVisitor("left")
n.left.Walk(vv)
if n.Left != nil {
vv := v.GetChildrenVisitor("Left")
n.Left.Walk(vv)
}
if n.right != nil {
vv := v.GetChildrenVisitor("right")
n.right.Walk(vv)
if n.Right != nil {
vv := v.GetChildrenVisitor("Right")
n.Right.Walk(vv)
}
v.LeaveNode(n)

View File

@@ -8,13 +8,13 @@ type NotIdentical struct {
BinaryOp
}
func NewNotIdentical(variable node.Node, expression node.Node) node.Node {
func NewNotIdentical(Variable node.Node, Expression node.Node) node.Node {
return &NotIdentical{
BinaryOp{
map[string]interface{}{},
nil,
variable,
expression,
Variable,
Expression,
},
}
}
@@ -37,14 +37,14 @@ func (n NotIdentical) Walk(v node.Visitor) {
return
}
if n.left != nil {
vv := v.GetChildrenVisitor("left")
n.left.Walk(vv)
if n.Left != nil {
vv := v.GetChildrenVisitor("Left")
n.Left.Walk(vv)
}
if n.right != nil {
vv := v.GetChildrenVisitor("right")
n.right.Walk(vv)
if n.Right != nil {
vv := v.GetChildrenVisitor("Right")
n.Right.Walk(vv)
}
v.LeaveNode(n)

View File

@@ -8,13 +8,13 @@ type Plus struct {
BinaryOp
}
func NewPlus(variable node.Node, expression node.Node) node.Node {
func NewPlus(Variable node.Node, Expression node.Node) node.Node {
return &Plus{
BinaryOp{
map[string]interface{}{},
nil,
variable,
expression,
Variable,
Expression,
},
}
}
@@ -37,14 +37,14 @@ func (n Plus) Walk(v node.Visitor) {
return
}
if n.left != nil {
vv := v.GetChildrenVisitor("left")
n.left.Walk(vv)
if n.Left != nil {
vv := v.GetChildrenVisitor("Left")
n.Left.Walk(vv)
}
if n.right != nil {
vv := v.GetChildrenVisitor("right")
n.right.Walk(vv)
if n.Right != nil {
vv := v.GetChildrenVisitor("Right")
n.Right.Walk(vv)
}
v.LeaveNode(n)

View File

@@ -8,13 +8,13 @@ type Pow struct {
BinaryOp
}
func NewPow(variable node.Node, expression node.Node) node.Node {
func NewPow(Variable node.Node, Expression node.Node) node.Node {
return &Pow{
BinaryOp{
map[string]interface{}{},
nil,
variable,
expression,
Variable,
Expression,
},
}
}
@@ -37,14 +37,14 @@ func (n Pow) Walk(v node.Visitor) {
return
}
if n.left != nil {
vv := v.GetChildrenVisitor("left")
n.left.Walk(vv)
if n.Left != nil {
vv := v.GetChildrenVisitor("Left")
n.Left.Walk(vv)
}
if n.right != nil {
vv := v.GetChildrenVisitor("right")
n.right.Walk(vv)
if n.Right != nil {
vv := v.GetChildrenVisitor("Right")
n.Right.Walk(vv)
}
v.LeaveNode(n)

View File

@@ -8,13 +8,13 @@ type ShiftLeft struct {
BinaryOp
}
func NewShiftLeft(variable node.Node, expression node.Node) node.Node {
func NewShiftLeft(Variable node.Node, Expression node.Node) node.Node {
return &ShiftLeft{
BinaryOp{
map[string]interface{}{},
nil,
variable,
expression,
Variable,
Expression,
},
}
}
@@ -37,14 +37,14 @@ func (n ShiftLeft) Walk(v node.Visitor) {
return
}
if n.left != nil {
vv := v.GetChildrenVisitor("left")
n.left.Walk(vv)
if n.Left != nil {
vv := v.GetChildrenVisitor("Left")
n.Left.Walk(vv)
}
if n.right != nil {
vv := v.GetChildrenVisitor("right")
n.right.Walk(vv)
if n.Right != nil {
vv := v.GetChildrenVisitor("Right")
n.Right.Walk(vv)
}
v.LeaveNode(n)

View File

@@ -8,13 +8,13 @@ type ShiftRight struct {
BinaryOp
}
func NewShiftRight(variable node.Node, expression node.Node) node.Node {
func NewShiftRight(Variable node.Node, Expression node.Node) node.Node {
return &ShiftRight{
BinaryOp{
map[string]interface{}{},
nil,
variable,
expression,
Variable,
Expression,
},
}
}
@@ -37,14 +37,14 @@ func (n ShiftRight) Walk(v node.Visitor) {
return
}
if n.left != nil {
vv := v.GetChildrenVisitor("left")
n.left.Walk(vv)
if n.Left != nil {
vv := v.GetChildrenVisitor("Left")
n.Left.Walk(vv)
}
if n.right != nil {
vv := v.GetChildrenVisitor("right")
n.right.Walk(vv)
if n.Right != nil {
vv := v.GetChildrenVisitor("Right")
n.Right.Walk(vv)
}
v.LeaveNode(n)

View File

@@ -8,13 +8,13 @@ type Smaller struct {
BinaryOp
}
func NewSmaller(variable node.Node, expression node.Node) node.Node {
func NewSmaller(Variable node.Node, Expression node.Node) node.Node {
return &Smaller{
BinaryOp{
map[string]interface{}{},
nil,
variable,
expression,
Variable,
Expression,
},
}
}
@@ -37,14 +37,14 @@ func (n Smaller) Walk(v node.Visitor) {
return
}
if n.left != nil {
vv := v.GetChildrenVisitor("left")
n.left.Walk(vv)
if n.Left != nil {
vv := v.GetChildrenVisitor("Left")
n.Left.Walk(vv)
}
if n.right != nil {
vv := v.GetChildrenVisitor("right")
n.right.Walk(vv)
if n.Right != nil {
vv := v.GetChildrenVisitor("Right")
n.Right.Walk(vv)
}
v.LeaveNode(n)

View File

@@ -8,13 +8,13 @@ type SmallerOrEqual struct {
BinaryOp
}
func NewSmallerOrEqual(variable node.Node, expression node.Node) node.Node {
func NewSmallerOrEqual(Variable node.Node, Expression node.Node) node.Node {
return &SmallerOrEqual{
BinaryOp{
map[string]interface{}{},
nil,
variable,
expression,
Variable,
Expression,
},
}
}
@@ -37,14 +37,14 @@ func (n SmallerOrEqual) Walk(v node.Visitor) {
return
}
if n.left != nil {
vv := v.GetChildrenVisitor("left")
n.left.Walk(vv)
if n.Left != nil {
vv := v.GetChildrenVisitor("Left")
n.Left.Walk(vv)
}
if n.right != nil {
vv := v.GetChildrenVisitor("right")
n.right.Walk(vv)
if n.Right != nil {
vv := v.GetChildrenVisitor("Right")
n.Right.Walk(vv)
}
v.LeaveNode(n)

View File

@@ -8,13 +8,13 @@ type Spaceship struct {
BinaryOp
}
func NewSpaceship(variable node.Node, expression node.Node) node.Node {
func NewSpaceship(Variable node.Node, Expression node.Node) node.Node {
return &Spaceship{
BinaryOp{
map[string]interface{}{},
nil,
variable,
expression,
Variable,
Expression,
},
}
}
@@ -37,14 +37,14 @@ func (n Spaceship) Walk(v node.Visitor) {
return
}
if n.left != nil {
vv := v.GetChildrenVisitor("left")
n.left.Walk(vv)
if n.Left != nil {
vv := v.GetChildrenVisitor("Left")
n.Left.Walk(vv)
}
if n.right != nil {
vv := v.GetChildrenVisitor("right")
n.right.Walk(vv)
if n.Right != nil {
vv := v.GetChildrenVisitor("Right")
n.Right.Walk(vv)
}
v.LeaveNode(n)