diff options
| author | Christoph Schlosser <christoph@linux.com> | 2018-10-20 14:57:16 +0200 |
|---|---|---|
| committer | Christoph Schlosser <christoph@linux.com> | 2018-10-20 14:57:16 +0200 |
| commit | 049502aa73c7d43627b9856219b18bf0da98a255 (patch) | |
| tree | 87148438d5580b6580964f77eacf2a29cf14debe /src/CodeParserController.ts | |
| parent | c0df4b403b3d760f9a9bd72d0da4967858bc4c53 (diff) | |
| download | doxdocgen-049502aa73c7d43627b9856219b18bf0da98a255.tar.gz | |
Add basic Python files
Diffstat (limited to 'src/CodeParserController.ts')
| -rw-r--r-- | src/CodeParserController.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/CodeParserController.ts b/src/CodeParserController.ts index 8be7034..1dfc5c4 100644 --- a/src/CodeParserController.ts +++ b/src/CodeParserController.ts @@ -11,6 +11,8 @@ import { import CodeParser from "./Common/ICodeParser"; import { Config } from "./Config"; import CppParser from "./Lang/Cpp/CppParser"; +import PythonParser from "./Lang/Python/PythonParser"; + /** * * Checks if the event matches the specified guidelines and if a parser exists for this language @@ -116,6 +118,9 @@ export default class CodeParserController { case "cpp": parser = new CppParser(this.cfg); break; + case "python": + parser = new PythonParser(this.cfg); + break; default: // tslint:disable-next-line:no-console console.log("No comments can be generated for language: " + lang); |