expand the subclass/object directly in the grammar processor