public static ARCHETYPE BuildFromAdlFile(string adlFilePath, CloneConstraintVisitor visitor)
        {
            [email protected]_INTERFACE adlParser = [email protected]_INTERFACE.make();
            adlParser.open_adl_file(Eiffel.String(adlFilePath));

            // check file opened successfully by checking status
            if (!adlParser.archetype_source_loaded())
            {
                throw new ApplicationException(adlFilePath + "\n" + adlParser.status().to_cil());
            }

            return(BuildFromAdlParser(adlParser, visitor));
        }
 public static ARCHETYPE BuildFromAdl(string adl, CloneConstraintVisitor visitor)
 {
     [email protected]_INTERFACE adlParser = [email protected]_INTERFACE.make();
     adlParser.adl_engine().set_source(Eiffel.String(adl));
     return(BuildFromAdlParser(adlParser, visitor));
 }