Initial commit for classDiagram v2

This commit is contained in:
Ashish Jain
2020-06-24 19:34:12 +02:00
parent e13662dd2c
commit 85d4f2843e
6 changed files with 592 additions and 1 deletions

View File

@@ -12,6 +12,7 @@
\%\%[^\n]*\n* /* do nothing */
\n+ return 'NEWLINE';
\s+ /* skip whitespace */
"classDiagram-v2" return 'CLASS_DIAGRAM';
"classDiagram" return 'CLASS_DIAGRAM';
[\{] { this.begin("struct"); /*console.log('Starting struct');*/return 'STRUCT_START';}
<struct><<EOF>> return "EOF_IN_STRUCT";