Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
WIKIPEDIA
/
nodejs
/
daily_store_reports_nodejs
/
node_modules
/
@fast-csv
/
parse
/
build
/
src
/
parser
:
Token.js
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Token = void 0; class Token { constructor(tokenArgs) { this.token = tokenArgs.token; this.startCursor = tokenArgs.startCursor; this.endCursor = tokenArgs.endCursor; } static isTokenRowDelimiter(token) { const content = token.token; return content === '\r' || content === '\n' || content === '\r\n'; } static isTokenCarriageReturn(token, parserOptions) { return token.token === parserOptions.carriageReturn; } static isTokenComment(token, parserOptions) { return parserOptions.supportsComments && !!token && token.token === parserOptions.comment; } static isTokenEscapeCharacter(token, parserOptions) { return token.token === parserOptions.escapeChar; } static isTokenQuote(token, parserOptions) { return token.token === parserOptions.quote; } static isTokenDelimiter(token, parserOptions) { return token.token === parserOptions.delimiter; } } exports.Token = Token; //# sourceMappingURL=Token.js.map