/parsing/d/nodes.d

http://github.com/wilkie/djehuty · D · 18 lines · 7 code · 2 blank · 9 comment · 0 complexity · 3da0c4c65e0d106ae7e021a8ea50106c MD5 · raw file

  1. /*
  2. * nodes.d
  3. *
  4. * This module lists the possible parse tree nodes for the D parser.
  5. *
  6. * Author: Dave Wilkinson
  7. * Originated: February 6th 2010
  8. *
  9. */
  10. module parsing.d.nodes;
  11. enum DNode : uint {
  12. Module, // module bleh.foo; => ModuleName
  13. Import, // import bleh.foo; => ModuleName
  14. ModuleName, // "foo.foo"
  15. Block, // { ... }
  16. }