public static void Rule(UnaryElementExpression200 lhs, UnaryOp200 unaryOp200, Element element)
 {
     lhs.CodeTerm =
         new CodeCompoundTerm(
             unaryOp200.CodeFunctor,
             new CodeTerm[] { element.CodeTerm });
 }
Esempio n. 2
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 });
 }
Esempio n. 3
0
 public static void Rule(Element lhs, OpenParenthesis openParenthesis, BinaryElementExpression700 binaryElementExpression, CloseParenthesis closeParenthesis)
 {
     lhs.CodeTerm = binaryElementExpression.CodeTerm;
 }
Esempio n. 4
0
 public static void Rule(Element lhs, Value value)
 {
     lhs.CodeTerm = value.CodeTerm;
 }
Esempio n. 5
0
 public static void Rule(Element lhs, Variable variable)
 {
     lhs.CodeTerm = new CodeVariable(variable.Text);
 }
Esempio n. 6
0
 public static void Rule(Element lhs, Term term)
 {
     lhs.CodeTerm = term.CodeCompoundTerm;
 }
 public static void Rule(UnaryElementExpression200 lhs, Element element)
 {
     lhs.CodeTerm = element.CodeTerm;
 }