Esempio n. 1
0
        public static void Rule(Query lhs, ColonDash colonDash, StatementElement statementElement, AdditionalStatementElements additionalStatementElements)
        {
            var codeCompoundTerms = new List<CodeCompoundTerm> {statementElement.CodeCompoundTerm};
            codeCompoundTerms.AddRange(additionalStatementElements.CodeCompoundTerms);

            lhs.CodeSentence = new CodeSentence(null, null, codeCompoundTerms);
        }
Esempio n. 2
0
 public static void Rule(List lhs, OpenBracket openBracket, OptionalListBody optionalListBody, CloseBracket closeBracket)
 {
     if (optionalListBody.CodeList == null)
     {
         lhs.CodeList = new CodeList();
     }
     else
     {
         lhs.CodeList = optionalListBody.CodeList;
     }
 }
Esempio n. 3
0
 public static void Rule(ListTailItem lhs, List list)
 {
     lhs.CodeTerm = list.CodeList;
 }
Esempio n. 4
0
 public static void Rule(Value lhs, List list)
 {
     lhs.CodeTerm = list.CodeList;
 }
Esempio n. 5
0
 public static void Rule(List lhs, OpenBracket openBracket, OptionalListBody optionalListBody, CloseBracket closeBracket)
 {
     lhs.CodeList = optionalListBody.CodeList ?? new CodeList();
 }