public static void Rule(BinaryElementExpression700 lhs, BinaryElementExpression700 binaryElementExpression700, BinaryOp700 binaryOp700, BinaryElementExpression500 binaryElementExpression500) { lhs.CodeTerm = new CodeCompoundTerm( binaryOp700.CodeFunctor, new CodeTerm[] { binaryElementExpression700.CodeTerm, binaryElementExpression500.CodeTerm }); }
public static void Rule(BinaryElementExpression700 lhs, BinaryElementExpression700 binaryElementExpression700, BinaryOp700 binaryOp700, BinaryElementExpression500 binaryElementExpression500) { lhs.CodeTerm = new CodeCompoundTerm( binaryOp700.CodeFunctor, new[] { binaryElementExpression700.CodeTerm, binaryElementExpression500.CodeTerm }); }
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; }
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; }
public static void Rule(BinaryElementExpression700 lhs, BinaryElementExpression500 binaryElementExpression500) { lhs.CodeTerm = binaryElementExpression500.CodeTerm; }
public static void Rule(Element lhs, OpenBrace openBrace, BinaryElementExpression700 binaryElementExpression, CloseBrace closeBrace) { lhs.CodeTerm = new CodeCompoundTerm(new CodeFunctor("eval", 1), new CodeTerm[] { binaryElementExpression.CodeTerm }); }
public static void Rule(Element lhs, OpenParenthesis openParenthesis, BinaryElementExpression700 binaryElementExpression, CloseParenthesis closeParenthesis) { lhs.CodeTerm = binaryElementExpression.CodeTerm; }
public static void Rule(CompoundTermMember lhs, BinaryElementExpression700 binaryElementExpression) { lhs.CodeTerm = binaryElementExpression.CodeTerm; }