/parsing/d/nodes.d
http://github.com/wilkie/djehuty · D · 18 lines · 7 code · 2 blank · 9 comment · 0 complexity · 3da0c4c65e0d106ae7e021a8ea50106c MD5 · raw file
- /*
- * nodes.d
- *
- * This module lists the possible parse tree nodes for the D parser.
- *
- * Author: Dave Wilkinson
- * Originated: February 6th 2010
- *
- */
- module parsing.d.nodes;
- enum DNode : uint {
- Module, // module bleh.foo; => ModuleName
- Import, // import bleh.foo; => ModuleName
- ModuleName, // "foo.foo"
- Block, // { ... }
- }