ImportExp

An import expression, import("file.txt")

Not to be confused with module imports, import std.stdio, which is an ImportStatement

https://dlang.org/spec/expression.html#import_expressions

extern (C++) final
class ImportExp : UnaExp {}

Inherited Members

From UnaExp

incompatibleTypes
Expression incompatibleTypes()

The type for a unary expression is incompatible. Print error message.

setNoderefOperand
void setNoderefOperand()

Mark the operand as will never be dereferenced, which is useful info for @safe checks. Do before semantic() on operands rewrites them.

Meta