achieve the PascalFactory for parser framework