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