//(@ //import java.lang.*; //@) Container = "(" <contents> List(Item) <capacity> Capacity [<initial> Integer] ")". Item : Container | Simple. List(S) ~ {S}. Simple = <name> Ident <w> Weight. Capacity = <i> Integer. Weight = <i> Integer. SummingVisitor = <total> Integer. CheckingVisitor = <sV> SummingVisitor <initial> Integer. Main = .