Replace DataNode and IdNode with PathNode
This is a breaking change for string mode users as there is no longer a distinct type for data parameters. Instead data consumers should look for the @ prefix value.
This commit is contained in:
+2
-2
@@ -114,11 +114,11 @@ helperName
|
||||
;
|
||||
|
||||
dataName
|
||||
: DATA path -> new yy.DataNode($2, yy.locInfo(@$))
|
||||
: DATA pathSegments -> new yy.PathNode(true, $2, yy.locInfo(@$))
|
||||
;
|
||||
|
||||
path
|
||||
: pathSegments -> new yy.IdNode($1, yy.locInfo(@$))
|
||||
: pathSegments -> new yy.PathNode(false, $1, yy.locInfo(@$))
|
||||
;
|
||||
|
||||
pathSegments
|
||||
|
||||
Reference in New Issue
Block a user