public static void Rule(List lhs, OpenBracket openBracket, OptionalListBody optionalListBody, CloseBracket closeBracket) { if (optionalListBody.CodeList == null) { lhs.CodeList = new CodeList(); } else { lhs.CodeList = optionalListBody.CodeList; } }
public static void Rule(OptionalListBody lhs) { }
public static void Rule(OptionalListBody lhs, ListBody listBody) { lhs.CodeList = listBody.CodeList; }
public static void Rule(List lhs, OpenBracket openBracket, OptionalListBody optionalListBody, CloseBracket closeBracket) { lhs.CodeList = optionalListBody.CodeList ?? new CodeList(); }