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 pd
pragma declaration or statement to evaluate Scope* sc
enclosing scope - bool
pragmaStmtSemantic
(PragmaStatementps
, Scope*sc
); - Run semantic on pragma statement.Parameters:
PragmaStatement ps
pragma statement to evaluate Scope* sc
enclosing 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 loc
location for error messages Scope* sc
scope for evaluation of argument Expressions* args
pragma arguments Returns:corresponding PINLINE state
Copyright © 1999-2024 by the D Language Foundation | Page generated by
Ddoc on (no date time)