Beispiel #1
0
 //Function to retrieve constructor from ConstructorMap
 public FunctionDefinition retrieveConstructor(ContractDefinition contract)
 {
     if (ConstructorMapping.ContainsKey(contract))
     {
         return(ConstructorMapping[contract]);
     }
     return(null);
 }
Beispiel #2
0
        //Function to check if constructor exists.
        public bool checkConstructorExists(ContractDefinition contract)
        {
            bool contains = ConstructorMapping.ContainsKey(contract);

            return(contains);
        }