예제 #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);
        }
예제 #2
0
 public static void Rule(Statement lhs, Query query)
 {
     lhs.CodeSentence = query.CodeSentence;
 }