mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-08-15 06:19:24 +02:00
Parser implementation step 1.5, not complete
This commit is contained in:
@@ -13,14 +13,11 @@ statement {
|
||||
DEFAULT |
|
||||
INTERPOLATE |
|
||||
HREF |
|
||||
|
||||
LINK_TARGET |
|
||||
NODE_STRING |
|
||||
STR |
|
||||
LINK |
|
||||
PIPE |
|
||||
SEMI |
|
||||
AMP |
|
||||
Hyphen |
|
||||
At |
|
||||
SquareStart | SquareEnd |
|
||||
@@ -33,7 +30,13 @@ statement {
|
||||
StadiumStart | StadiumEnd |
|
||||
TrapStart | TrapEnd |
|
||||
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 }
|
||||
|
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user