public PackageDescr compilationUnit(Resource resource) throws RecognitionException {
   return compilationUnit(DescrFactory.newPackage(resource));
 }
 /**
  * Entry point method of a DRL compilation unit
  *
  * <p>compilationUnit := packageStatement? ( statement SEMICOLON? )*
  *
  * @return a PackageDescr with the content of the whole compilation unit
  * @throws RecognitionException
  */
 public PackageDescr compilationUnit() throws RecognitionException {
   return compilationUnit(DescrFactory.newPackage());
 }