public static void Rule(BinaryElementExpression700 lhs, BinaryElementExpression700 binaryElementExpression700, BinaryOp700 binaryOp700, BinaryElementExpression500 binaryElementExpression500)
 {
     lhs.CodeTerm =
         new CodeCompoundTerm(
             binaryOp700.CodeFunctor,
             new CodeTerm[] { binaryElementExpression700.CodeTerm, binaryElementExpression500.CodeTerm });
 }
Ejemplo n.º 2
0
 public static void Rule(BinaryElementExpression700 lhs, BinaryElementExpression700 binaryElementExpression700, BinaryOp700 binaryOp700, BinaryElementExpression500 binaryElementExpression500)
 {
     lhs.CodeTerm =
         new CodeCompoundTerm(
             binaryOp700.CodeFunctor,
             new[] { binaryElementExpression700.CodeTerm, binaryElementExpression500.CodeTerm });
 }
Ejemplo n.º 3
0
        public static void Rule(StatementElement lhs, BinaryElementExpression700 binaryTermExpression)
        {
            CodeCompoundTerm codeCompoundTerm =  binaryTermExpression.CodeTerm as CodeCompoundTerm;
            if (codeCompoundTerm == null)
            {
                throw new InvalidOperationException("Non-term expression specified.");
            }

            lhs.CodeCompoundTerm = codeCompoundTerm;
        }
Ejemplo n.º 4
0
        public static void Rule(StatementElement lhs, BinaryElementExpression700 binaryTermExpression)
        {
            var codeCompoundTerm = binaryTermExpression.CodeTerm as CodeCompoundTerm;

            if (codeCompoundTerm == null)
            {
                throw new InvalidOperationException("Non-term expression specified.");
            }

            lhs.CodeCompoundTerm = codeCompoundTerm;
        }
Ejemplo n.º 5
0
 public static void Rule(BinaryElementExpression700 lhs, BinaryElementExpression500 binaryElementExpression500)
 {
     lhs.CodeTerm = binaryElementExpression500.CodeTerm;
 }
Ejemplo n.º 6
0
 public static void Rule(Element lhs, OpenBrace openBrace, BinaryElementExpression700 binaryElementExpression, CloseBrace closeBrace)
 {
     lhs.CodeTerm = new CodeCompoundTerm(new CodeFunctor("eval", 1), new CodeTerm[] { binaryElementExpression.CodeTerm });
 }
Ejemplo n.º 7
0
 public static void Rule(Element lhs, OpenParenthesis openParenthesis, BinaryElementExpression700 binaryElementExpression, CloseParenthesis closeParenthesis)
 {
     lhs.CodeTerm = binaryElementExpression.CodeTerm;
 }
Ejemplo n.º 8
0
 public static void Rule(CompoundTermMember lhs, BinaryElementExpression700 binaryElementExpression)
 {
     lhs.CodeTerm = binaryElementExpression.CodeTerm;
 }
Ejemplo n.º 9
0
 public static void Rule(Element lhs, OpenBrace openBrace, BinaryElementExpression700 binaryElementExpression, CloseBrace closeBrace)
 {
     lhs.CodeTerm = new CodeCompoundTerm(new CodeFunctor("eval", 1), new CodeTerm[] { binaryElementExpression.CodeTerm });
 }
Ejemplo n.º 10
0
 public static void Rule(Element lhs, OpenParenthesis openParenthesis, BinaryElementExpression700 binaryElementExpression, CloseParenthesis closeParenthesis)
 {
     lhs.CodeTerm = binaryElementExpression.CodeTerm;
 }
Ejemplo n.º 11
0
 public static void Rule(CompoundTermMember lhs, BinaryElementExpression700 binaryElementExpression)
 {
     lhs.CodeTerm = binaryElementExpression.CodeTerm;
 }
 public static void Rule(BinaryElementExpression700 lhs, BinaryElementExpression500 binaryElementExpression500)
 {
     lhs.CodeTerm = binaryElementExpression500.CodeTerm;
 }