internal JTypeDatabase(SharedDatabaseState cloning) { _sharedState = cloning; _sharedState.ListenForCorruptDatabase(this); _modules = new Dictionary<string, IJModule>(); _constants = new Dictionary<IJType, CJConstant>(); }
/// <summary> /// Constructor used for the default type database specified with a version. /// </summary> internal JTypeDatabase(string databaseDirectory, Version languageVersion) { _sharedState = new SharedDatabaseState(databaseDirectory, languageVersion); _sharedState.ListenForCorruptDatabase(this); }
public JTypeDatabase(string databaseDirectory, bool is3x = false, IBuiltinJModule builtinsModule = null) { _sharedState = new SharedDatabaseState(databaseDirectory, is3x, builtinsModule); _sharedState.ListenForCorruptDatabase(this); }