Ejemplo n.º 1
0
        public DecisionInstruction(int lineNumber, PsudoMethod method, string exp)
            : base(lineNumber, method)
        {
            this.expression = InstructionFactory.CleanupExpression(exp);

            expTree = new PseudoCodeCompiler.ExpressionTree.ExpressionTree(this.expression);
        }
        public MathmaticAssignmentInstruction(int lineNumber, PsudoMethod method, string variable, string exp)
            : base(lineNumber, method)
        {
            this.variable = variable;

            this.expression = InstructionFactory.CleanupExpression(exp);

            expTree = new PseudoCodeCompiler.ExpressionTree.ExpressionTree(this.expression);
        }