create Root node

This commit is contained in:
z7zmey
2018-05-02 12:14:24 +03:00
parent d1b0cebf9a
commit 2abe1dfb84
82 changed files with 363 additions and 309 deletions

View File

@@ -39,7 +39,7 @@ func ExampleDumper() {
nodes.Walk(dumper)
// Unordered output:
//| [*stmt.StmtList]
//| [*node.Root]
//| "Position": Pos{Line: 3-11 Pos: 10-143};
//| "Stmts":
//| [*stmt.Namespace]