File tree Expand file tree Collapse file tree 1 file changed +12
-8
lines changed Expand file tree Collapse file tree 1 file changed +12
-8
lines changed Original file line number Diff line number Diff line change 15
15
CompilerOptions SourceFile JsAst CommandLineRunner]
16
16
[com.google.javascript.jscomp.parsing Config$JsDocParsing]
17
17
[com.google.javascript.rhino
18
- Node Token JSTypeExpression]
18
+ Node Token JSTypeExpression JSDocInfo$Visibility ]
19
19
[java.util.logging Level]))
20
20
21
21
(def ^:dynamic *ignore-var* false )
33
33
(defn get-tag [^JSTypeExpression texpr]
34
34
(when-let [root (.getRoot texpr)]
35
35
(if (.isString root)
36
- (symbol (.getString root))
37
- (if-let [child (.. root getFirstChild)]
36
+ (symbol (.getString root))(if-let [child (.. root getFirstChild)]
38
37
(if (.isString child)
39
38
(symbol (.. child getString)))))))
40
39
57
56
{:file *source-file*
58
57
:line (.getLineno node)}
59
58
(when-let [doc (.getOriginalCommentString info)]
60
- {:doc doc}))))))
59
+ {:doc doc})
60
+ (when (= JSDocInfo$Visibility/PRIVATE (.getVisibility info))
61
+ {:private true }))))))
61
62
62
63
(defmulti parse-extern-node
63
64
(fn [^Node node]
202
203
(closure/js-source-file " goog/string/string.js"
203
204
(io/input-stream (io/resource " goog/string/string.js" ))))
204
205
205
- (externs-map
206
- [(closure/js-source-file " goog/string/string.js"
207
- (io/input-stream (io/resource " goog/string/string.js" )))]
208
- {})
206
+ (-> (externs-map
207
+ [(closure/js-source-file " goog/string/string.js"
208
+ (io/input-stream (io/resource " goog/string/string.js" )))]
209
+ {})
210
+ (get-in '[goog string])
211
+ (find 'numberAwareCompare_)
212
+ first meta)
209
213
210
214
(externs-map )
211
215
You can’t perform that action at this time.
0 commit comments