From f53768612b1e2268697b5444e502032ef9f3fb3c Mon Sep 17 00:00:00 2001 From: Nate Sesti Date: Tue, 23 May 2023 23:45:12 -0400 Subject: copying from old repo --- extension/src/languages/javascript/index.ts | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 extension/src/languages/javascript/index.ts (limited to 'extension/src/languages/javascript') diff --git a/extension/src/languages/javascript/index.ts b/extension/src/languages/javascript/index.ts new file mode 100644 index 00000000..1c21a2fc --- /dev/null +++ b/extension/src/languages/javascript/index.ts @@ -0,0 +1,16 @@ +import { LanguageLibrary } from "../index.d"; +import { notImplemented } from "../notImplemented"; + +const NI = (propertyName: string) => notImplemented(propertyName, "javascript"); + +const javascriptLangaugeLibrary: LanguageLibrary = { + language: "javascript", + fileExtensions: [".js", ".jsx", ".ts", ".tsx"], + parseFirstStacktrace: NI("parseFirstStacktrace"), + lineIsFunctionDef: NI("lineIsFunctionDef"), + parseFunctionDefForName: NI("parseFunctionDefForName"), + lineIsComment: NI("lineIsComment"), + writeImport: NI("writeImport"), +}; + +export default javascriptLangaugeLibrary; -- cgit v1.2.3-70-g09d2