Menu

- Learn
- Documentation
  - Language Reference
  - Library Reference
  - Command-line Reference
  - Feature Overview
  - Articles
- Downloads
- Packages
- Community
  - Blog
  - Orgs using D
  - Twitter
  - Calendar
  - Forums
  - IRC
  - Community Discord
  - Wiki
  - GitHub
  - Issues
  - Get involved
  - Contributors
  - Foundation
  - Security Team
  - Donate
  - Sponsors
- Resources
  - Tour
  - Books
  - Tutorials
  - Tools
  - Editors
  - IDEs
  - run.dlang.io
  - 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.

# dmd.templateparamsem

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

Source templateparamsem.d

Documentation https://dlang.org/phobos/dmd_templateparamsem.html

Coverage https://codecov.io/gh/dlang/dmd/src/master/src/dmd/templateparamsem.d

bool `tpsemantic`(TemplateParameter `tp`, Scope* `sc`, TemplateParameters* `parameters`);
  Performs semantic on TemplateParameter AST nodes.
  Parameters:

  TemplateParameter `tp` | element of `parameters` to be semantically analyzed
  Scope* `sc` | context
  TemplateParameters* `parameters` | array of TemplateParameters supplied to the TemplateDeclaration

  Returns:
  true if no errors
RootObject `aliasParameterSemantic`(Loc `loc`, Scope* `sc`, RootObject `o`, TemplateParameters* `parameters`);
  Support function for performing semantic analysis on TemplateAliasParameter.
  Parameters:

  Loc `loc` | location (for error messages)
  Scope* `sc` | context
  RootObject `o` | object to run semantic() on, the TemplateAliasParameters specAlias or defaultAlias
  TemplateParameters* `parameters` | array of TemplateParameters supplied to the TemplateDeclaration

  Returns:
  object resulting from running semantic on `o`

Copyright © 1999-2020 by the D Language Foundation | Page generated by Ddoc on Sun Feb 9 20:05:31 2020