@syntest/analysis-javascript
Version:
SynTest CFG JavaScript is a library for generating control flow graphs for the JavaScript language
100 lines • 2.15 kB
JavaScript
;
/*
* Copyright 2020-2023 Delft University of Technology and SynTest contributors
*
* This file is part of SynTest Framework - SynTest JavaScript.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.stringProperties = exports.arrayProperties = exports.functionProperties = void 0;
exports.functionProperties = new Set([
"arguments",
"caller",
"displayName",
"length",
"name",
// functions
"apply",
"bind",
"call",
"toString",
]);
exports.arrayProperties = new Set([
"length",
// functions
"at",
"concat",
"copyWithin",
"entries",
"fill",
"filter",
"find",
"findIndex",
"flat",
"flatMap",
"includes",
"indexOf",
"join",
"keys",
"lastIndexOf",
"map",
"pop",
"push",
"reduce",
"reduceRight",
"reverse",
"shift",
"slice",
"toLocaleString",
"toString",
"unshift",
"values",
]);
exports.stringProperties = new Set([
"length",
// functions
"at",
"charAt",
"charCodeAt",
"codePointAt",
"concat",
"includes",
"endsWith",
"indexOf",
"lastIndexOf",
"localeCompare",
"match",
"matchAll",
"normalize",
"padEnd",
"padStart",
"repeat",
"replace",
"replaceAll",
"search",
"slice",
"split",
"startsWith",
"substring",
"toLocaleLowerCase",
"toLocaleUpperCase",
"toLowerCase",
"toString",
"toUpperCase",
"trim",
"trimStart",
"trimEnd",
"valueOf",
]);
//# sourceMappingURL=Type.js.map