Skip to content

Commit 7ded513

Browse files
author
murphy
committed
changed :reserved to :keyword in Clojure scanner (issue #43)
1 parent 7f3b9dc commit 7ded513

7 files changed

+1409
-1409
lines changed

clojure/clicky.expected.raydebug

Lines changed: 51 additions & 51 deletions
Large diffs are not rendered by default.

clojure/clj-highlight.expected.raydebug

Lines changed: 182 additions & 182 deletions
Large diffs are not rendered by default.

clojure/clj-swing.expected.raydebug

Lines changed: 350 additions & 350 deletions
Large diffs are not rendered by default.

clojure/epic.expected.raydebug

Lines changed: 593 additions & 593 deletions
Large diffs are not rendered by default.

clojure/frame.expected.raydebug

Lines changed: 46 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
1-
operator(()reserved(ns) namespace(clj-swing.frame)
1+
operator(()keyword(ns) namespace(clj-swing.frame)
22
operator(()symbol(:use) operator([)ident(clj-swing.core) symbol(:only) operator([)ident(group-container-args) ident(icon-setters) ident(auto-setters)operator(])operator(])
33
operator([)ident(clojure.contrib.swing-utils) symbol(:only) operator([)ident(do-swing)operator(])operator(])operator(\))
44
operator(()symbol(:import) operator(()ident(javax.swing) ident(JFrame) ident(ImageIcon)operator(\))operator(\))
55
operator(()symbol(:require) operator([)ident(clojure.contrib.java-utils) symbol(:as) ident(java)operator(])operator(\))operator(\))
66

77

8-
operator(()reserved(defmacro) function(set-constraint!) operator([)ident(constraints) ident(field) ident(value)operator(])
9-
operator(`)operator(()ident(set!) operator(()reserved(.) operator(~)ident(constraints) operator(~)operator(()reserved(symbol) operator(()reserved(name) ident(field)operator(\))operator(\))operator(\))
10-
operator(~)operator(()reserved(if) operator(()reserved(keyword?) ident(value)operator(\))
11-
operator(`)operator(()ident(java/wall-hack-field) operator(()reserved(class) operator(~)ident(constraints)operator(\)) operator(')operator(~)operator(()reserved(symbol) operator(()reserved(name) ident(value)operator(\))operator(\)) operator(()reserved(class) operator(~)ident(constraints)operator(\))operator(\))
8+
operator(()keyword(defmacro) function(set-constraint!) operator([)ident(constraints) ident(field) ident(value)operator(])
9+
operator(`)operator(()ident(set!) operator(()keyword(.) operator(~)ident(constraints) operator(~)operator(()keyword(symbol) operator(()keyword(name) ident(field)operator(\))operator(\))operator(\))
10+
operator(~)operator(()keyword(if) operator(()keyword(keyword?) ident(value)operator(\))
11+
operator(`)operator(()ident(java/wall-hack-field) operator(()keyword(class) operator(~)ident(constraints)operator(\)) operator(')operator(~)operator(()keyword(symbol) operator(()keyword(name) ident(value)operator(\))operator(\)) operator(()keyword(class) operator(~)ident(constraints)operator(\))operator(\))
1212
ident(value)operator(\))operator(\))operator(\))
1313

14-
operator(()reserved(def) function(*frame-on-close-actions*)
14+
operator(()keyword(def) function(*frame-on-close-actions*)
1515
operator({)symbol(:do-nothing) operator(()ident(JFrame/DO_NOTHING_ON_CLOSE)operator(\))
1616
symbol(:exit) operator(()ident(JFrame/EXIT_ON_CLOSE)operator(\))
1717
symbol(:hide) operator(()ident(JFrame/HIDE_ON_CLOSE)operator(\))
1818
symbol(:dispose) operator(()ident(JFrame/DISPOSE_ON_CLOSE)operator(\))operator(})operator(\))
1919

2020

21-
operator(()reserved(def) function(*frame-known-keys*)
21+
operator(()keyword(def) function(*frame-known-keys*)
2222
operator([)symbol(:name) symbol(:icon) symbol(:title) symbol(:layout) symbol(:constrains) symbol(:on-close) symbol(:size) symbol(:bounds) symbol(:location) symbol(:pack) symbol(:show) symbol(:centered)operator(])operator(\))
2323

24-
operator(()reserved(defmacro) function(frame) operator([)ident(&) ident(args)operator(])
24+
operator(()keyword(defmacro) function(frame) operator([)ident(&) ident(args)operator(])
2525
string<delimiter(")content(options are:
2626
:name - internal name of the frame.
2727
:icon - icon, will be passed to javax.swing.ImageIcon.
@@ -37,49 +37,49 @@ operator(()reserved(defmacro) function(frame) operator([)ident(&) ident(args)ope
3737
:pack - shall the frame autopack at the end?
3838
:show - shall the frame autoshow at the end?
3939
)delimiter(")>
40-
operator(()reserved(let) operator([)ident(default-opts) operator({)operator(})
40+
operator(()keyword(let) operator([)ident(default-opts) operator({)operator(})
4141
operator({)ident(forms) symbol(:forms) ident(opts) symbol(:options) ident(bindings) symbol(:bindings)operator(}) operator(()ident(group-container-args) ident(args)operator(\))
42-
ident(opts) operator(()reserved(merge) ident(default-opts) ident(opts)operator(\))
43-
ident(frame) operator(()reserved(or) operator(()symbol(:name) ident(opts)operator(\)) operator(()reserved(gensym) string<delimiter(")content(frame)delimiter(")>operator(\))operator(\))
44-
ident(constrains) operator(()reserved(gensym) string<delimiter(")content(constrains)delimiter(")>operator(\))
45-
ident(manager) operator(()reserved(gensym) string<delimiter(")content(manager)delimiter(")>operator(\))operator(])
42+
ident(opts) operator(()keyword(merge) ident(default-opts) ident(opts)operator(\))
43+
ident(frame) operator(()keyword(or) operator(()symbol(:name) ident(opts)operator(\)) operator(()keyword(gensym) string<delimiter(")content(frame)delimiter(")>operator(\))operator(\))
44+
ident(constrains) operator(()keyword(gensym) string<delimiter(")content(constrains)delimiter(")>operator(\))
45+
ident(manager) operator(()keyword(gensym) string<delimiter(")content(manager)delimiter(")>operator(\))operator(])
4646
operator(`)operator(()ident(do-swing)
47-
operator(()reserved(let) operator([)operator(~)ident(frame) operator(~)operator(()reserved(if) operator(()symbol(:title) ident(opts)operator(\))
47+
operator(()keyword(let) operator([)operator(~)ident(frame) operator(~)operator(()keyword(if) operator(()symbol(:title) ident(opts)operator(\))
4848
operator(`)operator(()ident(JFrame.) operator(~)operator(()symbol(:title) ident(opts)operator(\))operator(\))
4949
operator(`)operator(()ident(JFrame.)operator(\))operator(\))
50-
operator(~@)operator(()reserved(if) operator(()symbol(:layout) ident(opts)operator(\))
51-
operator([)operator(')ident(_) operator(`)operator(()reserved(.)ident(setLayout) operator(~)ident(frame) operator(~)operator(()symbol(:layout) ident(opts)operator(\))operator(\))operator(])operator(\))
52-
operator(~@)operator(()reserved(if) operator(()symbol(:constrains) ident(opts)operator(\))
50+
operator(~@)operator(()keyword(if) operator(()symbol(:layout) ident(opts)operator(\))
51+
operator([)operator(')ident(_) operator(`)operator(()keyword(.)ident(setLayout) operator(~)ident(frame) operator(~)operator(()symbol(:layout) ident(opts)operator(\))operator(\))operator(])operator(\))
52+
operator(~@)operator(()keyword(if) operator(()symbol(:constrains) ident(opts)operator(\))
5353
operator(`)operator(()operator(~)ident(constrains) operator(~)operator(()symbol(:constrains) ident(opts)operator(\))operator(\))operator(\))
54-
operator(~@)operator(()reserved(if) operator(()symbol(:constrains) ident(opts)operator(\))
55-
operator(()reserved(reverse)
56-
operator(()reserved(reduce)
57-
operator(()reserved(fn) operator([)ident(l) operator([)ident(f) ident(s)operator(])operator(])
58-
operator(()reserved(if) operator(()reserved(keyword?) ident(f)operator(\))
59-
operator(()reserved(conj) operator(()reserved(conj) ident(l) operator(')ident(_)operator(\)) operator(`)operator(()ident(set-constraint!) operator(~)ident(constrains) operator(~)ident(f) operator(~)ident(s)operator(\))operator(\))
60-
operator(()reserved(conj) operator(()reserved(conj) operator(()reserved(conj) operator(()reserved(conj) ident(l) ident(f)operator(\)) ident(s)operator(\)) operator(')ident(_)operator(\)) operator(`)operator(()reserved(.)ident(add) operator(~)ident(frame) operator(~)ident(f) operator(~)ident(constrains)operator(\))operator(\))operator(\))operator(\))
61-
operator(')operator(()operator(\)) operator(()reserved(partition) integer(2) ident(bindings)operator(\))operator(\))operator(\))
62-
operator(()reserved(reverse)
63-
operator(()reserved(reduce)
64-
operator(()reserved(fn) operator([)ident(l) operator([)ident(f) ident(s)operator(])operator(])
65-
operator(()reserved(conj) operator(()reserved(conj) operator(()reserved(conj) operator(()reserved(conj) ident(l) ident(f)operator(\)) ident(s)operator(\)) operator(')ident(_)operator(\)) operator(`)operator(()reserved(.)ident(add) operator(~)ident(frame) operator(~)ident(f)operator(\))operator(\))operator(\))
66-
operator(')operator(()operator(\)) operator(()reserved(partition) integer(2) ident(bindings)operator(\))operator(\))operator(\))operator(\))operator(])
67-
operator(()reserved(doto) operator(~)ident(frame)
54+
operator(~@)operator(()keyword(if) operator(()symbol(:constrains) ident(opts)operator(\))
55+
operator(()keyword(reverse)
56+
operator(()keyword(reduce)
57+
operator(()keyword(fn) operator([)ident(l) operator([)ident(f) ident(s)operator(])operator(])
58+
operator(()keyword(if) operator(()keyword(keyword?) ident(f)operator(\))
59+
operator(()keyword(conj) operator(()keyword(conj) ident(l) operator(')ident(_)operator(\)) operator(`)operator(()ident(set-constraint!) operator(~)ident(constrains) operator(~)ident(f) operator(~)ident(s)operator(\))operator(\))
60+
operator(()keyword(conj) operator(()keyword(conj) operator(()keyword(conj) operator(()keyword(conj) ident(l) ident(f)operator(\)) ident(s)operator(\)) operator(')ident(_)operator(\)) operator(`)operator(()keyword(.)ident(add) operator(~)ident(frame) operator(~)ident(f) operator(~)ident(constrains)operator(\))operator(\))operator(\))operator(\))
61+
operator(')operator(()operator(\)) operator(()keyword(partition) integer(2) ident(bindings)operator(\))operator(\))operator(\))
62+
operator(()keyword(reverse)
63+
operator(()keyword(reduce)
64+
operator(()keyword(fn) operator([)ident(l) operator([)ident(f) ident(s)operator(])operator(])
65+
operator(()keyword(conj) operator(()keyword(conj) operator(()keyword(conj) operator(()keyword(conj) ident(l) ident(f)operator(\)) ident(s)operator(\)) operator(')ident(_)operator(\)) operator(`)operator(()keyword(.)ident(add) operator(~)ident(frame) operator(~)ident(f)operator(\))operator(\))operator(\))
66+
operator(')operator(()operator(\)) operator(()keyword(partition) integer(2) ident(bindings)operator(\))operator(\))operator(\))operator(\))operator(])
67+
operator(()keyword(doto) operator(~)ident(frame)
6868
operator(~@)operator(()ident(icon-setters) operator([)symbol(:icon)operator(]) ident(opts)operator(\))
6969
operator(~@)operator(()ident(auto-setters) ident(JFrame) ident(*frame-known-keys*) ident(opts)operator(\))
70-
operator(~@)operator(()reserved(when-let) operator([)ident(on-close) operator(()ident(*frame-on-close-actions*) operator(()symbol(:on-close) ident(opts)operator(\))operator(\))operator(])
71-
operator([)operator(`)operator(()reserved(.)ident(setDefaultCloseOperation) operator(~)ident(on-close)operator(\))operator(])operator(\))
72-
operator(~@)operator(()reserved(when-let) operator([)operator([)ident(w) ident(h)operator(]) operator(()symbol(:size) ident(opts)operator(\))operator(])
73-
operator([)operator(`)operator(()reserved(.)ident(setSize) operator(~)ident(w) operator(~)ident(h)operator(\))operator(])operator(\))
74-
operator(~@)operator(()reserved(when-let) operator([)operator([)ident(x) ident(y) ident(w) ident(h)operator(]) operator(()symbol(:bounds) ident(opts)operator(\))operator(])
75-
operator([)operator(`)operator(()reserved(.)ident(setBounds) operator(~)ident(x) operator(~)ident(y) operator(~)ident(w) operator(~)ident(h)operator(\))operator(])operator(\))
76-
operator(~@)operator(()reserved(when-let) operator([)operator([)ident(x) ident(y)operator(]) operator(()symbol(:location) ident(opts)operator(\))operator(])
77-
operator([)operator(`)operator(()reserved(.)ident(setLocation) operator(~)ident(x) operator(~)ident(y)operator(\))operator(])operator(\))
78-
operator(~@)operator(()reserved(if) operator(()reserved(contains?) ident(opts) symbol(:centered)operator(\))
79-
operator([)operator(`)operator(()reserved(.)ident(setLocationRelativeTo) operator(~)operator(()symbol(:centered) ident(opts)operator(\))operator(\))operator(])operator(\))operator(\))
70+
operator(~@)operator(()keyword(when-let) operator([)ident(on-close) operator(()ident(*frame-on-close-actions*) operator(()symbol(:on-close) ident(opts)operator(\))operator(\))operator(])
71+
operator([)operator(`)operator(()keyword(.)ident(setDefaultCloseOperation) operator(~)ident(on-close)operator(\))operator(])operator(\))
72+
operator(~@)operator(()keyword(when-let) operator([)operator([)ident(w) ident(h)operator(]) operator(()symbol(:size) ident(opts)operator(\))operator(])
73+
operator([)operator(`)operator(()keyword(.)ident(setSize) operator(~)ident(w) operator(~)ident(h)operator(\))operator(])operator(\))
74+
operator(~@)operator(()keyword(when-let) operator([)operator([)ident(x) ident(y) ident(w) ident(h)operator(]) operator(()symbol(:bounds) ident(opts)operator(\))operator(])
75+
operator([)operator(`)operator(()keyword(.)ident(setBounds) operator(~)ident(x) operator(~)ident(y) operator(~)ident(w) operator(~)ident(h)operator(\))operator(])operator(\))
76+
operator(~@)operator(()keyword(when-let) operator([)operator([)ident(x) ident(y)operator(]) operator(()symbol(:location) ident(opts)operator(\))operator(])
77+
operator([)operator(`)operator(()keyword(.)ident(setLocation) operator(~)ident(x) operator(~)ident(y)operator(\))operator(])operator(\))
78+
operator(~@)operator(()keyword(if) operator(()keyword(contains?) ident(opts) symbol(:centered)operator(\))
79+
operator([)operator(`)operator(()keyword(.)ident(setLocationRelativeTo) operator(~)operator(()symbol(:centered) ident(opts)operator(\))operator(\))operator(])operator(\))operator(\))
8080
operator(~@)ident(forms)
81-
operator(()reserved(doto) operator(~)ident(frame)
82-
operator(~@)operator(()reserved(if) operator(()symbol(:pack) ident(opts)operator(\))
83-
operator([)operator(`)operator(()reserved(.)ident(pack)operator(\))operator(])operator(\))
84-
operator(~@)operator(()reserved(if) operator(()symbol(:show) ident(opts)operator(\))
85-
operator([)operator(`)operator(()reserved(.)ident(setVisible) predefined_constant(true)operator(\))operator(])operator(\))operator(\))operator(\))operator(\))operator(\))operator(\))
81+
operator(()keyword(doto) operator(~)ident(frame)
82+
operator(~@)operator(()keyword(if) operator(()symbol(:pack) ident(opts)operator(\))
83+
operator([)operator(`)operator(()keyword(.)ident(pack)operator(\))operator(])operator(\))
84+
operator(~@)operator(()keyword(if) operator(()symbol(:show) ident(opts)operator(\))
85+
operator([)operator(`)operator(()keyword(.)ident(setVisible) predefined_constant(true)operator(\))operator(])operator(\))operator(\))operator(\))operator(\))operator(\))operator(\))

0 commit comments

Comments
 (0)