codeguardian-mcp 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +348 -0
- package/dist/agent/agentTools.d.ts +26 -0
- package/dist/agent/agentTools.d.ts.map +1 -0
- package/dist/agent/agentTools.js +699 -0
- package/dist/agent/agentTools.js.map +1 -0
- package/dist/agent/autoValidator.d.ts +110 -0
- package/dist/agent/autoValidator.d.ts.map +1 -0
- package/dist/agent/autoValidator.js +964 -0
- package/dist/agent/autoValidator.js.map +1 -0
- package/dist/agent/fileWatcher.d.ts +28 -0
- package/dist/agent/fileWatcher.d.ts.map +1 -0
- package/dist/agent/fileWatcher.js +88 -0
- package/dist/agent/fileWatcher.js.map +1 -0
- package/dist/agent/guardianPersistence.d.ts +98 -0
- package/dist/agent/guardianPersistence.d.ts.map +1 -0
- package/dist/agent/guardianPersistence.js +296 -0
- package/dist/agent/guardianPersistence.js.map +1 -0
- package/dist/agent/mcpNotifications.d.ts +38 -0
- package/dist/agent/mcpNotifications.d.ts.map +1 -0
- package/dist/agent/mcpNotifications.js +81 -0
- package/dist/agent/mcpNotifications.js.map +1 -0
- package/dist/analyzers/aiPatterns.d.ts +16 -0
- package/dist/analyzers/aiPatterns.d.ts.map +1 -0
- package/dist/analyzers/aiPatterns.js +103 -0
- package/dist/analyzers/aiPatterns.js.map +1 -0
- package/dist/analyzers/antiPatterns.d.ts +60 -0
- package/dist/analyzers/antiPatterns.d.ts.map +1 -0
- package/dist/analyzers/antiPatterns.js +198 -0
- package/dist/analyzers/antiPatterns.js.map +1 -0
- package/dist/analyzers/builtinTypes.d.ts +18 -0
- package/dist/analyzers/builtinTypes.d.ts.map +1 -0
- package/dist/analyzers/builtinTypes.js +1275 -0
- package/dist/analyzers/builtinTypes.js.map +1 -0
- package/dist/analyzers/complexity.d.ts +14 -0
- package/dist/analyzers/complexity.d.ts.map +1 -0
- package/dist/analyzers/complexity.js +610 -0
- package/dist/analyzers/complexity.js.map +1 -0
- package/dist/analyzers/findingVerifier.d.ts +59 -0
- package/dist/analyzers/findingVerifier.d.ts.map +1 -0
- package/dist/analyzers/findingVerifier.js +1169 -0
- package/dist/analyzers/findingVerifier.js.map +1 -0
- package/dist/analyzers/impactAnalyzer.d.ts +53 -0
- package/dist/analyzers/impactAnalyzer.d.ts.map +1 -0
- package/dist/analyzers/impactAnalyzer.js +152 -0
- package/dist/analyzers/impactAnalyzer.js.map +1 -0
- package/dist/analyzers/languageDetector.d.ts +48 -0
- package/dist/analyzers/languageDetector.d.ts.map +1 -0
- package/dist/analyzers/languageDetector.js +404 -0
- package/dist/analyzers/languageDetector.js.map +1 -0
- package/dist/analyzers/parsers/incrementalParser.d.ts +53 -0
- package/dist/analyzers/parsers/incrementalParser.d.ts.map +1 -0
- package/dist/analyzers/parsers/incrementalParser.js +193 -0
- package/dist/analyzers/parsers/incrementalParser.js.map +1 -0
- package/dist/analyzers/parsers/scopeResolver.d.ts +92 -0
- package/dist/analyzers/parsers/scopeResolver.d.ts.map +1 -0
- package/dist/analyzers/parsers/scopeResolver.js +324 -0
- package/dist/analyzers/parsers/scopeResolver.js.map +1 -0
- package/dist/analyzers/parsers/semanticIndex.d.ts +127 -0
- package/dist/analyzers/parsers/semanticIndex.d.ts.map +1 -0
- package/dist/analyzers/parsers/semanticIndex.js +429 -0
- package/dist/analyzers/parsers/semanticIndex.js.map +1 -0
- package/dist/analyzers/parsers/sessionDiffAnalyzer.d.ts +42 -0
- package/dist/analyzers/parsers/sessionDiffAnalyzer.d.ts.map +1 -0
- package/dist/analyzers/parsers/sessionDiffAnalyzer.js +233 -0
- package/dist/analyzers/parsers/sessionDiffAnalyzer.js.map +1 -0
- package/dist/analyzers/parsers/treeSitterParser.d.ts +76 -0
- package/dist/analyzers/parsers/treeSitterParser.d.ts.map +1 -0
- package/dist/analyzers/parsers/treeSitterParser.js +709 -0
- package/dist/analyzers/parsers/treeSitterParser.js.map +1 -0
- package/dist/analyzers/relevanceScorer.d.ts +43 -0
- package/dist/analyzers/relevanceScorer.d.ts.map +1 -0
- package/dist/analyzers/relevanceScorer.js +200 -0
- package/dist/analyzers/relevanceScorer.js.map +1 -0
- package/dist/analyzers/standardLibrary.d.ts +22 -0
- package/dist/analyzers/standardLibrary.d.ts.map +1 -0
- package/dist/analyzers/standardLibrary.js +211 -0
- package/dist/analyzers/standardLibrary.js.map +1 -0
- package/dist/analyzers/symbolGraph.d.ts +30 -0
- package/dist/analyzers/symbolGraph.d.ts.map +1 -0
- package/dist/analyzers/symbolGraph.js +380 -0
- package/dist/analyzers/symbolGraph.js.map +1 -0
- package/dist/analyzers/symbolTable.d.ts +18 -0
- package/dist/analyzers/symbolTable.d.ts.map +1 -0
- package/dist/analyzers/symbolTable.js +176 -0
- package/dist/analyzers/symbolTable.js.map +1 -0
- package/dist/analyzers/typeChecker.d.ts +13 -0
- package/dist/analyzers/typeChecker.d.ts.map +1 -0
- package/dist/analyzers/typeChecker.js +580 -0
- package/dist/analyzers/typeChecker.js.map +1 -0
- package/dist/analyzers/usagePatterns.d.ts +42 -0
- package/dist/analyzers/usagePatterns.d.ts.map +1 -0
- package/dist/analyzers/usagePatterns.js +75 -0
- package/dist/analyzers/usagePatterns.js.map +1 -0
- package/dist/api-contract/context/backend.d.ts +19 -0
- package/dist/api-contract/context/backend.d.ts.map +1 -0
- package/dist/api-contract/context/backend.js +64 -0
- package/dist/api-contract/context/backend.js.map +1 -0
- package/dist/api-contract/context/contract.d.ts +34 -0
- package/dist/api-contract/context/contract.d.ts.map +1 -0
- package/dist/api-contract/context/contract.js +306 -0
- package/dist/api-contract/context/contract.js.map +1 -0
- package/dist/api-contract/context/frontend.d.ts +19 -0
- package/dist/api-contract/context/frontend.d.ts.map +1 -0
- package/dist/api-contract/context/frontend.js +64 -0
- package/dist/api-contract/context/frontend.js.map +1 -0
- package/dist/api-contract/detector.d.ts +28 -0
- package/dist/api-contract/detector.d.ts.map +1 -0
- package/dist/api-contract/detector.js +393 -0
- package/dist/api-contract/detector.js.map +1 -0
- package/dist/api-contract/extractors/python.d.ts +32 -0
- package/dist/api-contract/extractors/python.d.ts.map +1 -0
- package/dist/api-contract/extractors/python.js +521 -0
- package/dist/api-contract/extractors/python.js.map +1 -0
- package/dist/api-contract/extractors/pythonAstUtils.d.ts +44 -0
- package/dist/api-contract/extractors/pythonAstUtils.d.ts.map +1 -0
- package/dist/api-contract/extractors/pythonAstUtils.js +489 -0
- package/dist/api-contract/extractors/pythonAstUtils.js.map +1 -0
- package/dist/api-contract/extractors/tsAstUtils.d.ts +47 -0
- package/dist/api-contract/extractors/tsAstUtils.d.ts.map +1 -0
- package/dist/api-contract/extractors/tsAstUtils.js +173 -0
- package/dist/api-contract/extractors/tsAstUtils.js.map +1 -0
- package/dist/api-contract/extractors/typescript.d.ts +32 -0
- package/dist/api-contract/extractors/typescript.d.ts.map +1 -0
- package/dist/api-contract/extractors/typescript.js +666 -0
- package/dist/api-contract/extractors/typescript.js.map +1 -0
- package/dist/api-contract/index.d.ts +104 -0
- package/dist/api-contract/index.d.ts.map +1 -0
- package/dist/api-contract/index.js +232 -0
- package/dist/api-contract/index.js.map +1 -0
- package/dist/api-contract/types.d.ts +151 -0
- package/dist/api-contract/types.d.ts.map +1 -0
- package/dist/api-contract/types.js +19 -0
- package/dist/api-contract/types.js.map +1 -0
- package/dist/api-contract/validators/endpoint.d.ts +21 -0
- package/dist/api-contract/validators/endpoint.d.ts.map +1 -0
- package/dist/api-contract/validators/endpoint.js +224 -0
- package/dist/api-contract/validators/endpoint.js.map +1 -0
- package/dist/api-contract/validators/index.d.ts +40 -0
- package/dist/api-contract/validators/index.d.ts.map +1 -0
- package/dist/api-contract/validators/index.js +875 -0
- package/dist/api-contract/validators/index.js.map +1 -0
- package/dist/api-contract/validators/parameter.d.ts +17 -0
- package/dist/api-contract/validators/parameter.d.ts.map +1 -0
- package/dist/api-contract/validators/parameter.js +250 -0
- package/dist/api-contract/validators/parameter.js.map +1 -0
- package/dist/api-contract/validators/type.d.ts +38 -0
- package/dist/api-contract/validators/type.d.ts.map +1 -0
- package/dist/api-contract/validators/type.js +244 -0
- package/dist/api-contract/validators/type.js.map +1 -0
- package/dist/context/apiContract/complexTypeSupport.d.ts +83 -0
- package/dist/context/apiContract/complexTypeSupport.d.ts.map +1 -0
- package/dist/context/apiContract/complexTypeSupport.js +665 -0
- package/dist/context/apiContract/complexTypeSupport.js.map +1 -0
- package/dist/context/apiContract/graphqlSupport.d.ts +105 -0
- package/dist/context/apiContract/graphqlSupport.d.ts.map +1 -0
- package/dist/context/apiContract/graphqlSupport.js +671 -0
- package/dist/context/apiContract/graphqlSupport.js.map +1 -0
- package/dist/context/apiContract/index.d.ts +14 -0
- package/dist/context/apiContract/index.d.ts.map +1 -0
- package/dist/context/apiContract/index.js +17 -0
- package/dist/context/apiContract/index.js.map +1 -0
- package/dist/context/apiContract/webSocketSupport.d.ts +104 -0
- package/dist/context/apiContract/webSocketSupport.d.ts.map +1 -0
- package/dist/context/apiContract/webSocketSupport.js +465 -0
- package/dist/context/apiContract/webSocketSupport.js.map +1 -0
- package/dist/context/apiContractContext.d.ts +15 -0
- package/dist/context/apiContractContext.d.ts.map +1 -0
- package/dist/context/apiContractContext.js +979 -0
- package/dist/context/apiContractContext.js.map +1 -0
- package/dist/context/apiContractExtraction.d.ts +52 -0
- package/dist/context/apiContractExtraction.d.ts.map +1 -0
- package/dist/context/apiContractExtraction.js +438 -0
- package/dist/context/apiContractExtraction.js.map +1 -0
- package/dist/context/contextLineage.d.ts +79 -0
- package/dist/context/contextLineage.d.ts.map +1 -0
- package/dist/context/contextLineage.js +259 -0
- package/dist/context/contextLineage.js.map +1 -0
- package/dist/context/contextOrchestrator.d.ts +57 -0
- package/dist/context/contextOrchestrator.d.ts.map +1 -0
- package/dist/context/contextOrchestrator.js +162 -0
- package/dist/context/contextOrchestrator.js.map +1 -0
- package/dist/context/intentTracker.d.ts +73 -0
- package/dist/context/intentTracker.d.ts.map +1 -0
- package/dist/context/intentTracker.js +168 -0
- package/dist/context/intentTracker.js.map +1 -0
- package/dist/context/projectContext.d.ts +219 -0
- package/dist/context/projectContext.d.ts.map +1 -0
- package/dist/context/projectContext.js +1984 -0
- package/dist/context/projectContext.js.map +1 -0
- package/dist/prompts/index.d.ts +17 -0
- package/dist/prompts/index.d.ts.map +1 -0
- package/dist/prompts/index.js +260 -0
- package/dist/prompts/index.js.map +1 -0
- package/dist/prompts/library.d.ts +51 -0
- package/dist/prompts/library.d.ts.map +1 -0
- package/dist/prompts/library.js +65 -0
- package/dist/prompts/library.js.map +1 -0
- package/dist/prompts/templates.d.ts +44 -0
- package/dist/prompts/templates.d.ts.map +1 -0
- package/dist/prompts/templates.js +97 -0
- package/dist/prompts/templates.js.map +1 -0
- package/dist/queue/jobPersistence.d.ts +46 -0
- package/dist/queue/jobPersistence.d.ts.map +1 -0
- package/dist/queue/jobPersistence.js +158 -0
- package/dist/queue/jobPersistence.js.map +1 -0
- package/dist/queue/jobQueue.d.ts +116 -0
- package/dist/queue/jobQueue.d.ts.map +1 -0
- package/dist/queue/jobQueue.js +275 -0
- package/dist/queue/jobQueue.js.map +1 -0
- package/dist/queue/validationJob.d.ts +69 -0
- package/dist/queue/validationJob.d.ts.map +1 -0
- package/dist/queue/validationJob.js +435 -0
- package/dist/queue/validationJob.js.map +1 -0
- package/dist/resources/index.d.ts +15 -0
- package/dist/resources/index.d.ts.map +1 -0
- package/dist/resources/index.js +328 -0
- package/dist/resources/index.js.map +1 -0
- package/dist/resources/validationReportStore.d.ts +170 -0
- package/dist/resources/validationReportStore.d.ts.map +1 -0
- package/dist/resources/validationReportStore.js +515 -0
- package/dist/resources/validationReportStore.js.map +1 -0
- package/dist/server.d.ts +12 -0
- package/dist/server.d.ts.map +1 -0
- package/dist/server.js +102 -0
- package/dist/server.js.map +1 -0
- package/dist/tools/asyncValidation.d.ts +19 -0
- package/dist/tools/asyncValidation.d.ts.map +1 -0
- package/dist/tools/asyncValidation.js +346 -0
- package/dist/tools/asyncValidation.js.map +1 -0
- package/dist/tools/buildContext.d.ts +17 -0
- package/dist/tools/buildContext.d.ts.map +1 -0
- package/dist/tools/buildContext.js +188 -0
- package/dist/tools/buildContext.js.map +1 -0
- package/dist/tools/getDependencyGraph.d.ts +16 -0
- package/dist/tools/getDependencyGraph.d.ts.map +1 -0
- package/dist/tools/getDependencyGraph.js +436 -0
- package/dist/tools/getDependencyGraph.js.map +1 -0
- package/dist/tools/incrementalValidation.d.ts +71 -0
- package/dist/tools/incrementalValidation.d.ts.map +1 -0
- package/dist/tools/incrementalValidation.js +203 -0
- package/dist/tools/incrementalValidation.js.map +1 -0
- package/dist/tools/index.d.ts +24 -0
- package/dist/tools/index.d.ts.map +1 -0
- package/dist/tools/index.js +106 -0
- package/dist/tools/index.js.map +1 -0
- package/dist/tools/validateCode.d.ts +17 -0
- package/dist/tools/validateCode.d.ts.map +1 -0
- package/dist/tools/validateCode.js +368 -0
- package/dist/tools/validateCode.js.map +1 -0
- package/dist/tools/validateCodeLite.d.ts +2 -0
- package/dist/tools/validateCodeLite.d.ts.map +1 -0
- package/dist/tools/validateCodeLite.js +2 -0
- package/dist/tools/validateCodeLite.js.map +1 -0
- package/dist/tools/validation/builtins.d.ts +92 -0
- package/dist/tools/validation/builtins.d.ts.map +1 -0
- package/dist/tools/validation/builtins.js +2184 -0
- package/dist/tools/validation/builtins.js.map +1 -0
- package/dist/tools/validation/contextualNaming.d.ts +99 -0
- package/dist/tools/validation/contextualNaming.d.ts.map +1 -0
- package/dist/tools/validation/contextualNaming.js +959 -0
- package/dist/tools/validation/contextualNaming.js.map +1 -0
- package/dist/tools/validation/deadCode.d.ts +115 -0
- package/dist/tools/validation/deadCode.d.ts.map +1 -0
- package/dist/tools/validation/deadCode.js +861 -0
- package/dist/tools/validation/deadCode.js.map +1 -0
- package/dist/tools/validation/extractors/index.d.ts +131 -0
- package/dist/tools/validation/extractors/index.d.ts.map +1 -0
- package/dist/tools/validation/extractors/index.js +233 -0
- package/dist/tools/validation/extractors/index.js.map +1 -0
- package/dist/tools/validation/extractors/javascript.d.ts +73 -0
- package/dist/tools/validation/extractors/javascript.d.ts.map +1 -0
- package/dist/tools/validation/extractors/javascript.js +1841 -0
- package/dist/tools/validation/extractors/javascript.js.map +1 -0
- package/dist/tools/validation/extractors/python.d.ts +93 -0
- package/dist/tools/validation/extractors/python.d.ts.map +1 -0
- package/dist/tools/validation/extractors/python.js +799 -0
- package/dist/tools/validation/extractors/python.js.map +1 -0
- package/dist/tools/validation/manifest.d.ts +45 -0
- package/dist/tools/validation/manifest.d.ts.map +1 -0
- package/dist/tools/validation/manifest.js +719 -0
- package/dist/tools/validation/manifest.js.map +1 -0
- package/dist/tools/validation/parser.d.ts +58 -0
- package/dist/tools/validation/parser.d.ts.map +1 -0
- package/dist/tools/validation/parser.js +232 -0
- package/dist/tools/validation/parser.js.map +1 -0
- package/dist/tools/validation/registry.d.ts +15 -0
- package/dist/tools/validation/registry.d.ts.map +1 -0
- package/dist/tools/validation/registry.js +169 -0
- package/dist/tools/validation/registry.js.map +1 -0
- package/dist/tools/validation/scoring.d.ts +54 -0
- package/dist/tools/validation/scoring.d.ts.map +1 -0
- package/dist/tools/validation/scoring.js +242 -0
- package/dist/tools/validation/scoring.js.map +1 -0
- package/dist/tools/validation/types.d.ts +120 -0
- package/dist/tools/validation/types.d.ts.map +1 -0
- package/dist/tools/validation/types.js +11 -0
- package/dist/tools/validation/types.js.map +1 -0
- package/dist/tools/validation/unusedLocals.d.ts +36 -0
- package/dist/tools/validation/unusedLocals.d.ts.map +1 -0
- package/dist/tools/validation/unusedLocals.js +333 -0
- package/dist/tools/validation/unusedLocals.js.map +1 -0
- package/dist/tools/validation/validation.d.ts +98 -0
- package/dist/tools/validation/validation.d.ts.map +1 -0
- package/dist/tools/validation/validation.js +1837 -0
- package/dist/tools/validation/validation.js.map +1 -0
- package/dist/types/codeGraph.d.ts +163 -0
- package/dist/types/codeGraph.d.ts.map +1 -0
- package/dist/types/codeGraph.js +9 -0
- package/dist/types/codeGraph.js.map +1 -0
- package/dist/types/symbolGraph.d.ts +68 -0
- package/dist/types/symbolGraph.d.ts.map +1 -0
- package/dist/types/symbolGraph.js +10 -0
- package/dist/types/symbolGraph.js.map +1 -0
- package/dist/types/tools.d.ts +43 -0
- package/dist/types/tools.d.ts.map +1 -0
- package/dist/types/tools.js +7 -0
- package/dist/types/tools.js.map +1 -0
- package/dist/utils/fileFilter.d.ts +37 -0
- package/dist/utils/fileFilter.d.ts.map +1 -0
- package/dist/utils/fileFilter.js +91 -0
- package/dist/utils/fileFilter.js.map +1 -0
- package/dist/utils/gitUtils.d.ts +28 -0
- package/dist/utils/gitUtils.d.ts.map +1 -0
- package/dist/utils/gitUtils.js +81 -0
- package/dist/utils/gitUtils.js.map +1 -0
- package/dist/utils/logger.d.ts +15 -0
- package/dist/utils/logger.d.ts.map +1 -0
- package/dist/utils/logger.js +38 -0
- package/dist/utils/logger.js.map +1 -0
- package/dist/utils/serialization.d.ts +25 -0
- package/dist/utils/serialization.d.ts.map +1 -0
- package/dist/utils/serialization.js +53 -0
- package/dist/utils/serialization.js.map +1 -0
- package/package.json +90 -0
|
@@ -0,0 +1,1275 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Built-in Types and Methods
|
|
3
|
+
*
|
|
4
|
+
* Comprehensive registry of built-in types, methods, and globals
|
|
5
|
+
* for each supported language. Used for type-aware validation.
|
|
6
|
+
*
|
|
7
|
+
* @format
|
|
8
|
+
*/
|
|
9
|
+
export const BUILTIN_TYPES = {
|
|
10
|
+
javascript: {
|
|
11
|
+
globals: [
|
|
12
|
+
"window",
|
|
13
|
+
"document",
|
|
14
|
+
"console",
|
|
15
|
+
"process",
|
|
16
|
+
"global",
|
|
17
|
+
"globalThis",
|
|
18
|
+
"undefined",
|
|
19
|
+
"null",
|
|
20
|
+
"NaN",
|
|
21
|
+
"Infinity",
|
|
22
|
+
"arguments",
|
|
23
|
+
"this",
|
|
24
|
+
"module",
|
|
25
|
+
"exports",
|
|
26
|
+
"require",
|
|
27
|
+
"__dirname",
|
|
28
|
+
"__filename",
|
|
29
|
+
"localStorage",
|
|
30
|
+
"sessionStorage",
|
|
31
|
+
"navigator",
|
|
32
|
+
"location",
|
|
33
|
+
"history",
|
|
34
|
+
],
|
|
35
|
+
functions: [
|
|
36
|
+
"parseInt",
|
|
37
|
+
"parseFloat",
|
|
38
|
+
"isNaN",
|
|
39
|
+
"isFinite",
|
|
40
|
+
"eval",
|
|
41
|
+
"encodeURI",
|
|
42
|
+
"decodeURI",
|
|
43
|
+
"encodeURIComponent",
|
|
44
|
+
"decodeURIComponent",
|
|
45
|
+
"setTimeout",
|
|
46
|
+
"setInterval",
|
|
47
|
+
"clearTimeout",
|
|
48
|
+
"clearInterval",
|
|
49
|
+
"setImmediate",
|
|
50
|
+
"clearImmediate",
|
|
51
|
+
"queueMicrotask",
|
|
52
|
+
"fetch",
|
|
53
|
+
"alert",
|
|
54
|
+
"confirm",
|
|
55
|
+
"prompt",
|
|
56
|
+
"atob",
|
|
57
|
+
"btoa",
|
|
58
|
+
],
|
|
59
|
+
classes: [
|
|
60
|
+
"Object",
|
|
61
|
+
"Array",
|
|
62
|
+
"String",
|
|
63
|
+
"Number",
|
|
64
|
+
"Boolean",
|
|
65
|
+
"Symbol",
|
|
66
|
+
"BigInt",
|
|
67
|
+
"Function",
|
|
68
|
+
"Date",
|
|
69
|
+
"RegExp",
|
|
70
|
+
"Error",
|
|
71
|
+
"TypeError",
|
|
72
|
+
"ReferenceError",
|
|
73
|
+
"SyntaxError",
|
|
74
|
+
"RangeError",
|
|
75
|
+
"URIError",
|
|
76
|
+
"EvalError",
|
|
77
|
+
"AggregateError",
|
|
78
|
+
"Map",
|
|
79
|
+
"Set",
|
|
80
|
+
"WeakMap",
|
|
81
|
+
"WeakSet",
|
|
82
|
+
"WeakRef",
|
|
83
|
+
"FinalizationRegistry",
|
|
84
|
+
"Promise",
|
|
85
|
+
"Proxy",
|
|
86
|
+
"Reflect",
|
|
87
|
+
"JSON",
|
|
88
|
+
"Math",
|
|
89
|
+
"Intl",
|
|
90
|
+
"ArrayBuffer",
|
|
91
|
+
"SharedArrayBuffer",
|
|
92
|
+
"DataView",
|
|
93
|
+
"Atomics",
|
|
94
|
+
"Int8Array",
|
|
95
|
+
"Uint8Array",
|
|
96
|
+
"Uint8ClampedArray",
|
|
97
|
+
"Int16Array",
|
|
98
|
+
"Uint16Array",
|
|
99
|
+
"Int32Array",
|
|
100
|
+
"Uint32Array",
|
|
101
|
+
"Float32Array",
|
|
102
|
+
"Float64Array",
|
|
103
|
+
"BigInt64Array",
|
|
104
|
+
"BigUint64Array",
|
|
105
|
+
"URL",
|
|
106
|
+
"URLSearchParams",
|
|
107
|
+
"FormData",
|
|
108
|
+
"Headers",
|
|
109
|
+
"Request",
|
|
110
|
+
"Response",
|
|
111
|
+
"Blob",
|
|
112
|
+
"File",
|
|
113
|
+
"FileReader",
|
|
114
|
+
"FileList",
|
|
115
|
+
"WebSocket",
|
|
116
|
+
"EventSource",
|
|
117
|
+
"XMLHttpRequest",
|
|
118
|
+
"Event",
|
|
119
|
+
"CustomEvent",
|
|
120
|
+
"EventTarget",
|
|
121
|
+
"AbortController",
|
|
122
|
+
"AbortSignal",
|
|
123
|
+
"TextEncoder",
|
|
124
|
+
"TextDecoder",
|
|
125
|
+
"ReadableStream",
|
|
126
|
+
"WritableStream",
|
|
127
|
+
"TransformStream",
|
|
128
|
+
"CompressionStream",
|
|
129
|
+
"DecompressionStream",
|
|
130
|
+
],
|
|
131
|
+
keywords: [
|
|
132
|
+
"async",
|
|
133
|
+
"await",
|
|
134
|
+
"break",
|
|
135
|
+
"case",
|
|
136
|
+
"catch",
|
|
137
|
+
"class",
|
|
138
|
+
"const",
|
|
139
|
+
"continue",
|
|
140
|
+
"debugger",
|
|
141
|
+
"default",
|
|
142
|
+
"delete",
|
|
143
|
+
"do",
|
|
144
|
+
"else",
|
|
145
|
+
"export",
|
|
146
|
+
"extends",
|
|
147
|
+
"finally",
|
|
148
|
+
"for",
|
|
149
|
+
"function",
|
|
150
|
+
"if",
|
|
151
|
+
"import",
|
|
152
|
+
"in",
|
|
153
|
+
"instanceof",
|
|
154
|
+
"let",
|
|
155
|
+
"new",
|
|
156
|
+
"return",
|
|
157
|
+
"static",
|
|
158
|
+
"super",
|
|
159
|
+
"switch",
|
|
160
|
+
"this",
|
|
161
|
+
"throw",
|
|
162
|
+
"try",
|
|
163
|
+
"typeof",
|
|
164
|
+
"var",
|
|
165
|
+
"void",
|
|
166
|
+
"while",
|
|
167
|
+
"with",
|
|
168
|
+
"yield",
|
|
169
|
+
"of",
|
|
170
|
+
],
|
|
171
|
+
methods: {
|
|
172
|
+
Array: [
|
|
173
|
+
"push",
|
|
174
|
+
"pop",
|
|
175
|
+
"shift",
|
|
176
|
+
"unshift",
|
|
177
|
+
"slice",
|
|
178
|
+
"splice",
|
|
179
|
+
"concat",
|
|
180
|
+
"join",
|
|
181
|
+
"reverse",
|
|
182
|
+
"sort",
|
|
183
|
+
"indexOf",
|
|
184
|
+
"lastIndexOf",
|
|
185
|
+
"includes",
|
|
186
|
+
"find",
|
|
187
|
+
"findIndex",
|
|
188
|
+
"findLast",
|
|
189
|
+
"findLastIndex",
|
|
190
|
+
"filter",
|
|
191
|
+
"map",
|
|
192
|
+
"reduce",
|
|
193
|
+
"reduceRight",
|
|
194
|
+
"forEach",
|
|
195
|
+
"every",
|
|
196
|
+
"some",
|
|
197
|
+
"flat",
|
|
198
|
+
"flatMap",
|
|
199
|
+
"fill",
|
|
200
|
+
"copyWithin",
|
|
201
|
+
"entries",
|
|
202
|
+
"keys",
|
|
203
|
+
"values",
|
|
204
|
+
"at",
|
|
205
|
+
"toReversed",
|
|
206
|
+
"toSorted",
|
|
207
|
+
"toSpliced",
|
|
208
|
+
"with",
|
|
209
|
+
"length",
|
|
210
|
+
],
|
|
211
|
+
String: [
|
|
212
|
+
"charAt",
|
|
213
|
+
"charCodeAt",
|
|
214
|
+
"codePointAt",
|
|
215
|
+
"concat",
|
|
216
|
+
"includes",
|
|
217
|
+
"endsWith",
|
|
218
|
+
"indexOf",
|
|
219
|
+
"lastIndexOf",
|
|
220
|
+
"localeCompare",
|
|
221
|
+
"match",
|
|
222
|
+
"matchAll",
|
|
223
|
+
"normalize",
|
|
224
|
+
"padEnd",
|
|
225
|
+
"padStart",
|
|
226
|
+
"repeat",
|
|
227
|
+
"replace",
|
|
228
|
+
"replaceAll",
|
|
229
|
+
"search",
|
|
230
|
+
"slice",
|
|
231
|
+
"split",
|
|
232
|
+
"startsWith",
|
|
233
|
+
"substring",
|
|
234
|
+
"toLocaleLowerCase",
|
|
235
|
+
"toLocaleUpperCase",
|
|
236
|
+
"toLowerCase",
|
|
237
|
+
"toUpperCase",
|
|
238
|
+
"trim",
|
|
239
|
+
"trimEnd",
|
|
240
|
+
"trimStart",
|
|
241
|
+
"at",
|
|
242
|
+
"length",
|
|
243
|
+
],
|
|
244
|
+
Object: [
|
|
245
|
+
"keys",
|
|
246
|
+
"values",
|
|
247
|
+
"entries",
|
|
248
|
+
"assign",
|
|
249
|
+
"freeze",
|
|
250
|
+
"seal",
|
|
251
|
+
"isFrozen",
|
|
252
|
+
"isSealed",
|
|
253
|
+
"isExtensible",
|
|
254
|
+
"preventExtensions",
|
|
255
|
+
"getOwnPropertyNames",
|
|
256
|
+
"getOwnPropertySymbols",
|
|
257
|
+
"getOwnPropertyDescriptor",
|
|
258
|
+
"getOwnPropertyDescriptors",
|
|
259
|
+
"defineProperty",
|
|
260
|
+
"defineProperties",
|
|
261
|
+
"getPrototypeOf",
|
|
262
|
+
"setPrototypeOf",
|
|
263
|
+
"create",
|
|
264
|
+
"fromEntries",
|
|
265
|
+
"hasOwn",
|
|
266
|
+
],
|
|
267
|
+
Promise: [
|
|
268
|
+
"then",
|
|
269
|
+
"catch",
|
|
270
|
+
"finally",
|
|
271
|
+
"resolve",
|
|
272
|
+
"reject",
|
|
273
|
+
"all",
|
|
274
|
+
"allSettled",
|
|
275
|
+
"any",
|
|
276
|
+
"race",
|
|
277
|
+
"withResolvers",
|
|
278
|
+
],
|
|
279
|
+
Map: [
|
|
280
|
+
"get",
|
|
281
|
+
"set",
|
|
282
|
+
"has",
|
|
283
|
+
"delete",
|
|
284
|
+
"clear",
|
|
285
|
+
"forEach",
|
|
286
|
+
"keys",
|
|
287
|
+
"values",
|
|
288
|
+
"entries",
|
|
289
|
+
"size",
|
|
290
|
+
],
|
|
291
|
+
Set: [
|
|
292
|
+
"add",
|
|
293
|
+
"has",
|
|
294
|
+
"delete",
|
|
295
|
+
"clear",
|
|
296
|
+
"forEach",
|
|
297
|
+
"keys",
|
|
298
|
+
"values",
|
|
299
|
+
"entries",
|
|
300
|
+
"size",
|
|
301
|
+
],
|
|
302
|
+
Date: [
|
|
303
|
+
"getTime",
|
|
304
|
+
"getFullYear",
|
|
305
|
+
"getMonth",
|
|
306
|
+
"getDate",
|
|
307
|
+
"getDay",
|
|
308
|
+
"getHours",
|
|
309
|
+
"getMinutes",
|
|
310
|
+
"getSeconds",
|
|
311
|
+
"getMilliseconds",
|
|
312
|
+
"setTime",
|
|
313
|
+
"setFullYear",
|
|
314
|
+
"setMonth",
|
|
315
|
+
"setDate",
|
|
316
|
+
"setHours",
|
|
317
|
+
"setMinutes",
|
|
318
|
+
"setSeconds",
|
|
319
|
+
"toISOString",
|
|
320
|
+
"toJSON",
|
|
321
|
+
"toDateString",
|
|
322
|
+
"toTimeString",
|
|
323
|
+
"toLocaleString",
|
|
324
|
+
"toLocaleDateString",
|
|
325
|
+
"toLocaleTimeString",
|
|
326
|
+
"now",
|
|
327
|
+
"parse",
|
|
328
|
+
"UTC",
|
|
329
|
+
],
|
|
330
|
+
JSON: ["parse", "stringify"],
|
|
331
|
+
Math: [
|
|
332
|
+
"abs",
|
|
333
|
+
"acos",
|
|
334
|
+
"acosh",
|
|
335
|
+
"asin",
|
|
336
|
+
"asinh",
|
|
337
|
+
"atan",
|
|
338
|
+
"atan2",
|
|
339
|
+
"atanh",
|
|
340
|
+
"cbrt",
|
|
341
|
+
"ceil",
|
|
342
|
+
"clz32",
|
|
343
|
+
"cos",
|
|
344
|
+
"cosh",
|
|
345
|
+
"exp",
|
|
346
|
+
"expm1",
|
|
347
|
+
"floor",
|
|
348
|
+
"fround",
|
|
349
|
+
"hypot",
|
|
350
|
+
"imul",
|
|
351
|
+
"log",
|
|
352
|
+
"log10",
|
|
353
|
+
"log1p",
|
|
354
|
+
"log2",
|
|
355
|
+
"max",
|
|
356
|
+
"min",
|
|
357
|
+
"pow",
|
|
358
|
+
"random",
|
|
359
|
+
"round",
|
|
360
|
+
"sign",
|
|
361
|
+
"sin",
|
|
362
|
+
"sinh",
|
|
363
|
+
"sqrt",
|
|
364
|
+
"tan",
|
|
365
|
+
"tanh",
|
|
366
|
+
"trunc",
|
|
367
|
+
"PI",
|
|
368
|
+
"E",
|
|
369
|
+
"LN2",
|
|
370
|
+
"LN10",
|
|
371
|
+
"LOG2E",
|
|
372
|
+
"LOG10E",
|
|
373
|
+
],
|
|
374
|
+
console: [
|
|
375
|
+
"log",
|
|
376
|
+
"error",
|
|
377
|
+
"warn",
|
|
378
|
+
"info",
|
|
379
|
+
"debug",
|
|
380
|
+
"trace",
|
|
381
|
+
"assert",
|
|
382
|
+
"clear",
|
|
383
|
+
"count",
|
|
384
|
+
"countReset",
|
|
385
|
+
"dir",
|
|
386
|
+
"dirxml",
|
|
387
|
+
"group",
|
|
388
|
+
"groupCollapsed",
|
|
389
|
+
"groupEnd",
|
|
390
|
+
"table",
|
|
391
|
+
"time",
|
|
392
|
+
"timeEnd",
|
|
393
|
+
"timeLog",
|
|
394
|
+
"timeStamp",
|
|
395
|
+
"profile",
|
|
396
|
+
"profileEnd",
|
|
397
|
+
],
|
|
398
|
+
URLSearchParams: [
|
|
399
|
+
"append",
|
|
400
|
+
"delete",
|
|
401
|
+
"get",
|
|
402
|
+
"getAll",
|
|
403
|
+
"has",
|
|
404
|
+
"set",
|
|
405
|
+
"sort",
|
|
406
|
+
"toString",
|
|
407
|
+
"keys",
|
|
408
|
+
"values",
|
|
409
|
+
"entries",
|
|
410
|
+
"forEach",
|
|
411
|
+
],
|
|
412
|
+
FormData: [
|
|
413
|
+
"append",
|
|
414
|
+
"delete",
|
|
415
|
+
"get",
|
|
416
|
+
"getAll",
|
|
417
|
+
"has",
|
|
418
|
+
"set",
|
|
419
|
+
"keys",
|
|
420
|
+
"values",
|
|
421
|
+
"entries",
|
|
422
|
+
"forEach",
|
|
423
|
+
],
|
|
424
|
+
Response: [
|
|
425
|
+
"json",
|
|
426
|
+
"text",
|
|
427
|
+
"blob",
|
|
428
|
+
"arrayBuffer",
|
|
429
|
+
"formData",
|
|
430
|
+
"clone",
|
|
431
|
+
"ok",
|
|
432
|
+
"status",
|
|
433
|
+
"statusText",
|
|
434
|
+
"headers",
|
|
435
|
+
"body",
|
|
436
|
+
"bodyUsed",
|
|
437
|
+
],
|
|
438
|
+
Request: [
|
|
439
|
+
"json",
|
|
440
|
+
"text",
|
|
441
|
+
"blob",
|
|
442
|
+
"arrayBuffer",
|
|
443
|
+
"formData",
|
|
444
|
+
"clone",
|
|
445
|
+
"method",
|
|
446
|
+
"url",
|
|
447
|
+
"headers",
|
|
448
|
+
"body",
|
|
449
|
+
"bodyUsed",
|
|
450
|
+
"mode",
|
|
451
|
+
"credentials",
|
|
452
|
+
],
|
|
453
|
+
Headers: [
|
|
454
|
+
"append",
|
|
455
|
+
"delete",
|
|
456
|
+
"get",
|
|
457
|
+
"has",
|
|
458
|
+
"set",
|
|
459
|
+
"keys",
|
|
460
|
+
"values",
|
|
461
|
+
"entries",
|
|
462
|
+
"forEach",
|
|
463
|
+
],
|
|
464
|
+
RegExp: [
|
|
465
|
+
"test",
|
|
466
|
+
"exec",
|
|
467
|
+
"source",
|
|
468
|
+
"flags",
|
|
469
|
+
"global",
|
|
470
|
+
"ignoreCase",
|
|
471
|
+
"multiline",
|
|
472
|
+
"sticky",
|
|
473
|
+
"unicode",
|
|
474
|
+
"dotAll",
|
|
475
|
+
"lastIndex",
|
|
476
|
+
],
|
|
477
|
+
},
|
|
478
|
+
properties: {
|
|
479
|
+
Array: ["length"],
|
|
480
|
+
String: ["length"],
|
|
481
|
+
Function: ["name", "length", "prototype"],
|
|
482
|
+
Error: ["name", "message", "stack", "cause"],
|
|
483
|
+
},
|
|
484
|
+
},
|
|
485
|
+
typescript: {
|
|
486
|
+
// TypeScript inherits all JavaScript builtins
|
|
487
|
+
globals: [
|
|
488
|
+
"window",
|
|
489
|
+
"document",
|
|
490
|
+
"console",
|
|
491
|
+
"process",
|
|
492
|
+
"global",
|
|
493
|
+
"globalThis",
|
|
494
|
+
"undefined",
|
|
495
|
+
"null",
|
|
496
|
+
"NaN",
|
|
497
|
+
"Infinity",
|
|
498
|
+
"arguments",
|
|
499
|
+
"this",
|
|
500
|
+
"module",
|
|
501
|
+
"exports",
|
|
502
|
+
"require",
|
|
503
|
+
"__dirname",
|
|
504
|
+
"__filename",
|
|
505
|
+
"localStorage",
|
|
506
|
+
"sessionStorage",
|
|
507
|
+
"navigator",
|
|
508
|
+
"location",
|
|
509
|
+
"history",
|
|
510
|
+
],
|
|
511
|
+
functions: [
|
|
512
|
+
"parseInt",
|
|
513
|
+
"parseFloat",
|
|
514
|
+
"isNaN",
|
|
515
|
+
"isFinite",
|
|
516
|
+
"eval",
|
|
517
|
+
"encodeURI",
|
|
518
|
+
"decodeURI",
|
|
519
|
+
"encodeURIComponent",
|
|
520
|
+
"decodeURIComponent",
|
|
521
|
+
"setTimeout",
|
|
522
|
+
"setInterval",
|
|
523
|
+
"clearTimeout",
|
|
524
|
+
"clearInterval",
|
|
525
|
+
"setImmediate",
|
|
526
|
+
"clearImmediate",
|
|
527
|
+
"queueMicrotask",
|
|
528
|
+
"fetch",
|
|
529
|
+
"alert",
|
|
530
|
+
"confirm",
|
|
531
|
+
"prompt",
|
|
532
|
+
"atob",
|
|
533
|
+
"btoa",
|
|
534
|
+
],
|
|
535
|
+
classes: [
|
|
536
|
+
"Object",
|
|
537
|
+
"Array",
|
|
538
|
+
"String",
|
|
539
|
+
"Number",
|
|
540
|
+
"Boolean",
|
|
541
|
+
"Symbol",
|
|
542
|
+
"BigInt",
|
|
543
|
+
"Function",
|
|
544
|
+
"Date",
|
|
545
|
+
"RegExp",
|
|
546
|
+
"Error",
|
|
547
|
+
"TypeError",
|
|
548
|
+
"ReferenceError",
|
|
549
|
+
"SyntaxError",
|
|
550
|
+
"RangeError",
|
|
551
|
+
"URIError",
|
|
552
|
+
"EvalError",
|
|
553
|
+
"AggregateError",
|
|
554
|
+
"Map",
|
|
555
|
+
"Set",
|
|
556
|
+
"WeakMap",
|
|
557
|
+
"WeakSet",
|
|
558
|
+
"WeakRef",
|
|
559
|
+
"FinalizationRegistry",
|
|
560
|
+
"Promise",
|
|
561
|
+
"Proxy",
|
|
562
|
+
"Reflect",
|
|
563
|
+
"JSON",
|
|
564
|
+
"Math",
|
|
565
|
+
"Intl",
|
|
566
|
+
"ArrayBuffer",
|
|
567
|
+
"SharedArrayBuffer",
|
|
568
|
+
"DataView",
|
|
569
|
+
"Atomics",
|
|
570
|
+
"URL",
|
|
571
|
+
"URLSearchParams",
|
|
572
|
+
"FormData",
|
|
573
|
+
"Headers",
|
|
574
|
+
"Request",
|
|
575
|
+
"Response",
|
|
576
|
+
"Blob",
|
|
577
|
+
"File",
|
|
578
|
+
"FileReader",
|
|
579
|
+
"WebSocket",
|
|
580
|
+
"EventSource",
|
|
581
|
+
"Event",
|
|
582
|
+
"CustomEvent",
|
|
583
|
+
"EventTarget",
|
|
584
|
+
"AbortController",
|
|
585
|
+
"AbortSignal",
|
|
586
|
+
"TextEncoder",
|
|
587
|
+
"TextDecoder",
|
|
588
|
+
"ReadableStream",
|
|
589
|
+
"WritableStream",
|
|
590
|
+
// TypeScript utility types
|
|
591
|
+
"Partial",
|
|
592
|
+
"Required",
|
|
593
|
+
"Readonly",
|
|
594
|
+
"Record",
|
|
595
|
+
"Pick",
|
|
596
|
+
"Omit",
|
|
597
|
+
"Exclude",
|
|
598
|
+
"Extract",
|
|
599
|
+
"NonNullable",
|
|
600
|
+
"Parameters",
|
|
601
|
+
"ReturnType",
|
|
602
|
+
"ConstructorParameters",
|
|
603
|
+
"InstanceType",
|
|
604
|
+
"ThisParameterType",
|
|
605
|
+
"OmitThisParameter",
|
|
606
|
+
"ThisType",
|
|
607
|
+
"Uppercase",
|
|
608
|
+
"Lowercase",
|
|
609
|
+
"Capitalize",
|
|
610
|
+
"Uncapitalize",
|
|
611
|
+
"Awaited",
|
|
612
|
+
],
|
|
613
|
+
keywords: [
|
|
614
|
+
"async",
|
|
615
|
+
"await",
|
|
616
|
+
"break",
|
|
617
|
+
"case",
|
|
618
|
+
"catch",
|
|
619
|
+
"class",
|
|
620
|
+
"const",
|
|
621
|
+
"continue",
|
|
622
|
+
"debugger",
|
|
623
|
+
"default",
|
|
624
|
+
"delete",
|
|
625
|
+
"do",
|
|
626
|
+
"else",
|
|
627
|
+
"export",
|
|
628
|
+
"extends",
|
|
629
|
+
"finally",
|
|
630
|
+
"for",
|
|
631
|
+
"function",
|
|
632
|
+
"if",
|
|
633
|
+
"import",
|
|
634
|
+
"in",
|
|
635
|
+
"instanceof",
|
|
636
|
+
"let",
|
|
637
|
+
"new",
|
|
638
|
+
"return",
|
|
639
|
+
"static",
|
|
640
|
+
"super",
|
|
641
|
+
"switch",
|
|
642
|
+
"this",
|
|
643
|
+
"throw",
|
|
644
|
+
"try",
|
|
645
|
+
"typeof",
|
|
646
|
+
"var",
|
|
647
|
+
"void",
|
|
648
|
+
"while",
|
|
649
|
+
"with",
|
|
650
|
+
"yield",
|
|
651
|
+
"of",
|
|
652
|
+
// TypeScript-specific
|
|
653
|
+
"type",
|
|
654
|
+
"interface",
|
|
655
|
+
"enum",
|
|
656
|
+
"namespace",
|
|
657
|
+
"module",
|
|
658
|
+
"declare",
|
|
659
|
+
"abstract",
|
|
660
|
+
"implements",
|
|
661
|
+
"private",
|
|
662
|
+
"protected",
|
|
663
|
+
"public",
|
|
664
|
+
"readonly",
|
|
665
|
+
"override",
|
|
666
|
+
"as",
|
|
667
|
+
"is",
|
|
668
|
+
"keyof",
|
|
669
|
+
"infer",
|
|
670
|
+
"never",
|
|
671
|
+
"unknown",
|
|
672
|
+
"any",
|
|
673
|
+
"asserts",
|
|
674
|
+
"satisfies",
|
|
675
|
+
],
|
|
676
|
+
methods: {
|
|
677
|
+
// Same as JavaScript
|
|
678
|
+
Array: [
|
|
679
|
+
"push",
|
|
680
|
+
"pop",
|
|
681
|
+
"shift",
|
|
682
|
+
"unshift",
|
|
683
|
+
"slice",
|
|
684
|
+
"splice",
|
|
685
|
+
"concat",
|
|
686
|
+
"join",
|
|
687
|
+
"reverse",
|
|
688
|
+
"sort",
|
|
689
|
+
"indexOf",
|
|
690
|
+
"lastIndexOf",
|
|
691
|
+
"includes",
|
|
692
|
+
"find",
|
|
693
|
+
"findIndex",
|
|
694
|
+
"filter",
|
|
695
|
+
"map",
|
|
696
|
+
"reduce",
|
|
697
|
+
"reduceRight",
|
|
698
|
+
"forEach",
|
|
699
|
+
"every",
|
|
700
|
+
"some",
|
|
701
|
+
"flat",
|
|
702
|
+
"flatMap",
|
|
703
|
+
"fill",
|
|
704
|
+
"at",
|
|
705
|
+
"length",
|
|
706
|
+
],
|
|
707
|
+
String: [
|
|
708
|
+
"charAt",
|
|
709
|
+
"charCodeAt",
|
|
710
|
+
"concat",
|
|
711
|
+
"includes",
|
|
712
|
+
"endsWith",
|
|
713
|
+
"indexOf",
|
|
714
|
+
"lastIndexOf",
|
|
715
|
+
"match",
|
|
716
|
+
"matchAll",
|
|
717
|
+
"padEnd",
|
|
718
|
+
"padStart",
|
|
719
|
+
"repeat",
|
|
720
|
+
"replace",
|
|
721
|
+
"replaceAll",
|
|
722
|
+
"search",
|
|
723
|
+
"slice",
|
|
724
|
+
"split",
|
|
725
|
+
"startsWith",
|
|
726
|
+
"substring",
|
|
727
|
+
"toLowerCase",
|
|
728
|
+
"toUpperCase",
|
|
729
|
+
"trim",
|
|
730
|
+
"trimEnd",
|
|
731
|
+
"trimStart",
|
|
732
|
+
"at",
|
|
733
|
+
"length",
|
|
734
|
+
],
|
|
735
|
+
Object: [
|
|
736
|
+
"keys",
|
|
737
|
+
"values",
|
|
738
|
+
"entries",
|
|
739
|
+
"assign",
|
|
740
|
+
"freeze",
|
|
741
|
+
"seal",
|
|
742
|
+
"getOwnPropertyNames",
|
|
743
|
+
"getOwnPropertyDescriptor",
|
|
744
|
+
"create",
|
|
745
|
+
"fromEntries",
|
|
746
|
+
"hasOwn",
|
|
747
|
+
],
|
|
748
|
+
Promise: [
|
|
749
|
+
"then",
|
|
750
|
+
"catch",
|
|
751
|
+
"finally",
|
|
752
|
+
"resolve",
|
|
753
|
+
"reject",
|
|
754
|
+
"all",
|
|
755
|
+
"allSettled",
|
|
756
|
+
"any",
|
|
757
|
+
"race",
|
|
758
|
+
],
|
|
759
|
+
Map: [
|
|
760
|
+
"get",
|
|
761
|
+
"set",
|
|
762
|
+
"has",
|
|
763
|
+
"delete",
|
|
764
|
+
"clear",
|
|
765
|
+
"forEach",
|
|
766
|
+
"keys",
|
|
767
|
+
"values",
|
|
768
|
+
"entries",
|
|
769
|
+
"size",
|
|
770
|
+
],
|
|
771
|
+
Set: [
|
|
772
|
+
"add",
|
|
773
|
+
"has",
|
|
774
|
+
"delete",
|
|
775
|
+
"clear",
|
|
776
|
+
"forEach",
|
|
777
|
+
"keys",
|
|
778
|
+
"values",
|
|
779
|
+
"entries",
|
|
780
|
+
"size",
|
|
781
|
+
],
|
|
782
|
+
console: [
|
|
783
|
+
"log",
|
|
784
|
+
"error",
|
|
785
|
+
"warn",
|
|
786
|
+
"info",
|
|
787
|
+
"debug",
|
|
788
|
+
"trace",
|
|
789
|
+
"assert",
|
|
790
|
+
"clear",
|
|
791
|
+
"count",
|
|
792
|
+
"dir",
|
|
793
|
+
"group",
|
|
794
|
+
"groupEnd",
|
|
795
|
+
"table",
|
|
796
|
+
"time",
|
|
797
|
+
"timeEnd",
|
|
798
|
+
],
|
|
799
|
+
JSON: ["parse", "stringify"],
|
|
800
|
+
Math: [
|
|
801
|
+
"abs",
|
|
802
|
+
"ceil",
|
|
803
|
+
"floor",
|
|
804
|
+
"max",
|
|
805
|
+
"min",
|
|
806
|
+
"pow",
|
|
807
|
+
"random",
|
|
808
|
+
"round",
|
|
809
|
+
"sqrt",
|
|
810
|
+
"sin",
|
|
811
|
+
"cos",
|
|
812
|
+
"tan",
|
|
813
|
+
"log",
|
|
814
|
+
"exp",
|
|
815
|
+
"PI",
|
|
816
|
+
"E",
|
|
817
|
+
],
|
|
818
|
+
URLSearchParams: [
|
|
819
|
+
"append",
|
|
820
|
+
"delete",
|
|
821
|
+
"get",
|
|
822
|
+
"getAll",
|
|
823
|
+
"has",
|
|
824
|
+
"set",
|
|
825
|
+
"sort",
|
|
826
|
+
"toString",
|
|
827
|
+
"keys",
|
|
828
|
+
"values",
|
|
829
|
+
"entries",
|
|
830
|
+
],
|
|
831
|
+
FormData: ["append", "delete", "get", "getAll", "has", "set"],
|
|
832
|
+
Response: [
|
|
833
|
+
"json",
|
|
834
|
+
"text",
|
|
835
|
+
"blob",
|
|
836
|
+
"arrayBuffer",
|
|
837
|
+
"clone",
|
|
838
|
+
"ok",
|
|
839
|
+
"status",
|
|
840
|
+
],
|
|
841
|
+
Headers: ["append", "delete", "get", "has", "set"],
|
|
842
|
+
},
|
|
843
|
+
properties: {
|
|
844
|
+
Array: ["length"],
|
|
845
|
+
String: ["length"],
|
|
846
|
+
Function: ["name", "length", "prototype"],
|
|
847
|
+
Error: ["name", "message", "stack"],
|
|
848
|
+
},
|
|
849
|
+
},
|
|
850
|
+
python: {
|
|
851
|
+
globals: [
|
|
852
|
+
"True",
|
|
853
|
+
"False",
|
|
854
|
+
"None",
|
|
855
|
+
"__name__",
|
|
856
|
+
"__file__",
|
|
857
|
+
"__doc__",
|
|
858
|
+
"__package__",
|
|
859
|
+
"__spec__",
|
|
860
|
+
"__annotations__",
|
|
861
|
+
"__builtins__",
|
|
862
|
+
"__cached__",
|
|
863
|
+
"__loader__",
|
|
864
|
+
"self",
|
|
865
|
+
"cls",
|
|
866
|
+
"super",
|
|
867
|
+
],
|
|
868
|
+
functions: [
|
|
869
|
+
"abs",
|
|
870
|
+
"aiter",
|
|
871
|
+
"all",
|
|
872
|
+
"any",
|
|
873
|
+
"anext",
|
|
874
|
+
"ascii",
|
|
875
|
+
"bin",
|
|
876
|
+
"bool",
|
|
877
|
+
"breakpoint",
|
|
878
|
+
"bytearray",
|
|
879
|
+
"bytes",
|
|
880
|
+
"callable",
|
|
881
|
+
"chr",
|
|
882
|
+
"classmethod",
|
|
883
|
+
"compile",
|
|
884
|
+
"complex",
|
|
885
|
+
"delattr",
|
|
886
|
+
"dict",
|
|
887
|
+
"dir",
|
|
888
|
+
"divmod",
|
|
889
|
+
"enumerate",
|
|
890
|
+
"eval",
|
|
891
|
+
"exec",
|
|
892
|
+
"filter",
|
|
893
|
+
"float",
|
|
894
|
+
"format",
|
|
895
|
+
"frozenset",
|
|
896
|
+
"getattr",
|
|
897
|
+
"globals",
|
|
898
|
+
"hasattr",
|
|
899
|
+
"hash",
|
|
900
|
+
"help",
|
|
901
|
+
"hex",
|
|
902
|
+
"id",
|
|
903
|
+
"input",
|
|
904
|
+
"int",
|
|
905
|
+
"isinstance",
|
|
906
|
+
"issubclass",
|
|
907
|
+
"iter",
|
|
908
|
+
"len",
|
|
909
|
+
"list",
|
|
910
|
+
"locals",
|
|
911
|
+
"map",
|
|
912
|
+
"max",
|
|
913
|
+
"memoryview",
|
|
914
|
+
"min",
|
|
915
|
+
"next",
|
|
916
|
+
"object",
|
|
917
|
+
"oct",
|
|
918
|
+
"open",
|
|
919
|
+
"ord",
|
|
920
|
+
"pow",
|
|
921
|
+
"print",
|
|
922
|
+
"property",
|
|
923
|
+
"range",
|
|
924
|
+
"repr",
|
|
925
|
+
"reversed",
|
|
926
|
+
"round",
|
|
927
|
+
"set",
|
|
928
|
+
"setattr",
|
|
929
|
+
"slice",
|
|
930
|
+
"sorted",
|
|
931
|
+
"staticmethod",
|
|
932
|
+
"str",
|
|
933
|
+
"sum",
|
|
934
|
+
"super",
|
|
935
|
+
"tuple",
|
|
936
|
+
"type",
|
|
937
|
+
"vars",
|
|
938
|
+
"zip",
|
|
939
|
+
"__import__",
|
|
940
|
+
],
|
|
941
|
+
classes: [
|
|
942
|
+
"object",
|
|
943
|
+
"type",
|
|
944
|
+
"int",
|
|
945
|
+
"float",
|
|
946
|
+
"complex",
|
|
947
|
+
"bool",
|
|
948
|
+
"str",
|
|
949
|
+
"bytes",
|
|
950
|
+
"bytearray",
|
|
951
|
+
"memoryview",
|
|
952
|
+
"list",
|
|
953
|
+
"tuple",
|
|
954
|
+
"range",
|
|
955
|
+
"set",
|
|
956
|
+
"frozenset",
|
|
957
|
+
"dict",
|
|
958
|
+
"Exception",
|
|
959
|
+
"BaseException",
|
|
960
|
+
"ValueError",
|
|
961
|
+
"TypeError",
|
|
962
|
+
"KeyError",
|
|
963
|
+
"IndexError",
|
|
964
|
+
"AttributeError",
|
|
965
|
+
"NameError",
|
|
966
|
+
"ImportError",
|
|
967
|
+
"ModuleNotFoundError",
|
|
968
|
+
"RuntimeError",
|
|
969
|
+
"StopIteration",
|
|
970
|
+
"GeneratorExit",
|
|
971
|
+
"SystemExit",
|
|
972
|
+
"KeyboardInterrupt",
|
|
973
|
+
"ArithmeticError",
|
|
974
|
+
"ZeroDivisionError",
|
|
975
|
+
"OverflowError",
|
|
976
|
+
"FloatingPointError",
|
|
977
|
+
"AssertionError",
|
|
978
|
+
"EOFError",
|
|
979
|
+
"FileNotFoundError",
|
|
980
|
+
"PermissionError",
|
|
981
|
+
"IsADirectoryError",
|
|
982
|
+
"NotADirectoryError",
|
|
983
|
+
"TimeoutError",
|
|
984
|
+
"ConnectionError",
|
|
985
|
+
"BrokenPipeError",
|
|
986
|
+
"ConnectionAbortedError",
|
|
987
|
+
"ConnectionRefusedError",
|
|
988
|
+
"ConnectionResetError",
|
|
989
|
+
"OSError",
|
|
990
|
+
"IOError",
|
|
991
|
+
"UnicodeError",
|
|
992
|
+
"UnicodeDecodeError",
|
|
993
|
+
"UnicodeEncodeError",
|
|
994
|
+
"UnicodeTranslateError",
|
|
995
|
+
"Warning",
|
|
996
|
+
"UserWarning",
|
|
997
|
+
"DeprecationWarning",
|
|
998
|
+
"PendingDeprecationWarning",
|
|
999
|
+
"SyntaxWarning",
|
|
1000
|
+
"RuntimeWarning",
|
|
1001
|
+
"FutureWarning",
|
|
1002
|
+
"ImportWarning",
|
|
1003
|
+
"UnicodeWarning",
|
|
1004
|
+
"BytesWarning",
|
|
1005
|
+
"ResourceWarning",
|
|
1006
|
+
"JSONDecodeError",
|
|
1007
|
+
],
|
|
1008
|
+
keywords: [
|
|
1009
|
+
"and",
|
|
1010
|
+
"as",
|
|
1011
|
+
"assert",
|
|
1012
|
+
"async",
|
|
1013
|
+
"await",
|
|
1014
|
+
"break",
|
|
1015
|
+
"class",
|
|
1016
|
+
"continue",
|
|
1017
|
+
"def",
|
|
1018
|
+
"del",
|
|
1019
|
+
"elif",
|
|
1020
|
+
"else",
|
|
1021
|
+
"except",
|
|
1022
|
+
"finally",
|
|
1023
|
+
"for",
|
|
1024
|
+
"from",
|
|
1025
|
+
"global",
|
|
1026
|
+
"if",
|
|
1027
|
+
"import",
|
|
1028
|
+
"in",
|
|
1029
|
+
"is",
|
|
1030
|
+
"lambda",
|
|
1031
|
+
"nonlocal",
|
|
1032
|
+
"not",
|
|
1033
|
+
"or",
|
|
1034
|
+
"pass",
|
|
1035
|
+
"raise",
|
|
1036
|
+
"return",
|
|
1037
|
+
"try",
|
|
1038
|
+
"while",
|
|
1039
|
+
"with",
|
|
1040
|
+
"yield",
|
|
1041
|
+
"match",
|
|
1042
|
+
"case",
|
|
1043
|
+
],
|
|
1044
|
+
methods: {
|
|
1045
|
+
list: [
|
|
1046
|
+
"append",
|
|
1047
|
+
"clear",
|
|
1048
|
+
"copy",
|
|
1049
|
+
"count",
|
|
1050
|
+
"extend",
|
|
1051
|
+
"index",
|
|
1052
|
+
"insert",
|
|
1053
|
+
"pop",
|
|
1054
|
+
"remove",
|
|
1055
|
+
"reverse",
|
|
1056
|
+
"sort",
|
|
1057
|
+
],
|
|
1058
|
+
dict: [
|
|
1059
|
+
"clear",
|
|
1060
|
+
"copy",
|
|
1061
|
+
"fromkeys",
|
|
1062
|
+
"get",
|
|
1063
|
+
"items",
|
|
1064
|
+
"keys",
|
|
1065
|
+
"pop",
|
|
1066
|
+
"popitem",
|
|
1067
|
+
"setdefault",
|
|
1068
|
+
"update",
|
|
1069
|
+
"values",
|
|
1070
|
+
],
|
|
1071
|
+
set: [
|
|
1072
|
+
"add",
|
|
1073
|
+
"clear",
|
|
1074
|
+
"copy",
|
|
1075
|
+
"difference",
|
|
1076
|
+
"difference_update",
|
|
1077
|
+
"discard",
|
|
1078
|
+
"intersection",
|
|
1079
|
+
"intersection_update",
|
|
1080
|
+
"isdisjoint",
|
|
1081
|
+
"issubset",
|
|
1082
|
+
"issuperset",
|
|
1083
|
+
"pop",
|
|
1084
|
+
"remove",
|
|
1085
|
+
"symmetric_difference",
|
|
1086
|
+
"symmetric_difference_update",
|
|
1087
|
+
"union",
|
|
1088
|
+
"update",
|
|
1089
|
+
],
|
|
1090
|
+
str: [
|
|
1091
|
+
"capitalize",
|
|
1092
|
+
"casefold",
|
|
1093
|
+
"center",
|
|
1094
|
+
"count",
|
|
1095
|
+
"encode",
|
|
1096
|
+
"endswith",
|
|
1097
|
+
"expandtabs",
|
|
1098
|
+
"find",
|
|
1099
|
+
"format",
|
|
1100
|
+
"format_map",
|
|
1101
|
+
"index",
|
|
1102
|
+
"isalnum",
|
|
1103
|
+
"isalpha",
|
|
1104
|
+
"isascii",
|
|
1105
|
+
"isdecimal",
|
|
1106
|
+
"isdigit",
|
|
1107
|
+
"isidentifier",
|
|
1108
|
+
"islower",
|
|
1109
|
+
"isnumeric",
|
|
1110
|
+
"isprintable",
|
|
1111
|
+
"isspace",
|
|
1112
|
+
"istitle",
|
|
1113
|
+
"isupper",
|
|
1114
|
+
"join",
|
|
1115
|
+
"ljust",
|
|
1116
|
+
"lower",
|
|
1117
|
+
"lstrip",
|
|
1118
|
+
"maketrans",
|
|
1119
|
+
"partition",
|
|
1120
|
+
"removeprefix",
|
|
1121
|
+
"removesuffix",
|
|
1122
|
+
"replace",
|
|
1123
|
+
"rfind",
|
|
1124
|
+
"rindex",
|
|
1125
|
+
"rjust",
|
|
1126
|
+
"rpartition",
|
|
1127
|
+
"rsplit",
|
|
1128
|
+
"rstrip",
|
|
1129
|
+
"split",
|
|
1130
|
+
"splitlines",
|
|
1131
|
+
"startswith",
|
|
1132
|
+
"strip",
|
|
1133
|
+
"swapcase",
|
|
1134
|
+
"title",
|
|
1135
|
+
"translate",
|
|
1136
|
+
"upper",
|
|
1137
|
+
"zfill",
|
|
1138
|
+
],
|
|
1139
|
+
bytes: [
|
|
1140
|
+
"capitalize",
|
|
1141
|
+
"center",
|
|
1142
|
+
"count",
|
|
1143
|
+
"decode",
|
|
1144
|
+
"endswith",
|
|
1145
|
+
"find",
|
|
1146
|
+
"hex",
|
|
1147
|
+
"index",
|
|
1148
|
+
"isalnum",
|
|
1149
|
+
"isalpha",
|
|
1150
|
+
"isascii",
|
|
1151
|
+
"isdigit",
|
|
1152
|
+
"islower",
|
|
1153
|
+
"isspace",
|
|
1154
|
+
"istitle",
|
|
1155
|
+
"isupper",
|
|
1156
|
+
"join",
|
|
1157
|
+
"ljust",
|
|
1158
|
+
"lower",
|
|
1159
|
+
"lstrip",
|
|
1160
|
+
"partition",
|
|
1161
|
+
"replace",
|
|
1162
|
+
"rfind",
|
|
1163
|
+
"rindex",
|
|
1164
|
+
"rjust",
|
|
1165
|
+
"rpartition",
|
|
1166
|
+
"rsplit",
|
|
1167
|
+
"rstrip",
|
|
1168
|
+
"split",
|
|
1169
|
+
"splitlines",
|
|
1170
|
+
"startswith",
|
|
1171
|
+
"strip",
|
|
1172
|
+
"swapcase",
|
|
1173
|
+
"title",
|
|
1174
|
+
"translate",
|
|
1175
|
+
"upper",
|
|
1176
|
+
"zfill",
|
|
1177
|
+
],
|
|
1178
|
+
file: [
|
|
1179
|
+
"close",
|
|
1180
|
+
"flush",
|
|
1181
|
+
"fileno",
|
|
1182
|
+
"isatty",
|
|
1183
|
+
"read",
|
|
1184
|
+
"readable",
|
|
1185
|
+
"readline",
|
|
1186
|
+
"readlines",
|
|
1187
|
+
"seek",
|
|
1188
|
+
"seekable",
|
|
1189
|
+
"tell",
|
|
1190
|
+
"truncate",
|
|
1191
|
+
"writable",
|
|
1192
|
+
"write",
|
|
1193
|
+
"writelines",
|
|
1194
|
+
],
|
|
1195
|
+
},
|
|
1196
|
+
properties: {
|
|
1197
|
+
Exception: ["args", "with_traceback"],
|
|
1198
|
+
str: [],
|
|
1199
|
+
list: [],
|
|
1200
|
+
dict: [],
|
|
1201
|
+
},
|
|
1202
|
+
},
|
|
1203
|
+
go: {
|
|
1204
|
+
globals: ["nil", "true", "false", "iota"],
|
|
1205
|
+
functions: [
|
|
1206
|
+
"append",
|
|
1207
|
+
"cap",
|
|
1208
|
+
"close",
|
|
1209
|
+
"complex",
|
|
1210
|
+
"copy",
|
|
1211
|
+
"delete",
|
|
1212
|
+
"imag",
|
|
1213
|
+
"len",
|
|
1214
|
+
"make",
|
|
1215
|
+
"new",
|
|
1216
|
+
"panic",
|
|
1217
|
+
"print",
|
|
1218
|
+
"println",
|
|
1219
|
+
"real",
|
|
1220
|
+
"recover",
|
|
1221
|
+
],
|
|
1222
|
+
classes: [
|
|
1223
|
+
"bool",
|
|
1224
|
+
"byte",
|
|
1225
|
+
"complex64",
|
|
1226
|
+
"complex128",
|
|
1227
|
+
"error",
|
|
1228
|
+
"float32",
|
|
1229
|
+
"float64",
|
|
1230
|
+
"int",
|
|
1231
|
+
"int8",
|
|
1232
|
+
"int16",
|
|
1233
|
+
"int32",
|
|
1234
|
+
"int64",
|
|
1235
|
+
"rune",
|
|
1236
|
+
"string",
|
|
1237
|
+
"uint",
|
|
1238
|
+
"uint8",
|
|
1239
|
+
"uint16",
|
|
1240
|
+
"uint32",
|
|
1241
|
+
"uint64",
|
|
1242
|
+
"uintptr",
|
|
1243
|
+
],
|
|
1244
|
+
keywords: [
|
|
1245
|
+
"break",
|
|
1246
|
+
"case",
|
|
1247
|
+
"chan",
|
|
1248
|
+
"const",
|
|
1249
|
+
"continue",
|
|
1250
|
+
"default",
|
|
1251
|
+
"defer",
|
|
1252
|
+
"else",
|
|
1253
|
+
"fallthrough",
|
|
1254
|
+
"for",
|
|
1255
|
+
"func",
|
|
1256
|
+
"go",
|
|
1257
|
+
"goto",
|
|
1258
|
+
"if",
|
|
1259
|
+
"import",
|
|
1260
|
+
"interface",
|
|
1261
|
+
"map",
|
|
1262
|
+
"package",
|
|
1263
|
+
"range",
|
|
1264
|
+
"return",
|
|
1265
|
+
"select",
|
|
1266
|
+
"struct",
|
|
1267
|
+
"switch",
|
|
1268
|
+
"type",
|
|
1269
|
+
"var",
|
|
1270
|
+
],
|
|
1271
|
+
methods: {},
|
|
1272
|
+
properties: {},
|
|
1273
|
+
},
|
|
1274
|
+
};
|
|
1275
|
+
//# sourceMappingURL=builtinTypes.js.map
|