Commit fff81ee
authored
node: support for useful properties accessor (#27)
Add support for parent (node) access from a given node. If node is root,
returning oneself.
Add support for node address or identifier (id field) when using such a
definition:
```dts
label: name@id {
};
```
id can be an address or an identifier.1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
35 | 43 | | |
36 | 44 | | |
37 | 45 | | |
| |||
0 commit comments