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