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().
See Implementation
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().