refactoring to integrate field-based cg builders with Eclipse-based
JavaScript front end