mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-12-18 18:27:28 +01:00
Parser implementation step 1.5, not complete
This commit is contained in:
@@ -13,14 +13,11 @@ statement {
|
|||||||
DEFAULT |
|
DEFAULT |
|
||||||
INTERPOLATE |
|
INTERPOLATE |
|
||||||
HREF |
|
HREF |
|
||||||
|
|
||||||
LINK_TARGET |
|
LINK_TARGET |
|
||||||
NODE_STRING |
|
|
||||||
STR |
|
STR |
|
||||||
LINK |
|
LINK |
|
||||||
PIPE |
|
PIPE |
|
||||||
SEMI |
|
SEMI |
|
||||||
AMP |
|
|
||||||
Hyphen |
|
Hyphen |
|
||||||
At |
|
At |
|
||||||
SquareStart | SquareEnd |
|
SquareStart | SquareEnd |
|
||||||
@@ -33,7 +30,13 @@ statement {
|
|||||||
StadiumStart | StadiumEnd |
|
StadiumStart | StadiumEnd |
|
||||||
TrapStart | TrapEnd |
|
TrapStart | TrapEnd |
|
||||||
InvTrapStart | InvTrapEnd |
|
InvTrapStart | InvTrapEnd |
|
||||||
newline
|
newline |
|
||||||
|
// Vertex patterns - more specific to avoid conflicts
|
||||||
|
NODE_STRING AMP NODE_STRING |
|
||||||
|
NODE_STRING AMP NODE_STRING LINK NODE_STRING |
|
||||||
|
NODE_STRING LINK NODE_STRING AMP NODE_STRING |
|
||||||
|
NODE_STRING LINK NODE_STRING LINK NODE_STRING |
|
||||||
|
NODE_STRING
|
||||||
}
|
}
|
||||||
|
|
||||||
GRAPH { graphKeyword }
|
GRAPH { graphKeyword }
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user