public void Visit(MultiplicatonOperator op)
        {
            var leftArgs = VisitChild(op.Left);
            var rightArgs = VisitChild(op.Rigth);

            _codeStack.Peek().Scope = rightArgs.Scope;
            _codeStack.Peek().CodeExpression = new CodeBinaryOperatorExpression(leftArgs.CodeExpression, CodeBinaryOperatorType.Multiply, rightArgs.CodeExpression);
        }
Beispiel #2
0
 public void Visit(MultiplicatonOperator op, CommonTree tree)
 {
     Parent(tree).Children.Add(op);
     VisitChildren(tree);
 }