示例#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;
 }