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(Query lhs, ColonDash colonDash, StatementElement statementElement, AdditionalStatementElements additionalStatementElements) { List <CodeCompoundTerm> codeCompoundTerms = new List <CodeCompoundTerm>(); codeCompoundTerms.Add(statementElement.CodeCompoundTerm); codeCompoundTerms.AddRange(additionalStatementElements.CodeCompoundTerms); lhs.CodeSentence = new CodeSentence(null, null, codeCompoundTerms); }
public static void Rule(OptionalRuleBody lhs, ColonDash colonDash, StatementElement statementElement, AdditionalStatementElements additionalStatementElements) { lhs.CodeCompoundTerms = new List <CodeCompoundTerm>(); lhs.CodeCompoundTerms.Add(statementElement.CodeCompoundTerm); lhs.CodeCompoundTerms.AddRange(additionalStatementElements.CodeCompoundTerms); }
public static void Rule(OptionalRuleBody lhs, ColonDash colonDash, CompoundTerm compoundTerm, AdditionalCompoundTerms additionalCompoundTerms) { }
public static void Rule(OptionalRuleBody lhs, ColonDash colonDash, StatementElement statementElement, AdditionalStatementElements additionalStatementElements) { lhs.CodeCompoundTerms = new List<CodeCompoundTerm>(); lhs.CodeCompoundTerms.Add(statementElement.CodeCompoundTerm); lhs.CodeCompoundTerms.AddRange(additionalStatementElements.CodeCompoundTerms); }