brighterscript 1.0.0-alpha.5 → 1.0.0-alpha.50

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.
Files changed (715) hide show
  1. package/README.md +76 -138
  2. package/bsconfig.schema.json +121 -5
  3. package/dist/ActionPipeline.d.ts +10 -0
  4. package/dist/ActionPipeline.js +40 -0
  5. package/dist/ActionPipeline.js.map +1 -0
  6. package/dist/AstValidationSegmenter.d.ts +45 -0
  7. package/dist/AstValidationSegmenter.js +322 -0
  8. package/dist/AstValidationSegmenter.js.map +1 -0
  9. package/dist/BsConfig.d.ts +72 -39
  10. package/dist/BusyStatusTracker.d.ts +61 -0
  11. package/dist/BusyStatusTracker.js +148 -0
  12. package/dist/BusyStatusTracker.js.map +1 -0
  13. package/dist/Cache.d.ts +3 -8
  14. package/dist/Cache.js +9 -14
  15. package/dist/Cache.js.map +1 -1
  16. package/dist/CacheVerifier.d.ts +7 -0
  17. package/dist/CacheVerifier.js +20 -0
  18. package/dist/CacheVerifier.js.map +1 -0
  19. package/dist/CodeActionUtil.d.ts +12 -4
  20. package/dist/CodeActionUtil.js +22 -5
  21. package/dist/CodeActionUtil.js.map +1 -1
  22. package/dist/CommentFlagProcessor.d.ts +7 -6
  23. package/dist/CommentFlagProcessor.js +11 -8
  24. package/dist/CommentFlagProcessor.js.map +1 -1
  25. package/dist/CrossScopeValidator.d.ts +68 -0
  26. package/dist/CrossScopeValidator.js +642 -0
  27. package/dist/CrossScopeValidator.js.map +1 -0
  28. package/dist/DependencyGraph.d.ts +8 -3
  29. package/dist/DependencyGraph.js +49 -16
  30. package/dist/DependencyGraph.js.map +1 -1
  31. package/dist/DiagnosticCollection.d.ts +21 -5
  32. package/dist/DiagnosticCollection.js +77 -24
  33. package/dist/DiagnosticCollection.js.map +1 -1
  34. package/dist/DiagnosticFilterer.d.ts +27 -6
  35. package/dist/DiagnosticFilterer.js +273 -60
  36. package/dist/DiagnosticFilterer.js.map +1 -1
  37. package/dist/DiagnosticManager.d.ts +82 -0
  38. package/dist/DiagnosticManager.js +406 -0
  39. package/dist/DiagnosticManager.js.map +1 -0
  40. package/dist/DiagnosticMessages.d.ts +558 -196
  41. package/dist/DiagnosticMessages.js +870 -340
  42. package/dist/DiagnosticMessages.js.map +1 -1
  43. package/dist/DiagnosticSeverityAdjuster.d.ts +7 -0
  44. package/dist/DiagnosticSeverityAdjuster.js +45 -0
  45. package/dist/DiagnosticSeverityAdjuster.js.map +1 -0
  46. package/dist/FunctionScope.d.ts +28 -0
  47. package/dist/FunctionScope.js +52 -0
  48. package/dist/FunctionScope.js.map +1 -0
  49. package/dist/KeyedThrottler.d.ts +3 -3
  50. package/dist/KeyedThrottler.js +3 -3
  51. package/dist/KeyedThrottler.js.map +1 -1
  52. package/dist/LanguageServer.d.ts +100 -105
  53. package/dist/LanguageServer.js +444 -745
  54. package/dist/LanguageServer.js.map +1 -1
  55. package/dist/Logger.d.ts +17 -13
  56. package/dist/Logger.js +64 -34
  57. package/dist/Logger.js.map +1 -1
  58. package/dist/PluginInterface.d.ts +32 -10
  59. package/dist/PluginInterface.js +117 -7
  60. package/dist/PluginInterface.js.map +1 -1
  61. package/dist/Program.d.ts +241 -98
  62. package/dist/Program.js +1432 -717
  63. package/dist/Program.js.map +1 -1
  64. package/dist/ProgramBuilder.d.ts +47 -23
  65. package/dist/ProgramBuilder.js +224 -178
  66. package/dist/ProgramBuilder.js.map +1 -1
  67. package/dist/Scope.d.ts +149 -109
  68. package/dist/Scope.js +557 -550
  69. package/dist/Scope.js.map +1 -1
  70. package/dist/SemanticTokenUtils.js +5 -1
  71. package/dist/SemanticTokenUtils.js.map +1 -1
  72. package/dist/Stopwatch.d.ts +4 -0
  73. package/dist/Stopwatch.js +8 -1
  74. package/dist/Stopwatch.js.map +1 -1
  75. package/dist/SymbolTable.d.ts +136 -24
  76. package/dist/SymbolTable.js +565 -64
  77. package/dist/SymbolTable.js.map +1 -1
  78. package/dist/SymbolTypeFlag.d.ts +9 -0
  79. package/dist/SymbolTypeFlag.js +14 -0
  80. package/dist/SymbolTypeFlag.js.map +1 -0
  81. package/dist/Throttler.d.ts +12 -0
  82. package/dist/Throttler.js +39 -0
  83. package/dist/Throttler.js.map +1 -1
  84. package/dist/Watcher.d.ts +0 -3
  85. package/dist/Watcher.js +0 -3
  86. package/dist/Watcher.js.map +1 -1
  87. package/dist/XmlScope.d.ts +5 -15
  88. package/dist/XmlScope.js +34 -90
  89. package/dist/XmlScope.js.map +1 -1
  90. package/dist/astUtils/CachedLookups.d.ts +50 -0
  91. package/dist/astUtils/CachedLookups.js +334 -0
  92. package/dist/astUtils/CachedLookups.js.map +1 -0
  93. package/dist/astUtils/CachedLookups.spec.js +39 -0
  94. package/dist/astUtils/CachedLookups.spec.js.map +1 -0
  95. package/dist/astUtils/Editor.d.ts +69 -0
  96. package/dist/astUtils/Editor.js +245 -0
  97. package/dist/astUtils/Editor.js.map +1 -0
  98. package/dist/astUtils/Editor.spec.js +258 -0
  99. package/dist/astUtils/Editor.spec.js.map +1 -0
  100. package/dist/astUtils/creators.d.ts +54 -19
  101. package/dist/astUtils/creators.js +242 -42
  102. package/dist/astUtils/creators.js.map +1 -1
  103. package/dist/astUtils/creators.spec.js +5 -5
  104. package/dist/astUtils/creators.spec.js.map +1 -1
  105. package/dist/astUtils/reflection.d.ts +196 -85
  106. package/dist/astUtils/reflection.js +497 -144
  107. package/dist/astUtils/reflection.js.map +1 -1
  108. package/dist/astUtils/reflection.spec.js +267 -167
  109. package/dist/astUtils/reflection.spec.js.map +1 -1
  110. package/dist/astUtils/stackedVisitor.js.map +1 -1
  111. package/dist/astUtils/stackedVisitor.spec.js +14 -14
  112. package/dist/astUtils/stackedVisitor.spec.js.map +1 -1
  113. package/dist/astUtils/visitors.d.ts +116 -53
  114. package/dist/astUtils/visitors.js +95 -15
  115. package/dist/astUtils/visitors.js.map +1 -1
  116. package/dist/astUtils/visitors.spec.js +629 -51
  117. package/dist/astUtils/visitors.spec.js.map +1 -1
  118. package/dist/astUtils/xml.d.ts +9 -8
  119. package/dist/astUtils/xml.js +12 -7
  120. package/dist/astUtils/xml.js.map +1 -1
  121. package/dist/bscPlugin/BscPlugin.d.ts +24 -4
  122. package/dist/bscPlugin/BscPlugin.js +88 -4
  123. package/dist/bscPlugin/BscPlugin.js.map +1 -1
  124. package/dist/bscPlugin/CallExpressionInfo.d.ts +36 -0
  125. package/dist/bscPlugin/CallExpressionInfo.js +143 -0
  126. package/dist/bscPlugin/CallExpressionInfo.js.map +1 -0
  127. package/dist/bscPlugin/FileWriter.d.ts +6 -0
  128. package/dist/bscPlugin/FileWriter.js +24 -0
  129. package/dist/bscPlugin/FileWriter.js.map +1 -0
  130. package/dist/bscPlugin/SignatureHelpUtil.d.ts +10 -0
  131. package/dist/bscPlugin/SignatureHelpUtil.js +137 -0
  132. package/dist/bscPlugin/SignatureHelpUtil.js.map +1 -0
  133. package/dist/bscPlugin/codeActions/CodeActionsProcessor.d.ts +6 -5
  134. package/dist/bscPlugin/codeActions/CodeActionsProcessor.js +173 -27
  135. package/dist/bscPlugin/codeActions/CodeActionsProcessor.js.map +1 -1
  136. package/dist/bscPlugin/codeActions/CodeActionsProcessor.spec.js +138 -21
  137. package/dist/bscPlugin/codeActions/CodeActionsProcessor.spec.js.map +1 -1
  138. package/dist/bscPlugin/completions/CompletionsProcessor.d.ts +65 -0
  139. package/dist/bscPlugin/completions/CompletionsProcessor.js +633 -0
  140. package/dist/bscPlugin/completions/CompletionsProcessor.js.map +1 -0
  141. package/dist/bscPlugin/completions/CompletionsProcessor.spec.js +2512 -0
  142. package/dist/bscPlugin/completions/CompletionsProcessor.spec.js.map +1 -0
  143. package/dist/bscPlugin/definition/DefinitionProvider.d.ts +13 -0
  144. package/dist/bscPlugin/definition/DefinitionProvider.js +212 -0
  145. package/dist/bscPlugin/definition/DefinitionProvider.js.map +1 -0
  146. package/dist/bscPlugin/definition/DefinitionProvider.spec.js +87 -0
  147. package/dist/bscPlugin/definition/DefinitionProvider.spec.js.map +1 -0
  148. package/dist/bscPlugin/fileProviders/FileProvider.d.ts +9 -0
  149. package/dist/bscPlugin/fileProviders/FileProvider.js +51 -0
  150. package/dist/bscPlugin/fileProviders/FileProvider.js.map +1 -0
  151. package/dist/bscPlugin/hover/HoverProcessor.d.ts +18 -0
  152. package/dist/bscPlugin/hover/HoverProcessor.js +230 -0
  153. package/dist/bscPlugin/hover/HoverProcessor.js.map +1 -0
  154. package/dist/bscPlugin/hover/HoverProcessor.spec.js +991 -0
  155. package/dist/bscPlugin/hover/HoverProcessor.spec.js.map +1 -0
  156. package/dist/bscPlugin/references/ReferencesProvider.d.ts +12 -0
  157. package/dist/bscPlugin/references/ReferencesProvider.js +57 -0
  158. package/dist/bscPlugin/references/ReferencesProvider.js.map +1 -0
  159. package/dist/bscPlugin/references/ReferencesProvider.spec.d.ts +1 -0
  160. package/dist/bscPlugin/references/ReferencesProvider.spec.js +51 -0
  161. package/dist/bscPlugin/references/ReferencesProvider.spec.js.map +1 -0
  162. package/dist/bscPlugin/semanticTokens/BrsFileSemanticTokensProcessor.d.ts +14 -0
  163. package/dist/bscPlugin/semanticTokens/BrsFileSemanticTokensProcessor.js +164 -0
  164. package/dist/bscPlugin/semanticTokens/BrsFileSemanticTokensProcessor.js.map +1 -0
  165. package/dist/bscPlugin/semanticTokens/BrsFileSemanticTokensProcessor.spec.d.ts +1 -0
  166. package/dist/bscPlugin/semanticTokens/BrsFileSemanticTokensProcessor.spec.js +564 -0
  167. package/dist/bscPlugin/semanticTokens/BrsFileSemanticTokensProcessor.spec.js.map +1 -0
  168. package/dist/bscPlugin/serialize/BslibInjector.spec.d.ts +1 -0
  169. package/dist/bscPlugin/serialize/BslibInjector.spec.js +33 -0
  170. package/dist/bscPlugin/serialize/BslibInjector.spec.js.map +1 -0
  171. package/dist/bscPlugin/serialize/BslibManager.d.ts +12 -0
  172. package/dist/bscPlugin/serialize/BslibManager.js +46 -0
  173. package/dist/bscPlugin/serialize/BslibManager.js.map +1 -0
  174. package/dist/bscPlugin/serialize/FileSerializer.d.ts +9 -0
  175. package/dist/bscPlugin/serialize/FileSerializer.js +75 -0
  176. package/dist/bscPlugin/serialize/FileSerializer.js.map +1 -0
  177. package/dist/bscPlugin/symbols/DocumentSymbolProcessor.d.ts +7 -0
  178. package/dist/bscPlugin/symbols/DocumentSymbolProcessor.js +22 -0
  179. package/dist/bscPlugin/symbols/DocumentSymbolProcessor.js.map +1 -0
  180. package/dist/bscPlugin/symbols/DocumentSymbolProcessor.spec.d.ts +1 -0
  181. package/dist/bscPlugin/symbols/DocumentSymbolProcessor.spec.js +291 -0
  182. package/dist/bscPlugin/symbols/DocumentSymbolProcessor.spec.js.map +1 -0
  183. package/dist/bscPlugin/symbols/WorkspaceSymbolProcessor.d.ts +7 -0
  184. package/dist/bscPlugin/symbols/WorkspaceSymbolProcessor.js +26 -0
  185. package/dist/bscPlugin/symbols/WorkspaceSymbolProcessor.js.map +1 -0
  186. package/dist/bscPlugin/symbols/WorkspaceSymbolProcessor.spec.d.ts +1 -0
  187. package/dist/bscPlugin/symbols/WorkspaceSymbolProcessor.spec.js +245 -0
  188. package/dist/bscPlugin/symbols/WorkspaceSymbolProcessor.spec.js.map +1 -0
  189. package/dist/bscPlugin/symbols/symbolUtils.d.ts +5 -0
  190. package/dist/bscPlugin/symbols/symbolUtils.js +141 -0
  191. package/dist/bscPlugin/symbols/symbolUtils.js.map +1 -0
  192. package/dist/bscPlugin/transpile/BrsFileTranspileProcessor.d.ts +27 -0
  193. package/dist/bscPlugin/transpile/BrsFileTranspileProcessor.js +418 -0
  194. package/dist/bscPlugin/transpile/BrsFileTranspileProcessor.js.map +1 -0
  195. package/dist/bscPlugin/transpile/BrsFileTranspileProcessor.spec.d.ts +1 -0
  196. package/dist/bscPlugin/transpile/BrsFileTranspileProcessor.spec.js +75 -0
  197. package/dist/bscPlugin/transpile/BrsFileTranspileProcessor.spec.js.map +1 -0
  198. package/dist/bscPlugin/transpile/XmlFilePreTranspileProcessor.d.ts +12 -0
  199. package/dist/bscPlugin/transpile/XmlFilePreTranspileProcessor.js +99 -0
  200. package/dist/bscPlugin/transpile/XmlFilePreTranspileProcessor.js.map +1 -0
  201. package/dist/bscPlugin/validation/BrsFileAfterValidator.d.ts +7 -0
  202. package/dist/bscPlugin/validation/BrsFileAfterValidator.js +18 -0
  203. package/dist/bscPlugin/validation/BrsFileAfterValidator.js.map +1 -0
  204. package/dist/bscPlugin/validation/BrsFileValidator.d.ts +37 -0
  205. package/dist/bscPlugin/validation/BrsFileValidator.js +638 -0
  206. package/dist/bscPlugin/validation/BrsFileValidator.js.map +1 -0
  207. package/dist/bscPlugin/validation/BrsFileValidator.spec.d.ts +1 -0
  208. package/dist/bscPlugin/validation/BrsFileValidator.spec.js +1517 -0
  209. package/dist/bscPlugin/validation/BrsFileValidator.spec.js.map +1 -0
  210. package/dist/bscPlugin/validation/ProgramValidator.d.ts +11 -0
  211. package/dist/bscPlugin/validation/ProgramValidator.js +33 -0
  212. package/dist/bscPlugin/validation/ProgramValidator.js.map +1 -0
  213. package/dist/bscPlugin/validation/ScopeValidator.d.ts +141 -0
  214. package/dist/bscPlugin/validation/ScopeValidator.js +1323 -0
  215. package/dist/bscPlugin/validation/ScopeValidator.js.map +1 -0
  216. package/dist/bscPlugin/validation/ScopeValidator.spec.d.ts +1 -0
  217. package/dist/bscPlugin/validation/ScopeValidator.spec.js +6135 -0
  218. package/dist/bscPlugin/validation/ScopeValidator.spec.js.map +1 -0
  219. package/dist/bscPlugin/validation/XmlFileValidator.d.ts +8 -0
  220. package/dist/bscPlugin/validation/XmlFileValidator.js +36 -0
  221. package/dist/bscPlugin/validation/XmlFileValidator.js.map +1 -0
  222. package/dist/cli.js +126 -27
  223. package/dist/cli.js.map +1 -1
  224. package/dist/common/Sequencer.d.ts +53 -0
  225. package/dist/common/Sequencer.js +233 -0
  226. package/dist/common/Sequencer.js.map +1 -0
  227. package/dist/common/Sequencer.spec.d.ts +1 -0
  228. package/dist/common/Sequencer.spec.js +75 -0
  229. package/dist/common/Sequencer.spec.js.map +1 -0
  230. package/dist/deferred.d.ts +5 -3
  231. package/dist/deferred.js +10 -0
  232. package/dist/deferred.js.map +1 -1
  233. package/dist/diagnosticUtils.d.ts +10 -3
  234. package/dist/diagnosticUtils.js +64 -25
  235. package/dist/diagnosticUtils.js.map +1 -1
  236. package/dist/examples/plugins/removePrint.d.ts +2 -2
  237. package/dist/examples/plugins/removePrint.js +8 -12
  238. package/dist/examples/plugins/removePrint.js.map +1 -1
  239. package/dist/files/AssetFile.d.ts +24 -0
  240. package/dist/files/AssetFile.js +25 -0
  241. package/dist/files/AssetFile.js.map +1 -0
  242. package/dist/files/BrsFile.Class.spec.js +1213 -259
  243. package/dist/files/BrsFile.Class.spec.js.map +1 -1
  244. package/dist/files/BrsFile.d.ts +145 -87
  245. package/dist/files/BrsFile.js +836 -934
  246. package/dist/files/BrsFile.js.map +1 -1
  247. package/dist/files/BrsFile.spec.js +4226 -902
  248. package/dist/files/BrsFile.spec.js.map +1 -1
  249. package/dist/files/BscFile.d.ts +102 -0
  250. package/dist/files/BscFile.js +15 -0
  251. package/dist/files/BscFile.js.map +1 -0
  252. package/dist/files/Factory.d.ts +25 -0
  253. package/dist/files/Factory.js +22 -0
  254. package/dist/files/Factory.js.map +1 -0
  255. package/dist/files/LazyFileData.d.ts +21 -0
  256. package/dist/files/LazyFileData.js +54 -0
  257. package/dist/files/LazyFileData.js.map +1 -0
  258. package/dist/files/LazyFileData.spec.d.ts +1 -0
  259. package/dist/files/LazyFileData.spec.js +27 -0
  260. package/dist/files/LazyFileData.spec.js.map +1 -0
  261. package/dist/files/XmlFile.d.ts +80 -41
  262. package/dist/files/XmlFile.js +161 -137
  263. package/dist/files/XmlFile.js.map +1 -1
  264. package/dist/files/XmlFile.spec.js +444 -336
  265. package/dist/files/XmlFile.spec.js.map +1 -1
  266. package/dist/files/tests/imports.spec.js +62 -52
  267. package/dist/files/tests/imports.spec.js.map +1 -1
  268. package/dist/files/tests/optionalChaning.spec.d.ts +1 -0
  269. package/dist/files/tests/optionalChaning.spec.js +152 -0
  270. package/dist/files/tests/optionalChaning.spec.js.map +1 -0
  271. package/dist/globalCallables.d.ts +3 -1
  272. package/dist/globalCallables.js +424 -184
  273. package/dist/globalCallables.js.map +1 -1
  274. package/dist/index.d.ts +32 -4
  275. package/dist/index.js +54 -7
  276. package/dist/index.js.map +1 -1
  277. package/dist/interfaces.d.ts +942 -125
  278. package/dist/interfaces.js +21 -0
  279. package/dist/interfaces.js.map +1 -1
  280. package/dist/lexer/Character.spec.js +5 -5
  281. package/dist/lexer/Character.spec.js.map +1 -1
  282. package/dist/lexer/Lexer.d.ts +51 -12
  283. package/dist/lexer/Lexer.js +215 -65
  284. package/dist/lexer/Lexer.js.map +1 -1
  285. package/dist/lexer/Lexer.spec.js +812 -568
  286. package/dist/lexer/Lexer.spec.js.map +1 -1
  287. package/dist/lexer/Token.d.ts +27 -11
  288. package/dist/lexer/Token.js +10 -2
  289. package/dist/lexer/Token.js.map +1 -1
  290. package/dist/lexer/TokenKind.d.ts +40 -2
  291. package/dist/lexer/TokenKind.js +147 -10
  292. package/dist/lexer/TokenKind.js.map +1 -1
  293. package/dist/logging.d.ts +14 -0
  294. package/dist/logging.js +29 -0
  295. package/dist/logging.js.map +1 -0
  296. package/dist/lsp/ActionQueue.d.ts +35 -0
  297. package/dist/lsp/ActionQueue.js +115 -0
  298. package/dist/lsp/ActionQueue.js.map +1 -0
  299. package/dist/lsp/ActionQueue.spec.d.ts +1 -0
  300. package/dist/lsp/ActionQueue.spec.js +80 -0
  301. package/dist/lsp/ActionQueue.spec.js.map +1 -0
  302. package/dist/lsp/DocumentManager.d.ts +63 -0
  303. package/dist/lsp/DocumentManager.js +122 -0
  304. package/dist/lsp/DocumentManager.js.map +1 -0
  305. package/dist/lsp/DocumentManager.spec.d.ts +1 -0
  306. package/dist/lsp/DocumentManager.spec.js +103 -0
  307. package/dist/lsp/DocumentManager.spec.js.map +1 -0
  308. package/dist/lsp/LspProject.d.ts +239 -0
  309. package/dist/lsp/LspProject.js +3 -0
  310. package/dist/lsp/LspProject.js.map +1 -0
  311. package/dist/lsp/PathFilterer.d.ts +75 -0
  312. package/dist/lsp/PathFilterer.js +196 -0
  313. package/dist/lsp/PathFilterer.js.map +1 -0
  314. package/dist/lsp/PathFilterer.spec.d.ts +1 -0
  315. package/dist/lsp/PathFilterer.spec.js +182 -0
  316. package/dist/lsp/PathFilterer.spec.js.map +1 -0
  317. package/dist/lsp/Project.d.ts +168 -0
  318. package/dist/lsp/Project.js +437 -0
  319. package/dist/lsp/Project.js.map +1 -0
  320. package/dist/lsp/Project.spec.d.ts +1 -0
  321. package/dist/lsp/Project.spec.js +267 -0
  322. package/dist/lsp/Project.spec.js.map +1 -0
  323. package/dist/lsp/ProjectManager.d.ts +242 -0
  324. package/dist/lsp/ProjectManager.js +824 -0
  325. package/dist/lsp/ProjectManager.js.map +1 -0
  326. package/dist/lsp/ProjectManager.spec.d.ts +1 -0
  327. package/dist/lsp/ProjectManager.spec.js +913 -0
  328. package/dist/lsp/ProjectManager.spec.js.map +1 -0
  329. package/dist/lsp/ReaderWriterManager.d.ts +21 -0
  330. package/dist/lsp/ReaderWriterManager.js +60 -0
  331. package/dist/lsp/ReaderWriterManager.js.map +1 -0
  332. package/dist/lsp/worker/MessageHandler.d.ts +99 -0
  333. package/dist/lsp/worker/MessageHandler.js +138 -0
  334. package/dist/lsp/worker/MessageHandler.js.map +1 -0
  335. package/dist/lsp/worker/MessageHandler.spec.d.ts +1 -0
  336. package/dist/lsp/worker/MessageHandler.spec.js +64 -0
  337. package/dist/lsp/worker/MessageHandler.spec.js.map +1 -0
  338. package/dist/lsp/worker/WorkerPool.d.ts +38 -0
  339. package/dist/lsp/worker/WorkerPool.js +78 -0
  340. package/dist/lsp/worker/WorkerPool.js.map +1 -0
  341. package/dist/lsp/worker/WorkerPool.spec.d.ts +1 -0
  342. package/dist/lsp/worker/WorkerPool.spec.js +59 -0
  343. package/dist/lsp/worker/WorkerPool.spec.js.map +1 -0
  344. package/dist/lsp/worker/WorkerThreadProject.d.ts +143 -0
  345. package/dist/lsp/worker/WorkerThreadProject.js +189 -0
  346. package/dist/lsp/worker/WorkerThreadProject.js.map +1 -0
  347. package/dist/lsp/worker/WorkerThreadProject.spec.d.ts +2 -0
  348. package/dist/lsp/worker/WorkerThreadProject.spec.js +71 -0
  349. package/dist/lsp/worker/WorkerThreadProject.spec.js.map +1 -0
  350. package/dist/lsp/worker/WorkerThreadProjectRunner.d.ts +15 -0
  351. package/dist/lsp/worker/WorkerThreadProjectRunner.js +58 -0
  352. package/dist/lsp/worker/WorkerThreadProjectRunner.js.map +1 -0
  353. package/dist/lsp/worker/run.d.ts +1 -0
  354. package/dist/lsp/worker/run.js +14 -0
  355. package/dist/lsp/worker/run.js.map +1 -0
  356. package/dist/parser/AstNode.d.ts +203 -0
  357. package/dist/parser/AstNode.js +303 -0
  358. package/dist/parser/AstNode.js.map +1 -0
  359. package/dist/parser/AstNode.spec.d.ts +1 -0
  360. package/dist/parser/AstNode.spec.js +1455 -0
  361. package/dist/parser/AstNode.spec.js.map +1 -0
  362. package/dist/parser/BrightScriptDocParser.d.ts +56 -0
  363. package/dist/parser/BrightScriptDocParser.js +294 -0
  364. package/dist/parser/BrightScriptDocParser.js.map +1 -0
  365. package/dist/parser/BrightScriptDocParser.spec.d.ts +1 -0
  366. package/dist/parser/BrightScriptDocParser.spec.js +310 -0
  367. package/dist/parser/BrightScriptDocParser.spec.js.map +1 -0
  368. package/dist/parser/BrsTranspileState.d.ts +22 -3
  369. package/dist/parser/BrsTranspileState.js +19 -0
  370. package/dist/parser/BrsTranspileState.js.map +1 -1
  371. package/dist/parser/Expression.d.ts +553 -221
  372. package/dist/parser/Expression.js +1414 -505
  373. package/dist/parser/Expression.js.map +1 -1
  374. package/dist/parser/Expression.spec.d.ts +1 -0
  375. package/dist/parser/Expression.spec.js +40 -0
  376. package/dist/parser/Expression.spec.js.map +1 -0
  377. package/dist/parser/Parser.Class.spec.js +255 -125
  378. package/dist/parser/Parser.Class.spec.js.map +1 -1
  379. package/dist/parser/Parser.d.ts +117 -124
  380. package/dist/parser/Parser.js +1669 -982
  381. package/dist/parser/Parser.js.map +1 -1
  382. package/dist/parser/Parser.spec.d.ts +3 -1
  383. package/dist/parser/Parser.spec.js +2111 -525
  384. package/dist/parser/Parser.spec.js.map +1 -1
  385. package/dist/parser/SGParser.d.ts +29 -13
  386. package/dist/parser/SGParser.js +85 -56
  387. package/dist/parser/SGParser.js.map +1 -1
  388. package/dist/parser/SGParser.spec.js +30 -45
  389. package/dist/parser/SGParser.spec.js.map +1 -1
  390. package/dist/parser/SGTypes.d.ts +134 -46
  391. package/dist/parser/SGTypes.js +206 -115
  392. package/dist/parser/SGTypes.js.map +1 -1
  393. package/dist/parser/Statement.d.ts +849 -267
  394. package/dist/parser/Statement.js +2412 -625
  395. package/dist/parser/Statement.js.map +1 -1
  396. package/dist/parser/Statement.spec.js +133 -36
  397. package/dist/parser/Statement.spec.js.map +1 -1
  398. package/dist/parser/TranspileState.d.ts +26 -12
  399. package/dist/parser/TranspileState.js +115 -24
  400. package/dist/parser/TranspileState.js.map +1 -1
  401. package/dist/parser/tests/Parser.spec.d.ts +3 -9
  402. package/dist/parser/tests/Parser.spec.js +7 -13
  403. package/dist/parser/tests/Parser.spec.js.map +1 -1
  404. package/dist/parser/tests/controlFlow/For.spec.js +83 -75
  405. package/dist/parser/tests/controlFlow/For.spec.js.map +1 -1
  406. package/dist/parser/tests/controlFlow/ForEach.spec.js +85 -51
  407. package/dist/parser/tests/controlFlow/ForEach.spec.js.map +1 -1
  408. package/dist/parser/tests/controlFlow/If.spec.js +382 -239
  409. package/dist/parser/tests/controlFlow/If.spec.js.map +1 -1
  410. package/dist/parser/tests/controlFlow/While.spec.js +52 -45
  411. package/dist/parser/tests/controlFlow/While.spec.js.map +1 -1
  412. package/dist/parser/tests/expression/Additive.spec.js +51 -43
  413. package/dist/parser/tests/expression/Additive.spec.js.map +1 -1
  414. package/dist/parser/tests/expression/ArrayLiterals.spec.js +192 -142
  415. package/dist/parser/tests/expression/ArrayLiterals.spec.js.map +1 -1
  416. package/dist/parser/tests/expression/AssociativeArrayLiterals.spec.js +236 -160
  417. package/dist/parser/tests/expression/AssociativeArrayLiterals.spec.js.map +1 -1
  418. package/dist/parser/tests/expression/Boolean.spec.js +41 -34
  419. package/dist/parser/tests/expression/Boolean.spec.js.map +1 -1
  420. package/dist/parser/tests/expression/Call.spec.js +173 -55
  421. package/dist/parser/tests/expression/Call.spec.js.map +1 -1
  422. package/dist/parser/tests/expression/Exponential.spec.js +20 -20
  423. package/dist/parser/tests/expression/Exponential.spec.js.map +1 -1
  424. package/dist/parser/tests/expression/Function.spec.js +291 -282
  425. package/dist/parser/tests/expression/Function.spec.js.map +1 -1
  426. package/dist/parser/tests/expression/Indexing.spec.js +193 -110
  427. package/dist/parser/tests/expression/Indexing.spec.js.map +1 -1
  428. package/dist/parser/tests/expression/Multiplicative.spec.js +42 -42
  429. package/dist/parser/tests/expression/Multiplicative.spec.js.map +1 -1
  430. package/dist/parser/tests/expression/NullCoalescenceExpression.spec.js +260 -115
  431. package/dist/parser/tests/expression/NullCoalescenceExpression.spec.js.map +1 -1
  432. package/dist/parser/tests/expression/PrefixUnary.spec.js +58 -52
  433. package/dist/parser/tests/expression/PrefixUnary.spec.js.map +1 -1
  434. package/dist/parser/tests/expression/Primary.spec.js +76 -60
  435. package/dist/parser/tests/expression/Primary.spec.js.map +1 -1
  436. package/dist/parser/tests/expression/RegexLiteralExpression.spec.d.ts +1 -0
  437. package/dist/parser/tests/expression/RegexLiteralExpression.spec.js +171 -0
  438. package/dist/parser/tests/expression/RegexLiteralExpression.spec.js.map +1 -0
  439. package/dist/parser/tests/expression/Relational.spec.js +50 -50
  440. package/dist/parser/tests/expression/Relational.spec.js.map +1 -1
  441. package/dist/parser/tests/expression/SourceLiteralExpression.spec.js +31 -31
  442. package/dist/parser/tests/expression/SourceLiteralExpression.spec.js.map +1 -1
  443. package/dist/parser/tests/expression/TemplateStringExpression.spec.js +281 -94
  444. package/dist/parser/tests/expression/TemplateStringExpression.spec.js.map +1 -1
  445. package/dist/parser/tests/expression/TernaryExpression.spec.js +747 -192
  446. package/dist/parser/tests/expression/TernaryExpression.spec.js.map +1 -1
  447. package/dist/parser/tests/expression/TypeExpression.spec.d.ts +1 -0
  448. package/dist/parser/tests/expression/TypeExpression.spec.js +126 -0
  449. package/dist/parser/tests/expression/TypeExpression.spec.js.map +1 -0
  450. package/dist/parser/tests/expression/UnaryExpression.spec.d.ts +1 -0
  451. package/dist/parser/tests/expression/UnaryExpression.spec.js +52 -0
  452. package/dist/parser/tests/expression/UnaryExpression.spec.js.map +1 -0
  453. package/dist/parser/tests/statement/AssignmentOperators.spec.js +44 -44
  454. package/dist/parser/tests/statement/AssignmentOperators.spec.js.map +1 -1
  455. package/dist/parser/tests/statement/ConstStatement.spec.d.ts +1 -0
  456. package/dist/parser/tests/statement/ConstStatement.spec.js +500 -0
  457. package/dist/parser/tests/statement/ConstStatement.spec.js.map +1 -0
  458. package/dist/parser/tests/statement/Continue.spec.d.ts +1 -0
  459. package/dist/parser/tests/statement/Continue.spec.js +119 -0
  460. package/dist/parser/tests/statement/Continue.spec.js.map +1 -0
  461. package/dist/parser/tests/statement/Declaration.spec.js +61 -55
  462. package/dist/parser/tests/statement/Declaration.spec.js.map +1 -1
  463. package/dist/parser/tests/statement/Dim.spec.js +29 -22
  464. package/dist/parser/tests/statement/Dim.spec.js.map +1 -1
  465. package/dist/parser/tests/statement/Enum.spec.d.ts +1 -0
  466. package/dist/parser/tests/statement/Enum.spec.js +744 -0
  467. package/dist/parser/tests/statement/Enum.spec.js.map +1 -0
  468. package/dist/parser/tests/statement/For.spec.d.ts +1 -0
  469. package/dist/parser/tests/statement/For.spec.js +45 -0
  470. package/dist/parser/tests/statement/For.spec.js.map +1 -0
  471. package/dist/parser/tests/statement/ForEach.spec.d.ts +1 -0
  472. package/dist/parser/tests/statement/ForEach.spec.js +36 -0
  473. package/dist/parser/tests/statement/ForEach.spec.js.map +1 -0
  474. package/dist/parser/tests/statement/Function.spec.js +226 -215
  475. package/dist/parser/tests/statement/Function.spec.js.map +1 -1
  476. package/dist/parser/tests/statement/Goto.spec.js +16 -15
  477. package/dist/parser/tests/statement/Goto.spec.js.map +1 -1
  478. package/dist/parser/tests/statement/Increment.spec.js +64 -61
  479. package/dist/parser/tests/statement/Increment.spec.js.map +1 -1
  480. package/dist/parser/tests/statement/InterfaceStatement.spec.d.ts +1 -0
  481. package/dist/parser/tests/statement/InterfaceStatement.spec.js +110 -0
  482. package/dist/parser/tests/statement/InterfaceStatement.spec.js.map +1 -0
  483. package/dist/parser/tests/statement/LibraryStatement.spec.js +22 -22
  484. package/dist/parser/tests/statement/LibraryStatement.spec.js.map +1 -1
  485. package/dist/parser/tests/statement/Misc.spec.js +127 -168
  486. package/dist/parser/tests/statement/Misc.spec.js.map +1 -1
  487. package/dist/parser/tests/statement/PrintStatement.spec.js +133 -114
  488. package/dist/parser/tests/statement/PrintStatement.spec.js.map +1 -1
  489. package/dist/parser/tests/statement/ReturnStatement.spec.js +57 -54
  490. package/dist/parser/tests/statement/ReturnStatement.spec.js.map +1 -1
  491. package/dist/parser/tests/statement/Set.spec.js +131 -117
  492. package/dist/parser/tests/statement/Set.spec.js.map +1 -1
  493. package/dist/parser/tests/statement/Stop.spec.js +14 -13
  494. package/dist/parser/tests/statement/Stop.spec.js.map +1 -1
  495. package/dist/parser/tests/statement/Throw.spec.js +11 -8
  496. package/dist/parser/tests/statement/Throw.spec.js.map +1 -1
  497. package/dist/parser/tests/statement/TryCatch.spec.js +26 -15
  498. package/dist/parser/tests/statement/TryCatch.spec.js.map +1 -1
  499. package/dist/preprocessor/Manifest.d.ts +6 -6
  500. package/dist/preprocessor/Manifest.js +17 -38
  501. package/dist/preprocessor/Manifest.js.map +1 -1
  502. package/dist/preprocessor/Manifest.spec.d.ts +1 -0
  503. package/dist/preprocessor/Manifest.spec.js +78 -103
  504. package/dist/preprocessor/Manifest.spec.js.map +1 -1
  505. package/dist/roku-types/data.json +20347 -0
  506. package/dist/roku-types/index.d.ts +5726 -0
  507. package/dist/roku-types/index.js +11 -0
  508. package/dist/roku-types/index.js.map +1 -0
  509. package/dist/types/ArrayType.d.ts +12 -5
  510. package/dist/types/ArrayType.js +89 -24
  511. package/dist/types/ArrayType.js.map +1 -1
  512. package/dist/types/ArrayType.spec.js +39 -11
  513. package/dist/types/ArrayType.spec.js.map +1 -1
  514. package/dist/types/AssociativeArrayType.d.ts +15 -0
  515. package/dist/types/AssociativeArrayType.js +64 -0
  516. package/dist/types/AssociativeArrayType.js.map +1 -0
  517. package/dist/types/BaseFunctionType.d.ts +10 -0
  518. package/dist/types/BaseFunctionType.js +26 -0
  519. package/dist/types/BaseFunctionType.js.map +1 -0
  520. package/dist/types/BooleanType.d.ts +9 -5
  521. package/dist/types/BooleanType.js +19 -8
  522. package/dist/types/BooleanType.js.map +1 -1
  523. package/dist/types/BooleanType.spec.js +10 -4
  524. package/dist/types/BooleanType.spec.js.map +1 -1
  525. package/dist/types/BscType.d.ts +41 -3
  526. package/dist/types/BscType.js +152 -0
  527. package/dist/types/BscType.js.map +1 -1
  528. package/dist/types/BscTypeKind.d.ts +28 -0
  529. package/dist/types/BscTypeKind.js +33 -0
  530. package/dist/types/BscTypeKind.js.map +1 -0
  531. package/dist/types/BuiltInInterfaceAdder.d.ts +28 -0
  532. package/dist/types/BuiltInInterfaceAdder.js +212 -0
  533. package/dist/types/BuiltInInterfaceAdder.js.map +1 -0
  534. package/dist/types/BuiltInInterfaceAdder.spec.d.ts +1 -0
  535. package/dist/types/BuiltInInterfaceAdder.spec.js +115 -0
  536. package/dist/types/BuiltInInterfaceAdder.spec.js.map +1 -0
  537. package/dist/types/CallFuncableType.d.ts +24 -0
  538. package/dist/types/CallFuncableType.js +91 -0
  539. package/dist/types/CallFuncableType.js.map +1 -0
  540. package/dist/types/ClassType.d.ts +17 -0
  541. package/dist/types/ClassType.js +60 -0
  542. package/dist/types/ClassType.js.map +1 -0
  543. package/dist/types/ClassType.spec.d.ts +1 -0
  544. package/dist/types/ClassType.spec.js +76 -0
  545. package/dist/types/ClassType.spec.js.map +1 -0
  546. package/dist/types/ComponentType.d.ts +22 -0
  547. package/dist/types/ComponentType.js +107 -0
  548. package/dist/types/ComponentType.js.map +1 -0
  549. package/dist/types/DoubleType.d.ts +10 -5
  550. package/dist/types/DoubleType.js +21 -17
  551. package/dist/types/DoubleType.js.map +1 -1
  552. package/dist/types/DoubleType.spec.js +12 -4
  553. package/dist/types/DoubleType.spec.js.map +1 -1
  554. package/dist/types/DynamicType.d.ts +13 -5
  555. package/dist/types/DynamicType.js +26 -5
  556. package/dist/types/DynamicType.js.map +1 -1
  557. package/dist/types/DynamicType.spec.js +16 -5
  558. package/dist/types/DynamicType.spec.js.map +1 -1
  559. package/dist/types/EnumType.d.ts +42 -0
  560. package/dist/types/EnumType.js +98 -0
  561. package/dist/types/EnumType.js.map +1 -0
  562. package/dist/types/EnumType.spec.d.ts +1 -0
  563. package/dist/types/EnumType.spec.js +33 -0
  564. package/dist/types/EnumType.spec.js.map +1 -0
  565. package/dist/types/FloatType.d.ts +10 -5
  566. package/dist/types/FloatType.js +21 -17
  567. package/dist/types/FloatType.js.map +1 -1
  568. package/dist/types/FloatType.spec.js +4 -4
  569. package/dist/types/FloatType.spec.js.map +1 -1
  570. package/dist/types/FunctionType.d.ts +8 -22
  571. package/dist/types/FunctionType.js +25 -63
  572. package/dist/types/FunctionType.js.map +1 -1
  573. package/dist/types/InheritableType.d.ts +29 -0
  574. package/dist/types/InheritableType.js +173 -0
  575. package/dist/types/InheritableType.js.map +1 -0
  576. package/dist/types/InlineInterfaceType.d.ts +5 -0
  577. package/dist/types/InlineInterfaceType.js +17 -0
  578. package/dist/types/InlineInterfaceType.js.map +1 -0
  579. package/dist/types/IntegerType.d.ts +10 -5
  580. package/dist/types/IntegerType.js +21 -17
  581. package/dist/types/IntegerType.js.map +1 -1
  582. package/dist/types/IntegerType.spec.js +8 -4
  583. package/dist/types/IntegerType.spec.js.map +1 -1
  584. package/dist/types/InterfaceType.d.ts +14 -6
  585. package/dist/types/InterfaceType.js +30 -15
  586. package/dist/types/InterfaceType.js.map +1 -1
  587. package/dist/types/InterfaceType.spec.d.ts +1 -0
  588. package/dist/types/InterfaceType.spec.js +227 -0
  589. package/dist/types/InterfaceType.spec.js.map +1 -0
  590. package/dist/types/IntersectionType.d.ts +29 -0
  591. package/dist/types/IntersectionType.js +253 -0
  592. package/dist/types/IntersectionType.js.map +1 -0
  593. package/dist/types/IntersectionType.spec.d.ts +1 -0
  594. package/dist/types/IntersectionType.spec.js +150 -0
  595. package/dist/types/IntersectionType.spec.js.map +1 -0
  596. package/dist/types/InvalidType.d.ts +10 -5
  597. package/dist/types/InvalidType.js +21 -9
  598. package/dist/types/InvalidType.js.map +1 -1
  599. package/dist/types/InvalidType.spec.js +8 -4
  600. package/dist/types/InvalidType.spec.js.map +1 -1
  601. package/dist/types/LongIntegerType.d.ts +10 -5
  602. package/dist/types/LongIntegerType.js +21 -17
  603. package/dist/types/LongIntegerType.js.map +1 -1
  604. package/dist/types/LongIntegerType.spec.js +10 -4
  605. package/dist/types/LongIntegerType.spec.js.map +1 -1
  606. package/dist/types/NamespaceType.d.ts +12 -0
  607. package/dist/types/NamespaceType.js +28 -0
  608. package/dist/types/NamespaceType.js.map +1 -0
  609. package/dist/types/ObjectType.d.ts +12 -5
  610. package/dist/types/ObjectType.js +25 -8
  611. package/dist/types/ObjectType.js.map +1 -1
  612. package/dist/types/ObjectType.spec.js +3 -3
  613. package/dist/types/ObjectType.spec.js.map +1 -1
  614. package/dist/types/ReferenceType.d.ts +123 -0
  615. package/dist/types/ReferenceType.js +720 -0
  616. package/dist/types/ReferenceType.js.map +1 -0
  617. package/dist/types/ReferenceType.spec.d.ts +1 -0
  618. package/dist/types/ReferenceType.spec.js +151 -0
  619. package/dist/types/ReferenceType.spec.js.map +1 -0
  620. package/dist/types/StringType.d.ts +12 -5
  621. package/dist/types/StringType.js +23 -8
  622. package/dist/types/StringType.js.map +1 -1
  623. package/dist/types/StringType.spec.js +3 -3
  624. package/dist/types/StringType.spec.js.map +1 -1
  625. package/dist/types/TypeStatementType.d.ts +18 -0
  626. package/dist/types/TypeStatementType.js +45 -0
  627. package/dist/types/TypeStatementType.js.map +1 -0
  628. package/dist/types/TypedFunctionType.d.ts +34 -0
  629. package/dist/types/TypedFunctionType.js +147 -0
  630. package/dist/types/TypedFunctionType.js.map +1 -0
  631. package/dist/types/TypedFunctionType.spec.d.ts +1 -0
  632. package/dist/types/TypedFunctionType.spec.js +122 -0
  633. package/dist/types/TypedFunctionType.spec.js.map +1 -0
  634. package/dist/types/UninitializedType.d.ts +11 -6
  635. package/dist/types/UninitializedType.js +20 -11
  636. package/dist/types/UninitializedType.js.map +1 -1
  637. package/dist/types/UnionType.d.ts +27 -0
  638. package/dist/types/UnionType.js +193 -0
  639. package/dist/types/UnionType.js.map +1 -0
  640. package/dist/types/UnionType.spec.d.ts +1 -0
  641. package/dist/types/UnionType.spec.js +205 -0
  642. package/dist/types/UnionType.spec.js.map +1 -0
  643. package/dist/types/VoidType.d.ts +11 -5
  644. package/dist/types/VoidType.js +22 -8
  645. package/dist/types/VoidType.js.map +1 -1
  646. package/dist/types/VoidType.spec.js +3 -3
  647. package/dist/types/VoidType.spec.js.map +1 -1
  648. package/dist/types/helper.spec.d.ts +1 -0
  649. package/dist/types/helper.spec.js +174 -0
  650. package/dist/types/helper.spec.js.map +1 -0
  651. package/dist/types/helpers.d.ts +51 -0
  652. package/dist/types/helpers.js +323 -0
  653. package/dist/types/helpers.js.map +1 -0
  654. package/dist/types/index.d.ts +22 -0
  655. package/dist/types/index.js +39 -0
  656. package/dist/types/index.js.map +1 -0
  657. package/dist/types/roFunctionType.d.ts +11 -0
  658. package/dist/types/roFunctionType.js +37 -0
  659. package/dist/types/roFunctionType.js.map +1 -0
  660. package/dist/types/roFunctionType.spec.d.ts +1 -0
  661. package/dist/types/roFunctionType.spec.js +20 -0
  662. package/dist/types/roFunctionType.spec.js.map +1 -0
  663. package/dist/util.d.ts +288 -187
  664. package/dist/util.js +2018 -575
  665. package/dist/util.js.map +1 -1
  666. package/dist/validators/ClassValidator.d.ts +9 -15
  667. package/dist/validators/ClassValidator.js +93 -138
  668. package/dist/validators/ClassValidator.js.map +1 -1
  669. package/package.json +185 -138
  670. package/CHANGELOG.md +0 -1188
  671. package/dist/astUtils/index.d.ts +0 -7
  672. package/dist/astUtils/index.js +0 -26
  673. package/dist/astUtils/index.js.map +0 -1
  674. package/dist/bscPlugin/semanticTokens/SemanticTokensProcessor.d.ts +0 -7
  675. package/dist/bscPlugin/semanticTokens/SemanticTokensProcessor.js +0 -63
  676. package/dist/bscPlugin/semanticTokens/SemanticTokensProcessor.js.map +0 -1
  677. package/dist/bscPlugin/semanticTokens/SemanticTokensProcessor.spec.js +0 -45
  678. package/dist/bscPlugin/semanticTokens/SemanticTokensProcessor.spec.js.map +0 -1
  679. package/dist/lexer/index.d.ts +0 -3
  680. package/dist/lexer/index.js +0 -17
  681. package/dist/lexer/index.js.map +0 -1
  682. package/dist/parser/SGTypes.spec.js +0 -351
  683. package/dist/parser/SGTypes.spec.js.map +0 -1
  684. package/dist/parser/index.d.ts +0 -3
  685. package/dist/parser/index.js +0 -16
  686. package/dist/parser/index.js.map +0 -1
  687. package/dist/preprocessor/Chunk.d.ts +0 -82
  688. package/dist/preprocessor/Chunk.js +0 -77
  689. package/dist/preprocessor/Chunk.js.map +0 -1
  690. package/dist/preprocessor/Preprocessor.d.ts +0 -60
  691. package/dist/preprocessor/Preprocessor.js +0 -156
  692. package/dist/preprocessor/Preprocessor.js.map +0 -1
  693. package/dist/preprocessor/Preprocessor.spec.js +0 -152
  694. package/dist/preprocessor/Preprocessor.spec.js.map +0 -1
  695. package/dist/preprocessor/PreprocessorParser.d.ts +0 -61
  696. package/dist/preprocessor/PreprocessorParser.js +0 -194
  697. package/dist/preprocessor/PreprocessorParser.js.map +0 -1
  698. package/dist/preprocessor/PreprocessorParser.spec.js +0 -116
  699. package/dist/preprocessor/PreprocessorParser.spec.js.map +0 -1
  700. package/dist/preprocessor/index.d.ts +0 -3
  701. package/dist/preprocessor/index.js +0 -16
  702. package/dist/preprocessor/index.js.map +0 -1
  703. package/dist/types/CustomType.d.ts +0 -10
  704. package/dist/types/CustomType.js +0 -35
  705. package/dist/types/CustomType.js.map +0 -1
  706. package/dist/types/FunctionType.spec.js +0 -29
  707. package/dist/types/FunctionType.spec.js.map +0 -1
  708. package/dist/types/LazyType.d.ts +0 -15
  709. package/dist/types/LazyType.js +0 -32
  710. package/dist/types/LazyType.js.map +0 -1
  711. /package/dist/{bscPlugin/semanticTokens/SemanticTokensProcessor.spec.d.ts → astUtils/CachedLookups.spec.d.ts} +0 -0
  712. /package/dist/{parser/SGTypes.spec.d.ts → astUtils/Editor.spec.d.ts} +0 -0
  713. /package/dist/{preprocessor/Preprocessor.spec.d.ts → bscPlugin/completions/CompletionsProcessor.spec.d.ts} +0 -0
  714. /package/dist/{preprocessor/PreprocessorParser.spec.d.ts → bscPlugin/definition/DefinitionProvider.spec.d.ts} +0 -0
  715. /package/dist/{types/FunctionType.spec.d.ts → bscPlugin/hover/HoverProcessor.spec.d.ts} +0 -0
package/CHANGELOG.md DELETED
@@ -1,1188 +0,0 @@
1
- # Changelog
2
- All notable changes to this project will be documented in this file.
3
-
4
- The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5
- and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
-
7
-
8
-
9
- ## [1.0.0-alpha.5] - 2021-05-17
10
- [1.0.0-alpha.5]: https://github.com/rokucommunity/brighterscript/compare/v1.0.0-alpha.4...v1.0.0-alpha.5
11
- ### Added
12
- - all changes from [v0.39.0](#0390---2021-05-18)
13
- ### Changed
14
- - Add location tracking (range property) to all SceneGraph/XML nodes. ([#400](https://github.com/rokucommunity/brighterscript/pull/400))
15
- - Refactored SGComponent scripts, children, and interface properties into getter functions which are driven by the underlying XML AST. This means as you modify the AST, those getter functions will automatically reflect the changes. ([#400](https://github.com/rokucommunity/brighterscript/pull/400))
16
- - Refactored SGInterface properties fields and functions to getter functions which are driven by the underlying XML AST. ([#400](https://github.com/rokucommunity/brighterscript/pull/400))
17
- - Moved SGParser module functions onto the SGParser class itself to match the OO patterns in the rest of the project. ([#400](https://github.com/rokucommunity/brighterscript/pull/400))
18
-
19
-
20
-
21
- ## [0.39.0] - 2021-05-18
22
- [0.39.0]: https://github.com/rokucommunity/brighterscript/compare/v0.38.2...v0.39.0
23
- ### Added
24
- - semantic token support for plugins
25
- - basic semantic tokens for `new` statements and namespace usage
26
-
27
-
28
-
29
- ## [1.0.0-alpha.4] - 2021-05-17
30
- [1.0.0-alpha.4]: https://github.com/rokucommunity/brighterscript/compare/v1.0.0-alpha.3...v1.0.0-alpha.4
31
- ### Added
32
- - all changes from [v0.38.2](#0380---2021-05-17)
33
-
34
-
35
-
36
- ## [0.38.2] - 2021-05-17
37
- [0.38.2]: https://github.com/rokucommunity/brighterscript/compare/v0.38.1...v0.38.2
38
- ### Fixed
39
- - language server crash when namespaced function or class didn't have a name ([#419](https://github.com/rokucommunity/brighterscript/pull/419))
40
-
41
-
42
-
43
- ## [1.0.0-alpha.3]
44
- [1.0.0-alpha.3]: https://github.com/rokucommunity/brighterscript/compare/v1.0.0-alpha.2...v1.0.0-alpha.3
45
- ### Added
46
- - all changes from [v0.38.1](#0380---2021-05-14)
47
- ### Changed
48
- - rename `Program.addOrReplaceFile` to `Program.setFile` ([#405](https://github.com/rokucommunity/brighterscript/pull/405))
49
- - Unified global callables and function type param definitions ([#417](https://github.com/rokucommunity/brighterscript/pull/417))
50
- - Fix issue with global `Val` function where there were two global functions with same name and different params and return types ([#417](https://github.com/rokucommunity/brighterscript/pull/417))
51
- - move token-specific functions into `Parser.ts` ([#407](https://github.com/rokucommunity/brighterscript/pull/407))
52
-
53
-
54
-
55
- ## [0.38.1] - 2021-05-14
56
- [0.38.1]: https://github.com/rokucommunity/brighterscript/compare/v0.38.0...v0.38.1
57
- ### Changed
58
- - SOURCE_FILE_PATH and SOURCE_LOCATION source literals are now string concatenations in order to avoid triggering Roku's static analysis rule against `file:/` protocol strings ([#415](https://github.com/rokucommunity/brighterscript/pull/415))
59
- ### Fixed
60
- - ParseJson function signature to include second parameter ([#418](https://github.com/rokucommunity/brighterscript/pull/418))
61
- - bsconfig.schema.json support for string diagnostic codes ([#416](https://github.com/rokucommunity/brighterscript/pull/416))
62
- - upgrade chokidar to add `--watch` cli support for M1 mac computers ([#386](https://github.com/rokucommunity/brighterscript/pull/386))
63
- - several dependency vulnerability fixes ([#413](https://github.com/rokucommunity/brighterscript/pull/413), [#410](https://github.com/rokucommunity/brighterscript/pull/410), [#411](https://github.com/rokucommunity/brighterscript/pull/411))
64
-
65
-
66
-
67
- ## [1.0.0-alpha.2]
68
- [1.0.0-alpha.2]: https://github.com/rokucommunity/brighterscript/compare/v1.0.0-alpha.1...v1.0.0-alpha.2
69
- ### Added
70
- - all changes from [v0.38.0](#0380---2021-05-04)
71
- ### Changed
72
- - Rename pathAbsolute to srcPath ([#399](https://github.com/rokucommunity/brighterscript/pull/399))
73
- - Convert pkgPath to actual pkgPath (i.e. `pkg:/source/main.brs` where previously it would have been `source/main.brs` or `source\main.brs`) ([#399](https://github.com/rokucommunity/brighterscript/pull/399))
74
- - Simplify Program removeFile and addReplaceFile ([#399](https://github.com/rokucommunity/brighterscript/pull/399))
75
- - Add `normalizePath` parameter to file-related functions in `Program` and `Scope` ([#399](https://github.com/rokucommunity/brighterscript/pull/399))
76
-
77
-
78
-
79
- ## [0.38.0] - 2021-05-04
80
- ### Added
81
- - warning for mismatched class method accessibility ([#402](https://github.com/rokucommunity/brighterscript/pull/402))
82
- - allow class field overrides in child classes as long as they are the same type ([#394](https://github.com/rokucommunity/brighterscript/pull/394))
83
-
84
-
85
-
86
- ## [1.0.0-alpha.1]
87
- [1.0.0-alpha.1]: https://github.com/rokucommunity/brighterscript/compare/v0.37.4...v1.0.0-alpha.1
88
- ### Add
89
- - Type checking for function arguments ([#401](https://github.com/rokucommunity/brighterscript/pull/401))
90
- ### Changed
91
- - Refactor plugin events to emit an event object ([#397](https://github.com/rokucommunity/brighterscript/pull/397))
92
- - Remove `FunctionScope` ([#401](https://github.com/rokucommunity/brighterscript/pull/401))
93
- - Add `SymbolTable` and `LazyType` objects to improve type tracking ([#401](https://github.com/rokucommunity/brighterscript/pull/401))
94
-
95
-
96
-
97
- ## [0.37.4] - 2021-04-20
98
- ### Fixed
99
- - bug validating namespace function calls ([#390](https://github.com/rokucommunity/brighterscript/pull/390))
100
-
101
-
102
-
103
- ## [0.37.4] - 2021-04-20
104
- ### Fixed
105
- - bug validating namespace function calls ([#390](https://github.com/rokucommunity/brighterscript/pull/390))
106
-
107
-
108
-
109
- ## [0.37.3] - 2021-04-12
110
- ### Fixed
111
- - bug where having multiple components with the same name would cause issues in the program, normally requiring a language server or watcher restart. ([#353](https://github.com/rokucommunity/brighterscript/pull/353))
112
- - bug in xml file ignoring `needsTranspiled` flag when set by plugins ([#384](https://github.com/rokucommunity/brighterscript/pull/384))
113
-
114
-
115
-
116
- ## [0.37.2] - 2021-04-08
117
- ### Fixed
118
- - erraneous syntax issue when concatenating a template string and a regular string. ([#383](https://github.com/rokucommunity/brighterscript/pull/383))
119
- - prevent circular import causing stack overflow crash. ([#381](https://github.com/rokucommunity/brighterscript/pull/381))
120
-
121
-
122
-
123
- ## [0.37.1] - 2021-03-30
124
- ### Fixed
125
- - bug when transpiling print statements that wouldn't retain the existing separators (semicolon, comma, no separator) which all have unique uses ([#373](https://github.com/rokucommunity/brighterscript/pull/373))
126
-
127
-
128
-
129
- ## [0.37.0] - 2021-03-18
130
- ### Added
131
- - support for `bs:disable` comments in xml files ([#363](https://github.com/rokucommunity/brighterscript/pull/363))
132
-
133
-
134
-
135
- ## [0.36.0] - 2021-03-15
136
- ### Added
137
- - class import code actions ([#365](https://github.com/rokucommunity/brighterscript/pull/365))
138
- ### Changed
139
- - append stack trace to every language server error ([#354)](https://github.com/rokucommunity/brighterscript/pull/354))
140
- ### Fixed
141
- - restrict function and class imports to .bs files only ([#365)](https://github.com/rokucommunity/brighterscript/pull/365))
142
- - language server crashes due to unsafe property access in callfunc expressions ([#360)](https://github.com/rokucommunity/brighterscript/pull/360))
143
- - crashes in signature help ([#358)](https://github.com/rokucommunity/brighterscript/pull/358))
144
- - template string transpile bug when two expressions were next to each other ([#361)](https://github.com/rokucommunity/brighterscript/pull/361))
145
-
146
-
147
-
148
- ## [0.35.0] - 2021-03-09
149
- ### Added
150
- - code actions for suggesting import statements in brighterscript files ([#347](https://github.com/rokucommunity/brighterscript/pull/347))
151
- ### Fixed
152
- - safer access to nullable callables and values during certain language server operations ([#328](https://github.com/rokucommunity/brighterscript/pull/328))
153
-
154
-
155
-
156
- ## [0.34.3] -2021-03-05
157
- ### Fixed
158
- - bug when transpiling bsc with custom function and parameter return types
159
-
160
-
161
-
162
- ## [0.34.2] - 2021-03-04
163
- ### Added
164
- - support for loading bslib without alias (i.e. `@rokucommunity/bslib`).
165
- ### Fixed
166
- - bslib npm alias bug crashing npm install on nodeJS < 12
167
- - infinite loop during transpile when copying bslib
168
- - bug where bslib.brs functions were not properly prefixed during transpile
169
-
170
-
171
-
172
- ## [0.34.1] - 2021-03-02
173
- ### Fixed
174
- - syntax parsing bugs within single-line if statements
175
-
176
-
177
-
178
- ## [0.34.0] - 2021-02-28
179
- ### Added
180
- - language server file path completions inside strings that start with `pkg:` or `libpkg:`
181
-
182
-
183
-
184
- ## [0.33.0] - 2021-02-27
185
- ### Added
186
- - support for ropm version of bslib.([#334](https://github.com/rokucommunity/brighterscript/pull/334))
187
- ### Fixed
188
- - parse crash when encountering immediately-invoked function expressions (IIFEs) ([#343](https://github.com/rokucommunity/brighterscript/pull/343))
189
- - error during language server completions when activated on the first token in the file ([#342](https://github.com/rokucommunity/brighterscript/pull/342))
190
- - refactored BrsFile.parseMode to be a property instead of a getter since there was no reason it needed to be a getter ([#341](https://github.com/rokucommunity/brighterscript/pull/341))
191
-
192
-
193
-
194
- ## [0.32.3] - 2021-02-25
195
- ### Fixed
196
- - fix significant performance bug in diagnostic filtering
197
- - tweaks to the logging system to make `logLevel=verbose` less chatty
198
- - null reference error in `Scope.getFileByRelativePath()`
199
- - fix class fields that were missing in getSymbol requests
200
-
201
-
202
-
203
- ## [0.32.2] - 2021-02-20
204
- ### Fixed
205
- - transpile bug when a template string starts with an expression ([#327](https://github.com/rokucommunity/brighterscript/pull/327))
206
-
207
-
208
-
209
- ## [0.31.2] - 2021-02-18
210
- ### Changed
211
- - parent class names in typedefs for class `extends` expressions now always include their full namespace name.
212
-
213
-
214
-
215
- ## [0.31.1] - 2021-02-18
216
- ### Fixed
217
- - prevent exception in codeAction functionality when file cannot be found in a `Program`
218
-
219
-
220
-
221
- ## [0.31.0] - 2021-02-17
222
- ### Added
223
- - plugin and language server support for [codeActions](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_codeAction)
224
- - codeAction to add missing `extends` attribute in components
225
- ### Fixed
226
- - wrong line numbers in certain sourcemaps generated during transpile
227
- - include annotations in emitted type definitions
228
-
229
-
230
-
231
- ## [0.30.9] - 2021-02-15
232
- ### Fixed
233
- - prevent excess validations when non-workspace files are changed ([#315](https://github.com/rokucommunity/brighterscript/pull/315))
234
- - catch errors when getting signatures ([#285](https://github.com/rokucommunity/brighterscript/pull/285))
235
- - missing `Roku_Ads` function in global functions list. ([#312](https://github.com/rokucommunity/brighterscript/pull/312))
236
-
237
-
238
-
239
- ## [0.30.8] - 2021-02-12
240
- ### Changed
241
- - add additional logging in `Program.removeFile`
242
- ### Fixed
243
- - Fix watcher bug on windows devices
244
- - Don't mangle xml scripts during transpile
245
-
246
-
247
-
248
- ## [0.30.7] - 2021-02-11
249
- ### Fixed
250
- - bug in `getSignatureHelp` that wouldn't work for function calls with no leading whitespace. ([#307](https://github.com/rokucommunity/brighterscript/issues/307))
251
-
252
-
253
-
254
- ## [0.30.6] - 2021-02-07
255
- ### Fixed
256
- - bad transpile for nested class method super calls
257
- - SceneGraph node attributes being wrongly removed when modifying attributes
258
-
259
-
260
-
261
- ## [0.30.5] - 2021-02-03
262
- ### Added
263
- - syntax support for dim statements
264
- - completion and code navigation for labels
265
- ### Fixed
266
- - exception related to signature help when writing comments
267
-
268
-
269
-
270
- ## [0.30.4] - 2021-02-02
271
- ### Fixed
272
- - fixed crash during validation caused by a missing function body when parsing malformed code
273
-
274
-
275
-
276
- ## [0.30.3] - 2021-02-01
277
- ### Fixed
278
- - performance issue when transpiling larger projects, even when no brighterscript code was used
279
-
280
-
281
-
282
- ## [0.30.2] - 2021-01-31
283
- ### Fixed
284
- - xml parse error crashing validation ((#294)[https://github.com/rokucommunity/brighterscript/pull/294])
285
- - better handling for `createStringLiteral` ((#292)[https://github.com/rokucommunity/brighterscript/pull/292])
286
-
287
-
288
-
289
- ## [0.30.1] - 2021-01-29
290
- ### Fixed
291
- - bug that would crash while transpiling if a script tag didn't have a `type` attribute
292
- - XML transpile now honors the `sourceMap` option
293
-
294
-
295
-
296
- ## [0.30.0] - 2021-01-26
297
- ### Added
298
- - null coalescing operator (see [the docs](https://github.com/rokucommunity/brighterscript/blob/master/docs/null-coalescing-operator.md) for more information)
299
- ### Fixed
300
- - infinite loop when encountering annotations without an identifier above a class method ([#291](https://github.com/rokucommunity/brighterscript/pull/291))
301
-
302
-
303
-
304
- ## [0.29.0] - 2021-01-25
305
- ### Added
306
- - ternary operator (see [the docs](https://github.com/rokucommunity/brighterscript/blob/master/docs/ternary-operator.md) for more information)
307
-
308
-
309
-
310
- ## [0.28.2] - 2021-01-22
311
- ### Changed
312
- - config loading functions from `util.ts` are now run synchronously
313
- ### Fixed
314
- - missing variable from `for each` statement in completions for language server
315
- - bug when running the CLI that wouldn't properly read the `sourceMap` property from bsconfig.json
316
-
317
-
318
-
319
- ## [0.28.1] - 2021-01-19
320
- ### Changed
321
- - (For plugin authors) refactored many async methods into sync methods to simplify file creation/management. ([#278](https://github.com/rokucommunity/brighterscript/pull/278))
322
- ### Fixed
323
- - bug with transpiling classes that would not always get the correct superclass index. ([#279](https://github.com/rokucommunity/brighterscript/pull/279))
324
- - annotations are now block-restricted ([#274](https://github.com/rokucommunity/brighterscript/pull/274))
325
-
326
-
327
-
328
- ## [0.28.0] - 2021-01-16
329
- ### Added
330
- - annotation support for classes and class methods ([#270](https://github.com/rokucommunity/brighterscript/pull/270))
331
- ### fixed
332
- - bugs with go-to-definition and signature help for namespace functions, classes, and callfunc calls
333
-
334
-
335
-
336
- ## [0.27.0] - 2021-01-15
337
- ### Changed
338
- - plugin system changed to require a factory function instead of a singleton object ([#272](https://github.com/rokucommunity/brighterscript/pull/272))
339
-
340
-
341
-
342
- ## [0.26.0] - 2021-01-14
343
- ### Added
344
- - proper XML AST support
345
- - component interface validation
346
- - basic support for string-based diagnostic codes (from plugins)
347
-
348
-
349
-
350
- ## [0.25.0] - 2021-01-12
351
- ### Added
352
- - support for passing custom types as function parameters and return types ([#262](https://github.com/rokucommunity/brighterscript/issues/262))
353
-
354
-
355
-
356
- ## [0.24.2] - 2021-01-11
357
- ### Fixed
358
- - bug with transpiled child classes causing on-device stack overflows ([#267](https://github.com/rokucommunity/brighterscript/issues/267))
359
-
360
-
361
-
362
- ## [0.24.1] - 2021-01-09
363
- ### Changed
364
- - upgraded to [roku-deploy@3.2.4](https://github.com/rokucommunity/roku-deploy/blob/master/CHANGELOG.md#324---2021-01-08)
365
-
366
-
367
-
368
- ## [0.24.0] - 2021-01-08
369
- ### Added
370
- - `sourceMap` option to enable/disable generating sourcemaps
371
- ### Changed
372
- - sourcemaps are disabled by default (previously they were enabled by default)
373
-
374
-
375
-
376
- ## [0.23.2] - 2020-01-06
377
- ### Fixed
378
- - `isLiteralInvalid` was causing infinite recursion.
379
- - lock `vscode-languageserver-protocol` package version to prevent issues with vscode not following semantic versioning.
380
-
381
-
382
-
383
- ## [0.23.1] - 2020-12-22
384
- ### Changed
385
- - renamed `Scope.getFiles()` to `Scope.getAllFiles()` and added a new function called `Scope.getOwnFiles()`
386
- ### Fixed
387
- - bug preventing `d.bs` loaded in parent files from showing up in child files. ([#252](https://github.com/rokucommunity/brighterscript/pull/252))
388
-
389
-
390
-
391
- ## [0.23.0] - 2020-12-18
392
- ### Changed
393
- - AST parser refactoring ([#244](https://github.com/rokucommunity/brighterscript/pull/244))
394
- - Make `ElseIf` into an `ElseIfStatement`
395
- - Removed `ElseIf` token in favor of separate `else` and `if` tokens
396
- - Refactored statement separators processing and cleaned error messages
397
- - Improved try-catch parsing
398
- - Improved label error handling
399
- ### Fixed
400
- - bug causing invalid diagnostics to be thrown on files with multiple dots in their names ([#257](https://github.com/rokucommunity/brighterscript/pull/257))
401
- - syntax error for [integer type declaration character](https://developer.roku.com/docs/references/brightscript/language/expressions-variables-types.md#type-declaration-characters) ([#254](https://github.com/rokucommunity/brighterscript/pull/254))
402
- - syntax error for floats with more than 5 decimal places that also have a trailing exponent ([#255](https://github.com/rokucommunity/brighterscript/pull/255))
403
-
404
-
405
-
406
- ## [0.22.1] - 2020-12-14
407
- ### Fixed
408
- - small bug introduced by vscode-languageserver causing crashes anytime negative range values are provided.
409
-
410
-
411
-
412
- ## [0.22.0] - 2020-11-23
413
- ### Added
414
- - `try/catch` and `throw` syntax support [#218](https://github.com/rokucommunity/brighterscript/issues/218)
415
-
416
-
417
-
418
- ## [0.21.0] - 2020-11-19
419
- ### Added
420
- - Catch when local variables and scope functions have the same name as a class. ([#246](https://github.com/rokucommunity/brighterscript/pull/246))
421
- - Catch when functions use keyword names ([#247](https://github.com/rokucommunity/brighterscript/pull/247))
422
- ### Changed
423
- - many internal changes:
424
- - remove all the `BrsType` objects leftover from the upstream `brs` project. Things like `ValueKind`, `BrsType`, the `Token.literal` property.
425
- - rename the brighterscript `BrsType` class to `BscType` for more distinction from the now deleted from-upstream `BrsType`.
426
- - Modify the `createToken` function in `astUtils/creators.ts` to accept a range, or use a default negative range.
427
- - Use the `BscType` objects for basic parser type tracking (this replaces `ValueKind` and `BrsType` from upstream `brs` project).
428
- - minor AST property changes for `ForStatement` and `FunctionStatement`,
429
- - any `ValueKind` references in code have been replaced with an instance of a `BscType` (which will be the backbone of future type tracking)
430
- - Updated `ForStatement` to no longer include synthetic `step 1` tokens when those were not included in the source file.
431
- - remove eliminated `BrsType` items from `reflection.ts`.
432
-
433
-
434
- ## [0.20.1] - 2020-11-16
435
- ### Changed
436
- - load plugins relatively to the project ([#242](https://github.com/rokucommunity/brighterscript/pull/242))
437
- - modified reflection utilities so they are compatible with TS strict null checks ([#243](https://github.com/rokucommunity/brighterscript/pull/243))
438
-
439
-
440
-
441
- ## [0.20.0] - 2020-11-13
442
- ### Added
443
- - more language server features: onWorkspaceSymbol, onSignatureHelp, onDocumentSymbol, onReferences, improve onDefinition ([#191](https://github.com/rokucommunity/brighterscript/pull/191))
444
-
445
-
446
-
447
- ## [0.19.0] - 2020-11-04
448
- ### Changed
449
- - `emitDefinitions` now defaults to `false` (it previously defaulted to `true`)
450
- ### Fixed
451
- - don't transpile `d.bs` files (which would produce `d.brs` files with duplicate information in them)
452
-
453
-
454
-
455
- ## [0.18.2] - 2020-11-2
456
- ### Fixed
457
- - support on-demand parse for typedef-shadowed files ([#237](https://github.com/rokucommunity/brighterscript/pull/237))
458
-
459
-
460
-
461
- ## [0.18.1] - 2020-10-30
462
- ### Fixed
463
- - exclude bs1100 for typedef files (`Missing "super()" call in class constructor method.`)
464
- - fix some invalid class field types in typedef files
465
- - include `override` keyword in class methods in typedef files
466
-
467
-
468
-
469
- ## [0.18.0] - 2020-10-30
470
- ### Added
471
- - support for consuming and producing type definitions. ([188](https://github.com/rokucommunity/brighterscript/pull/188))
472
-
473
-
474
-
475
- ## [0.17.0] - 2020-10-27
476
- ### Added
477
- - Annotation syntax and AST support ([#234](https://github.com/rokucommunity/brighterscript/pull/234))
478
-
479
-
480
-
481
- ## [0.16.12] - 2020-10-21
482
- ### Fixed
483
- - parser bug when there was a trailing colon after `for` or `while` loop statements ([#230](https://github.com/rokucommunity/brighterscript/pull/230))
484
-
485
-
486
-
487
- ## [0.16.11] - 2020-10-20
488
- ### Fixed
489
- - bug when using single quotes in an xml script tag
490
- ### Changed
491
- - removed bs1106 (.bs file script tags must use the `type="brighterscript"`) diagnostic because it's unnecessary.
492
-
493
-
494
-
495
- ## [0.16.10] - 2020-10-20
496
- ### Fixed
497
- - prevent crash when a callable has the same name as a javascript reserved name ([#226](https://github.com/rokucommunity/brighterscript/pull/226))
498
- - prevent crash when `import` statement is malformed ([#224](https://github.com/rokucommunity/brighterscript/pull/224))
499
-
500
-
501
-
502
- ## [0.16.9] - 2020-10-18
503
- ### Fixed
504
- - reduce language server throttle for validation and parsing now that those have improved performance.
505
- - massively improve validation performance by refactoring `getFileByPkgPath`
506
- - micro-optimization of hot parser functions
507
- - change codebase to use `import type` many places, which reduces the number of files imported at runtime
508
-
509
-
510
-
511
- ## [0.16.8] - 2020-10-15
512
- ### Fixed
513
- - bug when printing diagnostics that would crash if the contents were missing (like for in-memory-only files injected by plugins) ([#217](https://github.com/rokucommunity/brighterscript/pull/217))
514
- - Drop expensive AST walking for collecting property names and instead collect them as part of parsing
515
-
516
-
517
-
518
- ## [0.16.7] - 2020-10-13
519
- ### Fixed
520
- - bug when finding `bsconfig.json` that would use the wrong cwd in multi-workspace language server situations.
521
- - bug when transpiling in-memory-only files. ([#212](https://github.com/rokucommunity/brighterscript/pull/212))
522
-
523
-
524
-
525
- ## [0.16.6] - 2020-10-13
526
- ### Fixed
527
- - quirk in the GitHub actions workflow that didn't publish the correct code.
528
-
529
-
530
-
531
- ## [0.16.5] - 2020-10-13
532
- ### Fixed
533
- - performance issue during the parse phase. We now defer certain collections until needed. ([#210](https://github.com/rokucommunity/brighterscript/pull/210))
534
-
535
-
536
-
537
- ## [0.16.4] - 2020-10-12
538
- ### Changed
539
- - LanguageServer now sends a _diff_ of diagnostics for files, instead of the entire project's diagnostics every time. ([#204](https://github.com/rokucommunity/brighterscript/pull/204))
540
- ### Fixed
541
- - transpile bug for namespaced class constructors that wouldn't properly prepend the namespace in some situations. ([#208](https://github.com/rokucommunity/brighterscript/pull/208))
542
- - bug in class validation that was causing bogus diagnostics during class construction in namespaces.([#203](https://github.com/rokucommunity/brighterscript/issues/203))
543
-
544
-
545
-
546
- ## [0.16.3] - 2020-10-11
547
- ### Changed
548
- - Add generic type parameter for `Program` add functions.
549
- - Export `BscType` type to simplify `BrsFile | XmlFile` usage everywhere.
550
- ### Fixed
551
- - Prevent bogus diagnostic on all callfunc operations ([#205](https://github.com/rokucommunity/brighterscript/issues/205))
552
-
553
-
554
-
555
- ## [0.16.2] - 2020-10-09
556
- ### Fixed
557
- - critical bug in diagnostic printing that would crash the program if a diagnostic was missing a valid range.
558
-
559
-
560
-
561
- ## [0.16.1] - 2020-10-03
562
- ### Changed
563
- - rename `isEscapedCharCodeLiteral` to `isEscapedCharCodeLiteralExpression` to match other expression class names
564
- - rename `FunctionParameter` to `FunctionParameterExpression` to match other expression class names
565
- - convert `AAMemberExpression` interface into an expression class.
566
- - convert `isBrsFile` and `isXmlFile` to check for constructor file name rather than file extension.
567
- ### Fixed
568
- - bugs with plugin interoperability with BrighterScript when using `instanceof`. All internal BrighterScript logic now uses the `is` functions from `astutils/reflection`, and plugin authors should do the same.
569
-
570
-
571
-
572
- ## [0.16.0] - 2020-10-02
573
- ### Added
574
- - `Expression.walk` and `Statement.walk` functions which provide shallow or deep walking of the AST
575
- - Many `ast` reflection methods to be used instead of `instanceof`.
576
- - plugin system (still in alpha) support for re-scanning the AST after modifing the AST by calling `invalidateReferences()`
577
- - every token has a `leadingWhitespace` property now that contains leading whitespace. Retrieving whitespace tokens from the `Lexer` will be removed in a future update in favor of this appraoch
578
- ### Changed
579
- - all AST nodes now extend either `Statement` or `Expression` instead of simply implementing their interfaces.
580
- ### Removed
581
- - several AST walking functions from `astUtils/` in favor of direct node walking
582
-
583
-
584
-
585
- ## [0.15.2] - 2020-10-01
586
- ### Fixed
587
- - Bug in component validation that would throw errors if component name was undefined (generally due to an XML parse error). ([#194](https://github.com/rokucommunity/brighterscript/pull/194))
588
-
589
-
590
-
591
- ## [0.15.1] - 2020-09-30
592
- ### Fixed
593
- - improved performance in the lexer and parser
594
- - potential for accidentally changing `cwd` during bsconfig resolving
595
-
596
-
597
-
598
- ## [0.15.0] - 2020-09-18
599
- ### Added
600
- - plugin API to allow visibility into the various compiler phases. This is currently in alpha. ([#170](https://github.com/rokucommunity/brighterscript/pull/170))
601
-
602
-
603
-
604
- ## [0.14.0] - 2020-09-04
605
- ### Changed
606
- - Add error diagnostic BS1115 which flags duplicate component names [#186](https://github.com/rokucommunity/brighterscript/pull/186)
607
-
608
-
609
-
610
- ## [0.13.2] - 2020-08-31
611
- ### Changed
612
- - Upgraded BS1104 to error (previously a warning) and refined the messaging.
613
-
614
-
615
-
616
- ## [0.13.1] - 2020-08-14
617
- ### Changed
618
- - upgraded to [roku-deploy@3.2.3](https://github.com/rokucommunity/roku-deploy/blob/master/CHANGELOG.md#323---2020-08-14)
619
- - throw exception when copying to staging folder and `rootDir` does not exist in the file system
620
- - throw exception when zipping package and `${stagingFolder}/manifest` does not exist in the file system
621
-
622
-
623
-
624
- ## [0.13.0] - 2020-08-10
625
- ### Added
626
- - ability to mark the `extends` and `project` options in `bsconfig.json`, API and CLI as optional.
627
-
628
-
629
-
630
- ## [0.12.4] - 2020-08-06
631
- ### Fixed
632
- - bug in cli that wouldn't properly read bsconfig values. [#167](https://github.com/rokucommunity/brighterscript/issues/167)
633
- - bug in cli that doesn't use `retain-staging-folder` argument properly. [#168](https://github.com/rokucommunity/brighterscript/issues/168)
634
-
635
-
636
-
637
- ## [0.12.3] - 2020-08-03
638
- ### Fixed
639
- - bug in the language server that would provide stale completions due to the file throttling introduced in v0.11.2. Now the language server will wait for the throttled parsing to complete before serving completion results.
640
-
641
-
642
-
643
- ## [0.12.2] - 2020-07-16
644
- ### Added
645
- - Expose `ProgramBuilder.transpile()` method to make it easier for tools to transpile programmatically. [#154](https://github.com/rokucommunity/brighterscript/issues/154)
646
- ### Fixed
647
- - bug on Windows when transpiling BrighterScript import statements into xml script tags that would use the wrong path separator sometimes.
648
-
649
-
650
-
651
- ## [0.12.1] - 2020-07-15
652
- ### Changed
653
- - upgraded to [roku-deploy@3.2.2](https://github.com/rokucommunity/roku-deploy/blob/master/CHANGELOG.md#322---2020-07-14)
654
- ### Fixed
655
- - bug in roku-deploy when when loading `stagingFolderPath` from `rokudeploy.json` or `bsconfig.json` that would crash the language server
656
-
657
-
658
-
659
- ## [0.12.0] - 2020-07-09
660
- ### Added
661
- - `diagnosticLevel` option to limit/control the noise in the console diagnostics
662
- ### Changed
663
- - Move away from `command-line-args` in favor of `yargs` for CLI support
664
- ### Fixed
665
- - Throttle LanguageServer validation to prevent running too many validations in a row.
666
- - Bug in CLI preventing ability to provide false values to certain flags
667
- - Do not print `info` and `hint` diagnostics from the CLI by default.
668
-
669
-
670
-
671
- ## [0.11.2] - 2020-07-09
672
- ### Changed
673
- - add 350ms debounce in LanguageServer `onDidChangeWatchedFiles` to increase performance by reducing the number of times a file is parsed and validated.
674
- ### Fixed
675
- - bug in the log output that wasn't casting string log levels into their numeric enum versions, causing messages to be lost at certain log levels.
676
- - load manifest file exactly one time per program rather than every time a file gets parsed.
677
- - bug in `info` logging that wasn't showing the proper parse times for files on first run.
678
-
679
-
680
-
681
- ## [0.11.1] - 2020-07-07
682
- ### Added
683
- - diagnostic for unknown file reference in import statements ([#139](https://github.com/rokucommunity/brighterscript/pull/139))
684
- ### Changed
685
- - upgraded to [roku-deploy@3.2.1](https://www.npmjs.com/package/roku-deploy/v/3.2.1)
686
- - upgraded to jsonc-parser@2.3.0
687
- - add begin and end template string literal tokens so we can better format and understand the code downstream. ([#138](https://github.com/rokucommunity/brighterscript/pull/138))
688
- ### Fixed
689
- - roku-deploy bug that would fail to load `bsconfig.json` files with comments in them.
690
- - bug in parser that would fail to find function calls in certain situations, killing the rest of the parse.
691
-
692
-
693
-
694
- ## [0.11.0] - 2020-07-06
695
- ### Added
696
- - [Source literals feature](https://github.com/rokucommunity/brighterscript/blob/master/docs/source-literals.md) which adds new literals such as `SOURCE_FILE_PATH`, `SOURCE_LINE_NUM`, `FUNCTION_NAME`, and more. ([#13](https://github.com/rokucommunity/brighterscript/issues/13))
697
- - `sourceRoot` config option to fix sourcemap paths for projects that use a temporary staging folder before calling the BrighterScript compiler. ([#134](https://github.com/rokucommunity/brighterscript/commit/e5b73ca37016d5015a389257fb259573c4721e7a))
698
- - [Template string feature](https://github.com/rokucommunity/brighterscript/blob/master/docs/template-strings.md) which brings template string support to BrighterScript. ([#98](https://github.com/rokucommunity/brighterscript/issues/98))
699
- ### Fixed
700
- - Do not show BS1010 diagnostic `hint`s for the same script imported for parent and child. ([#113](https://github.com/rokucommunity/brighterscript/issues/113))
701
-
702
-
703
-
704
- ## [0.10.11] - 2020-07-05
705
- - Fix bug that would fail to copy files to staging without explicitly specifying `stagingFolderpath`. [#129](https://github.com/rokucommunity/brighterscript/issues/129)
706
-
707
-
708
-
709
- ## [0.10.10] - 2020-06-12
710
- ### Fixed
711
- - include the missing `bslib.brs` file in the npm package which was causing errors during transpile.
712
-
713
-
714
-
715
- ## [0.10.9] 2020-06-12
716
- ### Added
717
- - bslib.brs gets copied to `pkg:/source` and added as an import to every component on transpile.
718
- - several timing logs under the `"info"` log level.
719
- ### Changed
720
- - pipe the language server output to the extension's log window
721
- ### Fixed
722
- - bug with global `val` function signature that did not support the second parameter ([#110](https://github.com/rokucommunity/vscode-brightscript-language/issues/110))
723
- - bug with global 'StrI' function signature that did not support the second parameter.
724
-
725
-
726
-
727
- ## [0.10.8] - 2020-06-09
728
- ### Fixed
729
- - Allow leading spcaes for `bs:disable-line` and `bs:disable-next-line` comments ([#108](https://github.com/rokucommunity/brighterscript/pull/108))
730
-
731
-
732
-
733
- ## [0.10.7] - 2020-06-08
734
- ### Fixed
735
- - bug in cli that was always returning a nonzero error code
736
-
737
-
738
-
739
- ## [0.10.6] - 2020-06-05
740
- ### Fixed
741
- - incorrect definition for global `Left()` function. ([#100](https://github.com/rokucommunity/brighterscript/issues/100))
742
- - missing definition for global `Tab()` and `Pos()` functions ([#101](https://github.com/rokucommunity/brighterscript/issues/101))
743
-
744
-
745
-
746
- ## [0.10.5] - 2020-06-04
747
- ### Changed
748
- - added better logging for certain critical language server crashes
749
-
750
-
751
-
752
- ## [0.10.4] - 2020-05-28
753
- ### Fixed
754
- - bug where assigning a namespaced function to a variable wasn't properly transpiling the dots to underscores (fixes [#91](https://github.com/rokucommunity/brighterscript/issues/91))
755
- - flag parameter with same name as namespace
756
- - flag variable with same name as namespace
757
- - `CreateObject("roRegex")` with third parameter caused compile error ([#95](https://github.com/rokucommunity/brighterscript/issues/95))
758
-
759
-
760
-
761
- ## [0.10.3] - 2020-05-27
762
- ### Changed
763
- - tokenizing a string with no closing quote will now include all of the text until the end of the line.
764
- - language server `TranspileFile` command now waits until the program is finished building before trying to transpile.
765
-
766
-
767
-
768
- ## [0.10.2] - 2020-05-23
769
- ### Added
770
- - language server command `TranspileFile` which will return the transpiled contents of the requested file.
771
- ### Fixed
772
- - quotemarks in string literals were not being properly escaped during transpile ([#89](https://github.com/rokucommunity/brighterscript/issues/89))
773
- - Bug that was only validating calls at top level. Now calls found anywhere in a function are validated
774
-
775
-
776
-
777
- ## [0.10.1] - 2020-05-22
778
- ### Fixed
779
- - transpile bug for compound assignment statements (such as `+=`, `-=`) ([#87](https://github.com/rokucommunity/brighterscript/issues/87))
780
- - transpile bug that was inserting function parameter types before default values ([#88](https://github.com/rokucommunity/brighterscript/issues/88))
781
- - export BsConfig interface from index.ts to make it easier for NodeJS importing.
782
-
783
-
784
-
785
- ## [0.10.0] - 2020-05-19
786
- ### Added
787
- - new callfunc operator.
788
-
789
-
790
-
791
- ## [0.9.8] - 2020-05-16
792
- ### Changed
793
- - the inner event system handling file changes. This should fix several race conditions causing false negatives during CLI runs.
794
- ### Fixed
795
- - some bugs related to import statements not being properly traced.
796
-
797
-
798
-
799
- ## [0.9.7] - 2020-05-14
800
- ### Changed
801
- - TypeScript target to "ES2017" which provides a significant performance boost in lexer (~30%) and parser (~175%)
802
- ### Fixed
803
- - the binary name got accidentally renamed to `bsc2` in release 0.9.6. This release fixes that issue.
804
- - removed some debug logs that were showing up when not using logLevel=debug
805
- - false negative diagnostic when using the `new` keyword as a local variable [#79](https://github.com/rokucommunity/brighterscript/issues/79)
806
-
807
-
808
-
809
- ## [0.9.6] - 2020-05-11
810
- ### Added
811
- - `logLevel` option from the bsconfig.json and command prompt that allows specifying how much detain the logging should contain.
812
- - additional messages during cli run
813
- ### Changed
814
- - don't terminate bsc on warning diagnostics
815
- - removed extraneous log statements from the util module
816
- ### Fixed
817
- - fixed bugs when printing diagnostics to the console that wouldn't show the proper squiggly line location.
818
-
819
-
820
-
821
- ## [0.9.5] - 2020-05-06
822
- ### Added
823
- - new config option called `showDiagnosticsInConsole` which disables printing diagnostics to the console
824
- ### Fixed
825
- - bug in lexer that was capturing the carriage return character (`\n`) at the end of comment statements
826
- - bug in transpiler that wouldn't include a newline after the final comment statement
827
- - bug in LanguageServer that was printing diagnostics to the console when it shouldn't be.
828
-
829
-
830
-
831
- ## [0.9.4] - 2020-05-05
832
- ### Added
833
- - diagnostic for detecting unnecessary script imports when `autoImportComponentScript` is enabled
834
- ### Changed
835
- - filter duplicate dignostics from multiple projects. ([#75](https://github.com/rokucommunity/brighterscript/issues/75))
836
- ### Fixed
837
- - bug that was flagging namespaced functions with the same name as a stdlib function.
838
- - bug that was not properly transpiling brighterscript script tags in xml components.
839
- - several performance issues introduced in v0.8.2.
840
- - Replace `type="text/brighterscript"` with `type="text/brightscript"` in xml script imports during transpile. ([#73](https://github.com/rokucommunity/brighterscript/issues/73))
841
-
842
-
843
-
844
- ## [0.9.3] - 2020-05-04
845
- ### Changed
846
- - do not show BRS1013 for standalone files ([#72](https://github.com/rokucommunity/brighterscript/issues/72))
847
- - BS1011 (same name as global function) is no longer shown for local variables that are not of type `function` ([#70](https://github.com/rokucommunity/brighterscript/issues/70))
848
- ### Fixed
849
- - issue that prevented certain keywords from being used as function parameter names ([#69](https://github.com/rokucommunity/brighterscript/issues/69))
850
-
851
-
852
-
853
- ## [0.9.2] - 2020-05-02
854
- ### Changed
855
- - intellisense anywhere other than next to a dot now includes keywords (#67)
856
-
857
- ### Fixed
858
- - bug in the lexer that was not treating `constructor` as an identifier (#66)
859
- - bug when printing diagnostics that would sometimes fail to find the line in question (#68)
860
- - bug in scopes that were setting isValidated=false at the end of the `validate()` call instead of true
861
-
862
-
863
-
864
- ## [0.9.1] - 2020-05-01
865
- ### Fixed
866
- - bug with upper-case two-word conditional compile tokens (`#ELSE IF` and `#END IF`) (#63)
867
-
868
-
869
-
870
- ## [0.9.0] - 2020-05-01
871
- ### Added
872
- - new compile flag `autoImportComponentScript` which will automatically import a script for a component with the same name if it exists.
873
-
874
-
875
-
876
- ## [0.8.2] - 2020-04-29
877
- ### Fixed
878
- - bugs in namespace transpilation
879
- - bugs in class transpilation
880
- - transpiled examples for namespace and class docs
881
- - bugs in class property initialization
882
-
883
-
884
-
885
- ## [0.8.1] - 2020-04-27
886
- ### Fixed
887
- - Bug where class property initializers would cause parse error
888
- - better parse recovery for incomplete class members
889
-
890
-
891
-
892
- ## [0.8.0] - 2020-04-26
893
- ### Added
894
- - new `import` syntax for BrighterScript projects.
895
- - experimental transpile support for xml files (converts `.bs` extensions to `.brs`, auto-appends the `import` statments to each xml component)
896
- ### Changed
897
- - upgraded to vscode-languageserver@6.1.1
898
-
899
-
900
- ## [0.7.2] - 2020-04-24
901
- ### Fixed
902
- - runtime bug in the language server when validating incomplete class statements
903
-
904
-
905
-
906
- ## [0.7.1] - 2020-04-23
907
- ### Fixed
908
- - dependency issue: `glob` is required but was not listed as a dependency
909
-
910
-
911
-
912
- ## [0.7.0] - 2020-04-23
913
- ### Added
914
- - basic support for namespaces
915
- - experimental parser support for import statements (no transpile yet)
916
- ### Changed
917
- - parser produces TokenKind.Library now instead of an identifier token for library.
918
-
919
-
920
-
921
- ## [0.6.0] 2020-04-15
922
- ### Added
923
- - ability to filter out diagnostics by using the `diagnosticFilters` option in bsconfig
924
- ### Changed
925
- - deprecated the `ignoreErrorCodes` in favor of `diagnosticFilters`
926
- ### Fixed
927
- - Bug in the language server that wasn't reloading the project when changing the `bsconfig.json`
928
-
929
-
930
-
931
- ## [0.5.4] 2020-04-13
932
- ### Fixed
933
- - Syntax bug that wasn't allowing period before indexed get expression (example: `prop.["key"]`) (#58)
934
- - Syntax bug preventing comments from being used in various locations within a class
935
-
936
-
937
-
938
- ## [0.5.3] - 2020-04-12
939
- ### Added
940
- - syntax support for the xml attribute operator (`node@someAttr`) (#34)
941
- - syntax support for bitshift operators (`<<` and `>>`) (#50)
942
- - several extra validation checks for class statements
943
- ### Fixed
944
- - syntax bug that was showing parse errors for known global method names (such as `string()`) (#49)
945
-
946
-
947
-
948
- ## [0.5.2] - 2020-04-11
949
- ### Changed
950
- - downgrade diagnostic issue 1007 from an error to a warning, and updated the message to "Component is mising "extends" attribute and will automatically extend "Group" by default" (#53)
951
- ### Fixed
952
- - Prevent xml files found outside of the `pkg:/components` folder from being parsed and validated. (#51)
953
- - allow empty `elseif` and `else` blocks. (#48)
954
-
955
-
956
-
957
- ## [0.5.1] - 2020-04-10
958
- ### Changed
959
- - upgraded to [roku-deploy@3.0.2](https://www.npmjs.com/package/roku-debug/v/0.3.4) which fixed a file copy bug in subdirectories of symlinked folders (fixes #41)
960
-
961
-
962
-
963
- ## [0.5.0] - 2020-04-10
964
- ### Added
965
- - several new diagnostics for conditional compiles. Some of them allow the parser to recover and continue.
966
- - experimental class transpile support. There is still no intellisense for classes yet though.
967
- ### Changed
968
- - All errors are now stored as vscode-languageserver `Diagnostic` objects instead of a custom error structure.
969
- - Token, AST node, and diagnostic locations are now stored as `Range` objects, which use zero-based lines instead of the previous one-based line numbers.
970
- - All parser diagnostics have been broken out into their own error codes, removing the use of error code 1000 for a generic catch-all. That code still exists and will hold runtime errors from the parser.
971
- ### Fixed
972
- - bug in parser that was flagging the new class keywords (`new`, `class`, `public`, `protected`, `private`, `override`) as parse errors. These are now allowed as both local variables and property names.
973
-
974
-
975
-
976
- ## [0.4.4] - 2020-04-04
977
- ### Fixed
978
- - bug in the ProgramBuilder that would terminate the program on first run if an error diagnostic was found, even when in watch mode.
979
-
980
-
981
-
982
- ## [0.4.3] - 2020-04-03
983
- ### Changed
984
- - the `bsc` cli now emits a nonzero return code whenever parse errors are encountered, which allows tools to detect compile-time errors. (#43)
985
-
986
-
987
-
988
- ## [0.4.2] - 2020-04-01
989
- ### Changed
990
- - upgraded to [roku-deploy@3.0.0](https://www.npmjs.com/package/roku-deploy/v/3.0.0)
991
-
992
-
993
-
994
- ## [0.4.1] - 2020-01-11
995
- ### Changed
996
- - upgraded to [roku-deploy@3.0.0-beta.7](https://www.npmjs.com/package/roku-deploy/v/3.0.0-beta.7) which fixed a critical bug during pkg creation.
997
-
998
-
999
-
1000
- ## [0.4.0] - 2020-01-07
1001
- ### Added
1002
- - ability to specify the pkgPath of a file when adding to the project.
1003
- ### Changed
1004
- - upgraded to [roku-deploy@3.0.0-beta.6](https://www.npmjs.com/package/roku-deploy/v/3.0.0-beta.6)
1005
- ### Fixed
1006
- - bug that was showing duplicate function warnings when multiple files target the same `pkgPath`. Now roku-deploy will only keep the last referenced file for each `pkgPath`
1007
- - reduced memory consumtion and FS calls during file watcher events
1008
- - issue in getFileByPkgPath related to path separator mismatches
1009
- - bugs related to standalone workspaces causing issues for other workspaces.
1010
-
1011
-
1012
-
1013
- ## [0.3.1] - 2019-11-08
1014
- ### Fixed
1015
- - language server bug that was showing error messages in certain startup race conditions.
1016
- - error during hover caused by race condition during file re-parse.
1017
-
1018
-
1019
-
1020
- ## [0.3.0] - 2019-10-03
1021
- ### Added
1022
- - support for parsing opened files not included in any project.
1023
- ### Fixed
1024
- - parser bug that was preventing comments as their own lines inside associative array literals. ([#29](https://github.com/rokucommunity/brighterscript/issues/28))
1025
-
1026
-
1027
-
1028
- ## [0.2.2] - 2019-09-27
1029
- ### Fixed
1030
- - bug in language server where the server would crash when sending a diagnostic too early. Now the server waits for the program to load before sending diagnostics.
1031
-
1032
-
1033
-
1034
- ## [0.2.1] - 2019-09-24
1035
- ### Changed
1036
- - the text for diagnostic 1010 to say "override" instead of "shadows"
1037
- ### Fixed
1038
- - crash when parsing the workspace path to read the config on startup.
1039
- - auto complete options not always returning results when it should.
1040
- - windows bug relating to the drive letter being different, and so then not matching the file list.
1041
- - many bugs related to mismatched file path comparisons.
1042
-
1043
-
1044
-
1045
- ## [0.2.0] - 2019-09-20
1046
- ### Added
1047
- - bsconfig.json validation
1048
- - slightly smarter intellisense that knows when you're trying to complete an object property.
1049
- - diagnostic for deprecated brsconfig.json
1050
- - basic transpile support including sourcemaps. Most lines also support transpiling including comments, but there may still be bugs
1051
- - parser now includes all comments as tokens in the AST.
1052
-
1053
- ### Fixed
1054
- - bugs in the languageserver intellisense
1055
- - parser bug that would fail when a line ended with a period
1056
- - prevent intellisense when typing inside a comment
1057
- - Bug during file creation that wouldn't recognize the file
1058
-
1059
-
1060
- ## [0.1.0] - 2019-08-10
1061
- ### Changed
1062
- - Cloned from [brightscript-language](https://github.com/rokucommunity/brightscript-language)
1063
-
1064
-
1065
- [0.1.0]: https://github.com/rokucommunity/brighterscript/compare/v0.1.0...v0.1.0
1066
- [0.2.0]: https://github.com/rokucommunity/brighterscript/compare/v0.1.0...v0.2.0
1067
- [0.2.1]: https://github.com/rokucommunity/brighterscript/compare/v0.2.0...v0.2.1
1068
- [0.2.2]: https://github.com/rokucommunity/brighterscript/compare/v0.2.1...v0.2.2
1069
- [0.3.0]: https://github.com/rokucommunity/brighterscript/compare/v0.2.2...v0.3.0
1070
- [0.3.1]: https://github.com/rokucommunity/brighterscript/compare/v0.3.0...v0.3.1
1071
- [0.4.0]: https://github.com/rokucommunity/brighterscript/compare/v0.3.1...v0.4.0
1072
- [0.4.1]: https://github.com/rokucommunity/brighterscript/compare/v0.4.0...v0.4.1
1073
- [0.4.2]: https://github.com/rokucommunity/brighterscript/compare/v0.4.1...v0.4.2
1074
- [0.4.3]: https://github.com/rokucommunity/brighterscript/compare/v0.4.2...v0.4.3
1075
- [0.4.4]: https://github.com/rokucommunity/brighterscript/compare/v0.4.3...v0.4.4
1076
- [0.5.0]: https://github.com/rokucommunity/brighterscript/compare/v0.4.4...v0.5.0
1077
- [0.5.1]: https://github.com/rokucommunity/brighterscript/compare/v0.5.0...v0.5.1
1078
- [0.5.2]: https://github.com/rokucommunity/brighterscript/compare/v0.5.1...v0.5.2
1079
- [0.5.3]: https://github.com/rokucommunity/brighterscript/compare/v0.5.2...v0.5.3
1080
- [0.5.4]: https://github.com/rokucommunity/brighterscript/compare/v0.5.3...v0.5.4
1081
- [0.6.0]: https://github.com/rokucommunity/brighterscript/compare/v0.5.4...v0.6.0
1082
- [0.7.0]: https://github.com/rokucommunity/brighterscript/compare/v0.6.0...v0.7.0
1083
- [0.7.1]: https://github.com/rokucommunity/brighterscript/compare/v0.7.0...v0.7.1
1084
- [0.7.2]: https://github.com/rokucommunity/brighterscript/compare/v0.7.1...v0.7.2
1085
- [0.8.0]: https://github.com/rokucommunity/brighterscript/compare/v0.7.2...v0.8.0
1086
- [0.8.1]: https://github.com/rokucommunity/brighterscript/compare/v0.8.0...v0.8.1
1087
- [0.8.2]: https://github.com/rokucommunity/brighterscript/compare/v0.8.1...v0.8.2
1088
- [0.9.0]: https://github.com/rokucommunity/brighterscript/compare/v0.8.2...v0.9.0
1089
- [0.9.1]: https://github.com/rokucommunity/brighterscript/compare/v0.9.0...v0.9.1
1090
- [0.9.2]: https://github.com/rokucommunity/brighterscript/compare/v0.9.1...v0.9.2
1091
- [0.9.3]: https://github.com/rokucommunity/brighterscript/compare/v0.9.2...v0.9.3
1092
- [0.9.4]: https://github.com/rokucommunity/brighterscript/compare/v0.9.3...v0.9.4
1093
- [0.9.5]: https://github.com/rokucommunity/brighterscript/compare/v0.9.4...v0.9.5
1094
- [0.9.6]: https://github.com/rokucommunity/brighterscript/compare/v0.9.5...v0.9.6
1095
- [0.9.7]: https://github.com/rokucommunity/brighterscript/compare/v0.9.6...v0.9.7
1096
- [0.9.8]: https://github.com/rokucommunity/brighterscript/compare/v0.9.7...v0.9.8
1097
- [0.10.0]: https://github.com/rokucommunity/brighterscript/compare/v0.9.8...v0.10.0
1098
- [0.10.1]: https://github.com/rokucommunity/brighterscript/compare/v0.10.0...v0.10.1
1099
- [0.10.2]: https://github.com/rokucommunity/brighterscript/compare/v0.10.1...v0.10.2
1100
- [0.10.3]: https://github.com/rokucommunity/brighterscript/compare/v0.10.2...v0.10.3
1101
- [0.10.4]: https://github.com/rokucommunity/brighterscript/compare/v0.10.3...v0.10.4
1102
- [0.10.5]: https://github.com/rokucommunity/brighterscript/compare/v0.10.4...v0.10.5
1103
- [0.10.6]: https://github.com/rokucommunity/brighterscript/compare/v0.10.5...v0.10.6
1104
- [0.10.7]: https://github.com/rokucommunity/brighterscript/compare/v0.10.6...v0.10.7
1105
- [0.10.8]: https://github.com/rokucommunity/brighterscript/compare/v0.10.7...v0.10.8
1106
- [0.10.9]: https://github.com/rokucommunity/brighterscript/compare/v0.10.8...v0.10.9
1107
- [0.10.10]: https://github.com/rokucommunity/brighterscript/compare/v0.10.9...v0.10.10
1108
- [0.11.0]: https://github.com/rokucommunity/brighterscript/compare/v0.10.10...v0.11.0
1109
- [0.11.1]: https://github.com/rokucommunity/brighterscript/compare/v0.11.0...v0.11.1
1110
- [0.11.2]: https://github.com/rokucommunity/brighterscript/compare/v0.11.1...v0.11.2
1111
- [0.11.3]: https://github.com/rokucommunity/brighterscript/compare/v0.11.2...v0.11.3
1112
- [0.12.0]: https://github.com/rokucommunity/brighterscript/compare/v0.11.3...v0.12.0
1113
- [0.12.1]: https://github.com/rokucommunity/brighterscript/compare/v0.12.0...v0.12.1
1114
- [0.12.2]: https://github.com/rokucommunity/brighterscript/compare/v0.12.1...v0.12.2
1115
- [0.12.3]: https://github.com/rokucommunity/brighterscript/compare/v0.12.2...v0.12.3
1116
- [0.12.4]: https://github.com/rokucommunity/brighterscript/compare/v0.12.3...v0.12.4
1117
- [0.13.0]: https://github.com/rokucommunity/brighterscript/compare/v0.12.4...v0.13.0
1118
- [0.13.1]: https://github.com/rokucommunity/brighterscript/compare/v0.13.0...v0.13.1
1119
- [0.13.2]: https://github.com/rokucommunity/brighterscript/compare/v0.13.1...v0.13.2
1120
- [0.14.0]: https://github.com/rokucommunity/brighterscript/compare/v0.13.2...v0.14.0
1121
- [0.15.0]: https://github.com/rokucommunity/brighterscript/compare/v0.14.0...v0.15.0
1122
- [0.15.1]: https://github.com/rokucommunity/brighterscript/compare/v0.15.0...v0.15.1
1123
- [0.15.2]: https://github.com/rokucommunity/brighterscript/compare/v0.15.1...v0.15.2
1124
- [0.16.0]: https://github.com/rokucommunity/brighterscript/compare/v0.15.2...v0.16.0
1125
- [0.16.1]: https://github.com/rokucommunity/brighterscript/compare/v0.16.0...v0.16.1
1126
- [0.16.2]: https://github.com/rokucommunity/brighterscript/compare/v0.16.1...v0.16.2
1127
- [0.16.3]: https://github.com/rokucommunity/brighterscript/compare/v0.16.2...v0.16.3
1128
- [0.16.4]: https://github.com/rokucommunity/brighterscript/compare/v0.16.3...v0.16.4
1129
- [0.16.5]: https://github.com/rokucommunity/brighterscript/compare/v0.16.4...v0.16.5
1130
- [0.16.6]: https://github.com/rokucommunity/brighterscript/compare/v0.16.5...v0.16.6
1131
- [0.16.7]: https://github.com/rokucommunity/brighterscript/compare/v0.16.6...v0.16.7
1132
- [0.16.8]: https://github.com/rokucommunity/brighterscript/compare/v0.16.7...v0.16.8
1133
- [0.16.9]: https://github.com/rokucommunity/brighterscript/compare/v0.16.8...v0.16.9
1134
- [0.16.10]: https://github.com/rokucommunity/brighterscript/compare/v0.16.9...v0.16.10
1135
- [0.16.11]: https://github.com/rokucommunity/brighterscript/compare/v0.16.10...v0.16.11
1136
- [0.16.12]: https://github.com/rokucommunity/brighterscript/compare/v0.16.11...v0.16.12
1137
- [0.17.0]: https://github.com/rokucommunity/brighterscript/compare/v0.16.12...v0.17.0
1138
- [0.18.0]: https://github.com/rokucommunity/brighterscript/compare/v0.17.0...v0.18.0
1139
- [0.18.1]: https://github.com/rokucommunity/brighterscript/compare/v0.18.0...v0.18.1
1140
- [0.18.2]: https://github.com/rokucommunity/brighterscript/compare/v0.18.1...v0.18.2
1141
- [0.19.0]: https://github.com/rokucommunity/brighterscript/compare/v0.18.2...v0.19.0
1142
- [0.20.0]: https://github.com/rokucommunity/brighterscript/compare/v0.19.0...v0.20.0
1143
- [0.20.1]: https://github.com/rokucommunity/brighterscript/compare/v0.20.0...v0.20.1
1144
- [0.21.0]: https://github.com/rokucommunity/brighterscript/compare/v0.20.1...v0.21.0
1145
- [0.22.0]: https://github.com/rokucommunity/brighterscript/compare/v0.21.0...v0.22.0
1146
- [0.22.1]: https://github.com/rokucommunity/brighterscript/compare/v0.22.0...v0.22.1
1147
- [0.22.1]: https://github.com/rokucommunity/brighterscript/compare/v0.22.0...v0.22.1
1148
- [0.23.0]: https://github.com/rokucommunity/brighterscript/compare/v0.22.1...v0.23.0
1149
- [0.23.1]: https://github.com/rokucommunity/brighterscript/compare/v0.23.0...v0.23.1
1150
- [0.23.2]: https://github.com/rokucommunity/brighterscript/compare/v0.23.1...v0.23.2
1151
- [0.24.0]: https://github.com/rokucommunity/brighterscript/compare/v0.23.2...v0.24.0
1152
- [0.24.1]: https://github.com/rokucommunity/brighterscript/compare/v0.24.0...v0.24.1
1153
- [0.24.2]: https://github.com/rokucommunity/brighterscript/compare/v0.24.1...v0.24.2
1154
- [0.25.0]: https://github.com/rokucommunity/brighterscript/compare/v0.24.2...v0.25.0
1155
- [0.26.0]: https://github.com/rokucommunity/brighterscript/compare/v0.25.0...v0.26.0
1156
- [0.27.0]: https://github.com/rokucommunity/brighterscript/compare/v0.26.0...v0.27.0
1157
- [0.28.0]: https://github.com/rokucommunity/brighterscript/compare/v0.27.0...v0.28.0
1158
- [0.28.1]: https://github.com/rokucommunity/brighterscript/compare/v0.28.0...v0.28.1
1159
- [0.28.2]: https://github.com/rokucommunity/brighterscript/compare/v0.28.1...v0.28.2
1160
- [0.29.0]: https://github.com/rokucommunity/brighterscript/compare/v0.28.2...v0.29.0
1161
- [0.30.0]: https://github.com/rokucommunity/brighterscript/compare/v0.29.0...v0.30.0
1162
- [0.30.1]: https://github.com/rokucommunity/brighterscript/compare/v0.30.0...v0.30.1
1163
- [0.30.2]: https://github.com/rokucommunity/brighterscript/compare/v0.30.1...v0.30.2
1164
- [0.30.3]: https://github.com/rokucommunity/brighterscript/compare/v0.30.2...v0.30.3
1165
- [0.30.4]: https://github.com/rokucommunity/brighterscript/compare/v0.30.3...v0.30.4
1166
- [0.30.5]: https://github.com/rokucommunity/brighterscript/compare/v0.30.4...v0.30.5
1167
- [0.30.6]: https://github.com/rokucommunity/brighterscript/compare/v0.30.5...v0.30.6
1168
- [0.30.7]: https://github.com/rokucommunity/brighterscript/compare/v0.30.6...v0.30.7
1169
- [0.30.8]: https://github.com/rokucommunity/brighterscript/compare/v0.30.7...v0.30.8
1170
- [0.30.9]: https://github.com/rokucommunity/brighterscript/compare/v0.30.8...v0.30.9
1171
- [0.31.0]: https://github.com/rokucommunity/brighterscript/compare/v0.30.9...v0.31.0
1172
- [0.31.1]: https://github.com/rokucommunity/brighterscript/compare/v0.31.0...v0.31.1
1173
- [0.31.2]: https://github.com/rokucommunity/brighterscript/compare/v0.31.1...v0.31.2
1174
- [0.32.2]: https://github.com/rokucommunity/brighterscript/compare/v0.31.2...v0.32.2
1175
- [0.32.3]: https://github.com/rokucommunity/brighterscript/compare/v0.32.2...v0.32.3
1176
- [0.33.0]: https://github.com/rokucommunity/brighterscript/compare/v0.32.3...v0.33.0
1177
- [0.34.0]: https://github.com/rokucommunity/brighterscript/compare/v0.33.0...v0.34.0
1178
- [0.34.1]: https://github.com/rokucommunity/brighterscript/compare/v0.34.0...v0.34.1
1179
- [0.34.2]: https://github.com/rokucommunity/brighterscript/compare/v0.34.1...v0.34.2
1180
- [0.34.3]: https://github.com/rokucommunity/brighterscript/compare/v0.34.2...v0.34.3
1181
- [0.35.0]: https://github.com/rokucommunity/brighterscript/compare/v0.34.3...v0.35.0
1182
- [0.36.0]: https://github.com/rokucommunity/brighterscript/compare/v0.35.0...v0.36.0
1183
- [0.37.0]: https://github.com/rokucommunity/brighterscript/compare/v0.36.0...v0.37.0
1184
- [0.37.1]: https://github.com/rokucommunity/brighterscript/compare/v0.37.0...v0.37.1
1185
- [0.37.2]: https://github.com/rokucommunity/brighterscript/compare/v0.37.1...v0.37.2
1186
- [0.37.3]: https://github.com/rokucommunity/brighterscript/compare/v0.37.2...v0.37.3
1187
- [0.37.4]: https://github.com/rokucommunity/brighterscript/compare/v0.37.3...v0.37.4
1188
- [0.38.0]: https://github.com/rokucommunity/brighterscript/compare/v0.37.4...v0.38.0