summaryrefslogtreecommitdiffstats
path: root/src/CodeParser/CodeParser.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/CodeParser/CodeParser.ts')
-rw-r--r--src/CodeParser/CodeParser.ts10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/CodeParser/CodeParser.ts b/src/CodeParser/CodeParser.ts
new file mode 100644
index 0000000..5d0d0bf
--- /dev/null
+++ b/src/CodeParser/CodeParser.ts
@@ -0,0 +1,10 @@
+import { Position, TextDocumentContentChangeEvent, TextEditor } from "vscode";
+
+export default interface ICodeParser {
+
+ /**
+ * @param {TextEditor} activeEditor The open active Editor where the event came from
+ * @param {TextDocumentContentChangeEvent} event Something in the document changed
+ */
+ Parse(activeEditor: TextEditor, event: TextDocumentContentChangeEvent);
+}