The type for a unary expression is incompatible. Print error message.
Mark the operand as will never be dereferenced, which is useful info for @safe checks. Do before semantic() on operands rewrites them.
Deinitializes the global state of the compiler.
Does *not* do a deep copy.
Combine e1 and e2 by CommaExp if both are not NULL.
If 'e' is a tree of commas, returns the rightmost expression by stripping off it from the tree. The remained part of the tree is returned via e0. Otherwise 'e' is directly returned and e0 is set to NULL.
Return !=0 if expression is an lvalue.
Give error if we're not an lvalue. If we can, convert expression to be an lvalue.
Resolve __FILE__, __LINE__, __MODULE__, __FUNCTION__, __PRETTY_FUNCTION__, __FILE_FULL_PATH__ to loc.
Check that the expression has a valid type. If not, generates an error "... has no type".
Check that the expression has a valid value. If not, generates an error "... has no value".
Calling function f. Check the purity, i.e. if we're in a pure function we can only call other pure functions. Returns true if error occurs.
Checks whether f is a generated DtorDeclaration that hides a user-defined one which passes check while f doesn't (e.g. when the user defined dtor is pure but the generated dtor is not). In that case the method will identify and print all members causing the attribute missmatch.
Accessing variable v. Check for purity and safety violations. Returns true if error occurs.
Calling function f. Check the safety, i.e. if we're in a @safe function we can only call @safe or @trusted functions. Returns true if error occurs.
Calling function f. Check the @nogc-ness, i.e. if we're in a @nogc function we can only call other @nogc functions. Returns true if error occurs.
Check that the postblit is callable if t is an array of structs. Returns true if error happens.
Check whether the expression allows RMW operations, error with rmw operator diagnostic if not. ex is the RHS expression, or NULL if ++/-- is used (for diagnostics) Returns true if error occurs.
Take address of expression.
If this is a reference, dereference it.
Identical, not just equal. I.e. NaNs with different bit patterns are not identical
Statically evaluate this expression to a bool if possible
Base class for unary operators
https://dlang.org/spec/expression.html#unary-expression