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.pragmasem
Does semantic analysis for pragmas.
Specification Pragmas
Authors:
License:
Source pragmasem.d
Documentation https://dlang.org/phobos/dmd_pragmasem.html
- void
pragmaDeclSemantic(PragmaDeclarationpd, Scope*sc); - Run semantic on pragma declaration.Parameters:
PragmaDeclaration pdpragma declaration or statement to evaluate Scope* scenclosing scope - bool
pragmaStmtSemantic(PragmaStatementps, Scope*sc); - Run semantic on pragma statement.Parameters:
PragmaStatement pspragma statement to evaluate Scope* scenclosing scope Returns : true if pragma is valid, or false if an error was found - package PINLINE
evalPragmaInline(Locloc, Scope*sc, Expressions*args); - Interpret a pragma(inline, x)Parameters:
Loc loclocation for error messages Scope* scscope for evaluation of argument Expressions* argspragma arguments Returns:corresponding PINLINE state
Copyright © 1999-2025 by the D Language Foundation | Page generated by
Ddoc on Mon Mar 31 10:28:01 2025