summaryrefslogtreecommitdiffstats
path: root/src/CodeParser/CParser/CppParser.ts
diff options
context:
space:
mode:
authorRowan Goemans <RB.Goemans@student.han.nl>2017-10-30 01:46:33 +0100
committerChristoph Schlosser <christophschlosser@users.noreply.github.com>2017-11-05 18:45:08 +0100
commit666f392bd23574f57689e9a9ea6d6a05a9bd2f97 (patch)
treedcad101896db2e2e0867168bd233c97711920a0c /src/CodeParser/CParser/CppParser.ts
parentd2bda50f26bffd6a56574188704d9df50fecabf8 (diff)
downloaddoxdocgen-666f392bd23574f57689e9a9ea6d6a05a9bd2f97.tar.gz
-- Completely rewritten parser to support all known(to me) C++ constructs, this includes:
- Function pointers as parameters and as returns. - Template support. - Trailing return type. - Variadic templates. - Variadic parametes, C style and template style. - Correct parsing of template types with more then 1 template parameter.
Diffstat (limited to 'src/CodeParser/CParser/CppParser.ts')
-rw-r--r--src/CodeParser/CParser/CppParser.ts16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/CodeParser/CParser/CppParser.ts b/src/CodeParser/CParser/CppParser.ts
new file mode 100644
index 0000000..b3279c6
--- /dev/null
+++ b/src/CodeParser/CParser/CppParser.ts
@@ -0,0 +1,16 @@
+import { Position, TextDocumentContentChangeEvent, TextEditor, TextLine } from "vscode";
+import Generator from "../../DocGen/CGen";
+import { IDocGen } from "../../DocGen/DocGen";
+import CParser from "./CParser";
+
+/**
+ *
+ * Parses C++ code for methods and signatures
+ *
+ * @export
+ * @class CppParser
+ * @implements {ICodeParser}
+ */
+export default class CppParser extends CParser {
+ // For now C++ is the same as C
+}