public Scanner(IExceptionHandler handler, ITypeMap typeMap) { this.handler = handler ?? ExceptionHandlerFactory.Default; this.typeMap = typeMap ?? TypeTable.Instance; ck_table = LoadDefaultCharKeywordTable(); sym_table = LoadDefaultSymbolTable(); }
protected virtual void Dispose(bool disposing) { if (handler != null) { handler = null; typeMap = null; sym_table.Dispose(); sym_table = null; ck_table.Dispose(); ck_table = null; } }