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:
kpdecker
2014-11-26 20:35:33 -06:00
parent 697bbe59ca
commit 5c921cafeb
11 changed files with 103 additions and 124 deletions
+2 -2
View File
@@ -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