(symbols-in-file path parsed-ns)
(symbols-in-file path parsed-ns dialect)
Return a set of all the symbols occurring in the file at path.
This includes all regular symbols like foo, but also ctor calls like Foo. (returned as Foo), and classes used in typehints.
Note: Because it was convenient at the time this function also
returns fully qualified keywords mapped to symbol. This means that
if the file contains :prefix/kw
the symbol
fully.resolved.prefix/kw
is included in the set.
Dialect defaults to :clj.
Return a set of all the symbols occurring in the file at path. This includes all regular symbols like foo, but also ctor calls like Foo. (returned as Foo), and classes used in typehints. Note: Because it was convenient at the time this function also returns fully qualified keywords mapped to symbol. This means that if the file contains `:prefix/kw` the symbol `fully.resolved.prefix/kw` is included in the set. Dialect defaults to :clj.
cljdoc builds & hosts documentation for Clojure/Script libraries
Ctrl+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
Ctrl+/ | Jump to the search field |