public static void Rule(OptionalTermBody lhs, OpenParenthesis openParenthesis, OptionalCompoundTermBody optionalCompoundTermBody, CloseParenthesis closeParenthesis) { lhs.CodeTerms = new List<CodeTerm>(); if (optionalCompoundTermBody.CodeTerms != null) { lhs.CodeTerms.AddRange(optionalCompoundTermBody.CodeTerms); } }
public static void Rule(OptionalCompoundTermBody lhs) { }
public static void Rule(OptionalCompoundTermBody lhs, CompoundTermBody compoundTermBody) { lhs.CodeTerms = new List <CodeTerm>(); lhs.CodeTerms.AddRange(compoundTermBody.CodeTerms); }
public static void Rule(OptionalTermBody lhs, OpenParenthesis openParenthesis, OptionalCompoundTermBody optionalCompoundTermBody, CloseParenthesis closeParenthesis) { lhs.CodeTerms = new List <CodeTerm>(); if (optionalCompoundTermBody.CodeTerms != null) { lhs.CodeTerms.AddRange(optionalCompoundTermBody.CodeTerms); } }
public static void Rule(OptionalCompoundTermBody lhs, CompoundTermBody compoundTermBody) { lhs.CodeTerms = new List<CodeTerm>(); lhs.CodeTerms.AddRange(compoundTermBody.CodeTerms); }