View source code
Display the source code in dmd/expressionsem.d from which this page was generated on github.
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 local clone.

Module dmd.expressionsem

Compiler implementation of the D programming language.

Documentation

https://dlang.org/phobos/dmd_expressionsem.html

Coverage

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

Functions

NameDescription
arrayExpressionSemantic(exps, sc, preserveErrors) Perform semantic() on an array of Expressions.
binSemantic(e, sc) Helper function for easy error propagation. If error occurs, returns ErrorExp. Otherwise returns NULL.
resolve(loc, sc, s, hasOverloads) Resolve a symbol s and wraps it in an expression object.
resolveOpDollar(sc, ae, pe0) Runs semantic on ae.arguments. Declares temporary variables if '$' was used.
resolveOpDollar(sc, ae, ie, pe0) Runs semantic on se.lwr and se.upr. Declares a temporary variable if '$' was used.
resolvePropertiesOnly(sc, e1) If e1 is a property function (template), resolve it.
semanticString(sc, exp, s) Resolve exp as a compile-time known string.
trySemantic(exp, sc) Try to run semantic routines. If they fail, return NULL.
unaSemantic(e, sc) Helper function for easy error propagation. If error occurs, returns ErrorExp. Otherwise returns NULL.

Authors

Walter Bright

License

Boost License 1.0