Skip to content

Instantly share code, notes, and snippets.

@knowsudhanshu
Last active June 22, 2021 03:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save knowsudhanshu/26738aca323a3d400e532be7949cd0da to your computer and use it in GitHub Desktop.
Save knowsudhanshu/26738aca323a3d400e532be7949cd0da to your computer and use it in GitHub Desktop.
func literalExpressionExample() {
/// #file : String, it represents the path to the file
/// #function : String, name (with signature) of the function
/// #line : Int, line number on which it appears
print(#file + " : " #function + " : " + " : " + \(#line))
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment