Beispiel #1
0
        public static void Rule(ListBody lhs, ListItems listItems, OptionalListTail optionalListTail)
        {
            CodeTerm tail;
            if (optionalListTail.CodeTerm != null)
            {
                tail = optionalListTail.CodeTerm;
            }
            else
            {
                tail = new CodeCompoundTerm(CodeFunctor.NilFunctor);
            }

            lhs.CodeList = new CodeList(listItems.CodeTerms, tail);
        }
Beispiel #2
0
        public static void Rule(ListBody lhs, ListItems listItems, OptionalListTail optionalListTail)
        {
            CodeTerm tail;

            if (optionalListTail.CodeTerm != null)
            {
                tail = optionalListTail.CodeTerm;
            }
            else
            {
                tail = new CodeCompoundTerm(CodeFunctor.NilFunctor);
            }

            lhs.CodeList = new CodeList(listItems.CodeTerms, tail);
        }
Beispiel #3
0
 public static void Rule(OptionalListTail lhs)
 {
 }
Beispiel #4
0
 public static void Rule(OptionalListTail lhs, ListTail listTail)
 {
     lhs.CodeTerm = listTail.CodeTerm;
 }
 public static void Rule(OptionalListTail lhs)
 { }
 public static void Rule(OptionalListTail lhs, ListTail listTail)
 {
     lhs.CodeTerm = listTail.CodeTerm;
 }
Beispiel #7
0
 public static void Rule(ListBody lhs, ListItems listItems, OptionalListTail optionalListTail)
 {
     var tail = optionalListTail.CodeTerm ?? new CodeCompoundTerm(CodeFunctor.NilFunctor);
     lhs.CodeList = new CodeList(listItems.CodeTerms, tail);
 }
Beispiel #8
0
        public static void Rule(ListBody lhs, ListItems listItems, OptionalListTail optionalListTail)
        {
            var tail = optionalListTail.CodeTerm ?? new CodeCompoundTerm(CodeFunctor.NilFunctor);

            lhs.CodeList = new CodeList(listItems.CodeTerms, tail);
        }