ACIL FM
Dark
Refresh
Current DIR:
/home/benbot/bot/server/node_modules/eslint/lib/languages/js/source-code/token-store
/
home
benbot
bot
server
node_modules
eslint
lib
languages
js
source-code
token-store
Upload
Zip Selected
Delete Selected
Pilih semua
Nama
Ukuran
Permission
Aksi
backward-token-comment-cursor.js
1.83 MB
chmod
View
DL
Edit
Rename
Delete
backward-token-cursor.js
1.57 MB
chmod
View
DL
Edit
Rename
Delete
cursor.js
2.15 MB
chmod
View
DL
Edit
Rename
Delete
cursors.js
3.63 MB
chmod
View
DL
Edit
Rename
Delete
decorative-cursor.js
953 B
chmod
View
DL
Edit
Rename
Delete
filter-cursor.js
1.08 MB
chmod
View
DL
Edit
Rename
Delete
forward-token-comment-cursor.js
1.87 MB
chmod
View
DL
Edit
Rename
Delete
forward-token-cursor.js
1.64 MB
chmod
View
DL
Edit
Rename
Delete
index.js
22.13 MB
chmod
View
DL
Edit
Rename
Delete
limit-cursor.js
1 MB
chmod
View
DL
Edit
Rename
Delete
padded-token-cursor.js
1.54 MB
chmod
View
DL
Edit
Rename
Delete
skip-cursor.js
1.04 MB
chmod
View
DL
Edit
Rename
Delete
utils.js
3.32 MB
chmod
View
DL
Edit
Rename
Delete
Edit file: /home/benbot/bot/server/node_modules/eslint/lib/languages/js/source-code/token-store/skip-cursor.js
/** * @fileoverview Define the cursor which ignores the first few tokens. * @author Toru Nagashima */ "use strict"; //------------------------------------------------------------------------------ // Requirements //------------------------------------------------------------------------------ const DecorativeCursor = require("./decorative-cursor"); //------------------------------------------------------------------------------ // Exports //------------------------------------------------------------------------------ /** * The decorative cursor which ignores the first few tokens. */ module.exports = class SkipCursor extends DecorativeCursor { /** * Initializes this cursor. * @param {Cursor} cursor The cursor to be decorated. * @param {number} count The count of tokens this cursor skips. */ constructor(cursor, count) { super(cursor); this.count = count; } /** @inheritdoc */ moveNext() { while (this.count > 0) { this.count -= 1; if (!super.moveNext()) { return false; } } return super.moveNext(); } };
Simpan
Batal
Isi Zip:
Unzip
Create
Buat Folder
Buat File
Terminal / Execute
Run
Chmod Bulk
All File
All Folder
All File dan Folder
Apply