ACIL FM
Dark
Refresh
Current DIR:
/home/benbot/bot/server/node_modules/eslint/lib/linter/code-path-analysis
/
home
benbot
bot
server
node_modules
eslint
lib
linter
code-path-analysis
Upload
Zip Selected
Delete Selected
Pilih semua
Nama
Ukuran
Permission
Aksi
code-path-analyzer.js
20.59 MB
chmod
View
DL
Edit
Rename
Delete
code-path-segment.js
7.56 MB
chmod
View
DL
Edit
Rename
Delete
code-path-state.js
69.39 MB
chmod
View
DL
Edit
Rename
Delete
code-path.js
9.38 MB
chmod
View
DL
Edit
Rename
Delete
debug-helpers.js
5.7 MB
chmod
View
DL
Edit
Rename
Delete
fork-context.js
12.03 MB
chmod
View
DL
Edit
Rename
Delete
id-generator.js
885 B
chmod
View
DL
Edit
Rename
Delete
Edit file: /home/benbot/bot/server/node_modules/eslint/lib/linter/code-path-analysis/id-generator.js
/** * @fileoverview A class of identifiers generator for code path segments. * * Each rule uses the identifier of code path segments to store additional * information of the code path. * * @author Toru Nagashima */ "use strict"; //------------------------------------------------------------------------------ // Public Interface //------------------------------------------------------------------------------ /** * A generator for unique ids. */ class IdGenerator { /** * @param {string} prefix Optional. A prefix of generated ids. */ constructor(prefix) { this.prefix = String(prefix); this.n = 0; } /** * Generates id. * @returns {string} A generated id. */ next() { this.n = (1 + this.n) | 0; /* c8 ignore start */ if (this.n < 0) { this.n = 1; } /* c8 ignore stop */ return this.prefix + this.n; } } module.exports = IdGenerator;
Simpan
Batal
Isi Zip:
Unzip
Create
Buat Folder
Buat File
Terminal / Execute
Run
Chmod Bulk
All File
All Folder
All File dan Folder
Apply