public static void Rule(UnaryElementExpression200 lhs, UnaryOp200 unaryOp200, Element element) { lhs.CodeTerm = new CodeCompoundTerm( unaryOp200.CodeFunctor, new CodeTerm[] { element.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(Element lhs, Value value) { lhs.CodeTerm = value.CodeTerm; }
public static void Rule(Element lhs, Variable variable) { lhs.CodeTerm = new CodeVariable(variable.Text); }
public static void Rule(Element lhs, Term term) { lhs.CodeTerm = term.CodeCompoundTerm; }
public static void Rule(UnaryElementExpression200 lhs, Element element) { lhs.CodeTerm = element.CodeTerm; }