func (exec Execute) resolveBothExpressions(n ast.DoubleTermNode) (left, right interface{}) { lt := n.LeftTerm() rt := n.RightTerm() left = exec.resolveExpression(lt) right = exec.resolveExpression(rt) return left, right }
func (exec Execute) resolveBothStringNodes(n ast.DoubleTermNode) (left, right string) { lt := n.LeftTerm() rt := n.RightTerm() left = exec.resolveStringNode(lt) right = exec.resolveStringNode(rt) return left, right }
func (exec Execute) resolveBothMathNodes(n ast.DoubleTermNode) (left, right float32) { lt := n.LeftTerm() rt := n.RightTerm() left = exec.resolveMathNode(lt) right = exec.resolveMathNode(rt) return left, right }