forked from clojure/clojurescript
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
move the impl ns into the cljs part use self-host perf predicates from cljs.analyzer.impl ns, remove from cljs.analyzer organize cljs.compiler ns form unset JAVA_TOOL_OPTIONS before running CLI tests add cljs.analyzer.impl ns, move pre-allocated symbols used for perf there, add self-host perf predicates too, not used yet organize the analyzer ns form
- Loading branch information
1 parent
a15247a
commit 0e85a1a
Showing
4 changed files
with
148 additions
and
135 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
; Copyright (c) Rich Hickey. All rights reserved. | ||
; The use and distribution terms for this software are covered by the | ||
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) | ||
; which can be found in the file epl-v10.html at the root of this distribution. | ||
; By using this software in any fashion, you are agreeing to be bound by | ||
; the terms of this license. | ||
; You must not remove this notice, or any other, from this software. | ||
|
||
(ns cljs.analyzer.impl) | ||
|
||
(def ANY_SYM 'any) | ||
|
||
(def BOOLEAN_OR_SEQ '#{boolean seq}) | ||
|
||
(def BOOLEAN_SYM 'boolean) | ||
|
||
#?(:cljs | ||
(def CLJ_NIL_SYM 'clj-nil)) | ||
|
||
#?(:cljs | ||
(def CLJS_CORE_MACROS_SYM 'cljs.core$macros)) | ||
|
||
#?(:cljs | ||
(def CLJS_CORE_SYM 'cljs.core)) | ||
|
||
#?(:cljs | ||
(def DOT_SYM '.)) | ||
|
||
(def IGNORE_SYM 'ignore) | ||
|
||
#?(:cljs | ||
(def JS_STAR_SYM 'js*)) | ||
|
||
#?(:cljs | ||
(def NEW_SYM 'new)) | ||
|
||
(def NOT_NATIVE '#{clj not-native}) | ||
|
||
#?(:cljs | ||
(def NUMBER_SYM 'number)) | ||
|
||
#?(:cljs | ||
(def STRING_SYM 'string)) | ||
|
||
#?(:cljs | ||
(defn ^boolean cljs-map? [x] | ||
(implements? IMap x))) | ||
|
||
#?(:cljs | ||
(defn ^boolean cljs-seq? [x] | ||
(implements? ISeq x))) | ||
|
||
#?(:cljs | ||
(defn ^boolean cljs-vector? [x] | ||
(implements? IVector x))) | ||
|
||
#?(:cljs | ||
(defn ^boolean cljs-set? [x] | ||
(implements? ISet x))) |
Oops, something went wrong.