InputSource.name

name returns a user friendly name representing the input source.

For files, it is the filepath provided to InputSourceRange. For standard input, it is "Standard Input". (Use isStdin() to test for standard input, not name().

class InputSource
const pure nothrow @safe
string
name
()

Meta