Menu

- Learn
- Documentation
  - Language Reference
  - Library Reference
  - Command-line Reference
  - Feature Overview
  - Articles
- Packages
- Community
  - Blog
  - Orgs using D
  - Twitter
  - Forums
  - IRC
  - Wiki
  - GitHub
  - Issues
  - Foundation
  - Donate
- Resources
  - Books
  - Tutorials
  - Tools
  - Editors
  - IDEs
  - Visual D
  - Acknowledgments
  - D Style
  - Glossary
  - Sitemap

Search
Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page. Requires a signed-in GitHub account. This works well for small changes. If you'd like to make larger changes you may want to consider using a local clone.

# ddmd.init

Compiler implementation of the D programming language.
Authors:
Walter Bright
License:
Boost License 1.0

Source: init.d

abstract class `Initializer`: ddmd.root.rootobject.RootObject;
class `VoidInitializer`: ddmd.init.Initializer;
class `ErrorInitializer`: ddmd.init.Initializer;
class `StructInitializer`: ddmd.init.Initializer;
  Expression `toExpression`(Type `t` = null);
    This works by transforming a struct initializer into a struct literal. In the future, the two should be the same thing.
class `ArrayInitializer`: ddmd.init.Initializer;
  Expression `toExpression`(Type `tx` = null);
    If possible, convert array initializer to array literal. Otherwise return NULL.
  Expression `toAssocArrayLiteral`();
    If possible, convert array initializer to associative array initializer.
class `ExpInitializer`: ddmd.init.Initializer;

Copyright © 1999-2017 by the D Language Foundation | Page generated by Ddoc on Thu Aug 10 17:50:59 2017