//(@ //import java.lang.*; //@) Container = "(" List(Item) Capacity [ Integer] ")". Item : Container | Simple. List(S) ~ {S}. Simple = Ident Weight. Capacity = Integer. Weight = Integer. SummingVisitor = Integer. CheckingVisitor = SummingVisitor Integer. Main = .