/usr/share/doc/racket/drracket-tools/blueboxes.rktd is in racket-doc 6.7-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 | 3066
((3) 0 () 3 ((q lib "drracket/check-syntax.rkt") (c (? . 0) q syncheck-annotations<%>) (q lib "drracket/find-module-path-completions.rkt")) () (h ! (equal) ((c meth c (c (? . 1) q syncheck:add-rename-menu)) q (10820 . 11)) ((c def c (c (? . 2) q find-module-path-completions)) q (12674 . 4)) ((c form c (c (? . 0) q syncheck:find-source-object)) q (11519 . 2)) ((c meth c (c (? . 1) q syncheck:find-source-object)) q (963 . 4)) ((c form c (c (? . 0) q syncheck:add-rename-menu)) q (11659 . 2)) ((c meth c (c (? . 1) q syncheck:add-arrow/name-dup)) q (4344 . 23)) ((c def c (c (? . 2) q find-module-path-completions/explicit-cache)) q (12801 . 17)) ((c meth c (c (? . 1) q syncheck:add-background-color)) q (1085 . 11)) ((c meth c (c (? . 1) q syncheck:add-docs-menu)) q (2138 . 17)) ((c form c (c (? . 0) q syncheck:add-id-set)) q (11900 . 2)) ((c def c (c (? . 2) q current-library-collection-paths-info/c)) q (14125 . 2)) ((c def c (c (? . 0) q make-traversal)) q (235 . 7)) ((c def c (c (? . 2) q alternate-racket-clcl/clcp)) q (13750 . 8)) ((c meth c (c (? . 1) q syncheck:add-id-set)) q (2880 . 9)) ((q def ((lib "drracket/module-browser.rkt") module-browser)) q (12002 . 3)) ((c meth c (c (? . 1) q syncheck:add-arrow)) q (3366 . 19)) ((c form c (c (? . 0) q syncheck:add-require-open-menu)) q (11591 . 2)) ((c meth c (c (? . 1) q syncheck:add-prefixed-require-reference)) q (8540 . 9)) ((c form c (c (? . 0) q syncheck:add-tail-arrow)) q (11792 . 2)) ((c form c (c (? . 0) q syncheck:add-arrow/name-dup)) q (11717 . 2)) ((c meth c (c (? . 1) q syncheck:add-definition-target)) q (9779 . 11)) ((c meth c (c (? . 1) q syncheck:color-range)) q (10317 . 12)) ((c form c (c (? . 0) q syncheck:add-jump-to-definition)) q (11861 . 2)) ((c def c (c (? . 2) q pkg-dirs-info/c)) q (14185 . 2)) ((c def c (? . 1)) q (914 . 2)) ((c meth c (c (? . 1) q syncheck:add-jump-to-definition)) q (9036 . 15)) ((c def c (c (? . 0) q current-annotations)) q (532 . 5)) ((c form c (c (? . 0) q syncheck:add-docs-menu)) q (11629 . 2)) ((c def c (c (? . 0) q annotations-mixin)) q (11420 . 3)) ((c def c (c (? . 0) q current-max-to-send-at-once)) q (712 . 5)) ((q def ((lib "drracket/get-module-path.rkt") get-module-path-from-user)) q (12072 . 13)) ((c form c (c (? . 0) q syncheck:color-range)) q (11927 . 2)) ((c meth c (c (? . 1) q syncheck:add-mouse-over-status)) q (8006 . 11)) ((c form c (c (? . 0) q syncheck:add-arrow/name-dup/pxpy)) q (11752 . 2)) ((c meth c (c (? . 1) q syncheck:add-require-open-menu)) q (1607 . 11)) ((c meth c (c (? . 1) q syncheck:add-tail-arrow)) q (7466 . 11)) ((c form c (c (? . 0) q syncheck:add-arrow)) q (11691 . 2)) ((c form c (c (? . 0) q syncheck:add-prefixed-require-reference)) q (11955 . 2)) ((c form c (c (? . 0) q syncheck:add-mouse-over-status)) q (11823 . 2)) ((c def c (c (? . 0) q show-content)) q (0 . 5)) ((c form c (c (? . 0) q syncheck:add-background-color)) q (11554 . 2)) ((c def c (c (? . 2) q current-library-collection-links-info/c)) q (14065 . 2)) ((c meth c (c (? . 1) q syncheck:add-arrow/name-dup/pxpy)) q (5633 . 31))))
procedure
(show-content file-or-stx) -> (listof vector?)
file-or-stx : (or/c path-string?
(and/c syntax?
(λ (x) (path-string? (syntax-source x)))))
procedure
(make-traversal namespace path) -> (->* (syntax?)
((-> any/c void?))
void?)
(-> void?)
namespace : namespace?
path : (or/c #f path-string?)
parameter
(current-annotations)
-> (or/c #f (is-a?/c syncheck-annotations<%>))
(current-annotations ca) -> void?
ca : (or/c #f (is-a?/c syncheck-annotations<%>))
parameter
(current-max-to-send-at-once)
-> (or/c +inf.0 (and/c exact-integer? (>=/c 2)))
(current-max-to-send-at-once m) -> void?
m : (or/c +inf.0 (and/c exact-integer? (>=/c 2)))
interface
syncheck-annotations<%> : interface?
method
(send a-syncheck-annotations syncheck:find-source-object stx)
-> (or/c #f (not/c #f))
stx : syntax?
method
(send a-syncheck-annotations syncheck:add-background-color
source-obj
start
end
color)
-> void?
source-obj : (not/c #f)
start : exact-nonnegative-integer?
end : exact-nonnegative-integer?
color : string?
method
(send a-syncheck-annotations syncheck:add-require-open-menu
source-obj
start
end
file)
-> void?
source-obj : (not/c #f)
start : exact-nonnegative-integer?
end : exact-nonnegative-integer?
file : path-string?
method
(send a-syncheck-annotations syncheck:add-docs-menu
source-obj
start
end
id
label
path
tag)
-> void?
source-obj : (not/c #f)
start : exact-nonnegative-integer?
end : exact-nonnegative-integer?
id : symbol?
label : any/c
path : any/c
tag : any/c
method
(send a-syncheck-annotations syncheck:add-id-set
all-ids
new-name-interferes?)
-> void?
all-ids : (listof (list/c (not/c #f)
exact-nonnegative-integer?
exact-nonnegative-integer?))
new-name-interferes? : (-> symbol boolean?)
method
(send a-syncheck-annotations syncheck:add-arrow
start-source-obj
start-left
start-right
end-source-obj
end-left
end-right
actual?
phase-level)
-> void?
start-source-obj : (not/c #f)
start-left : exact-nonnegative-integer?
start-right : exact-nonnegative-integer?
end-source-obj : (not/c #f)
end-left : exact-nonnegative-integer?
end-right : exact-nonnegative-integer?
actual? : boolean?
phase-level : (or/c exact-nonnegative-integer? #f)
method
(send a-syncheck-annotations syncheck:add-arrow/name-dup
start-source-obj
start-left
start-right
end-source-obj
end-left
end-right
actual?
phase-level
require-arrow?
name-dup?)
-> void?
start-source-obj : (not/c #f)
start-left : exact-nonnegative-integer?
start-right : exact-nonnegative-integer?
end-source-obj : (not/c #f)
end-left : exact-nonnegative-integer?
end-right : exact-nonnegative-integer?
actual? : boolean?
phase-level : (or/c exact-nonnegative-integer? #f)
require-arrow? : boolean?
name-dup? : (-> string? boolean?)
method
(send a-syncheck-annotations syncheck:add-arrow/name-dup/pxpy
start-source-obj
start-left
start-right
start-px
start-py
end-source-obj
end-left
end-right
end-px
end-py
actual?
phase-level
require-arrow
name-dup?)
-> void?
start-source-obj : (not/c #f)
start-left : exact-nonnegative-integer?
start-right : exact-nonnegative-integer?
start-px : (real-in 0 1)
start-py : (real-in 0 1)
end-source-obj : (not/c #f)
end-left : exact-nonnegative-integer?
end-right : exact-nonnegative-integer?
end-px : (real-in 0 1)
end-py : (real-in 0 1)
actual? : boolean?
phase-level : (or/c exact-nonnegative-integer? #f)
require-arrow : (or/c boolean? 'module-lang-require)
name-dup? : (-> string? boolean?)
method
(send a-syncheck-annotations syncheck:add-tail-arrow
from-source-obj
from-pos
to-source-obj
to-pos)
-> void?
from-source-obj : (not/c #f)
from-pos : exact-nonnegative-integer?
to-source-obj : (not/c #f)
to-pos : exact-nonnegative-integer?
method
(send a-syncheck-annotations syncheck:add-mouse-over-status
source-obj
pos-left
pos-right
str)
-> void?
source-obj : (not/c #f)
pos-left : exact-nonnegative-integer?
pos-right : exact-nonnegative-integer?
str : string?
method
(send a-syncheck-annotations syncheck:add-prefixed-require-reference
req-src
req-pos-left
req-pos-right)
-> void?
req-src : (not/c #f)
req-pos-left : exact-nonnegative-integer?
req-pos-right : exact-nonnegative-integer?
method
(send a-syncheck-annotations syncheck:add-jump-to-definition
source-obj
start
end
id
filename
submods)
-> void?
source-obj : (not/c #f)
start : exact-nonnegative-integer?
end : exact-nonnegative-integer?
id : any/c
filename : path-string?
submods : (listof symbol?)
method
(send a-syncheck-annotations syncheck:add-definition-target
source-obj
start
finish
style-name)
-> void?
source-obj : (not/c #f)
start : exact-nonnegative-integer?
finish : exact-nonnegative-integer?
style-name : any/c
method
(send a-syncheck-annotations syncheck:color-range source-obj
start
finish
style-name
mode)
-> void?
source-obj : (not/c #f)
start : exact-nonnegative-integer?
finish : exact-nonnegative-integer?
style-name : any/c
mode : any/c
method
(send a-syncheck-annotations syncheck:add-rename-menu
id
all-ids
new-name-interferes?)
-> void?
id : symbol?
all-ids : (listof (list/c (not/c #f)
exact-nonnegative-integer?
exact-nonnegative-integer?))
new-name-interferes? : (-> symbol boolean?)
mixin
annotations-mixin : (class? . -> . class?)
result implements: syncheck-annotations<%>
syntax
syncheck:find-source-object
syntax
syncheck:add-background-color
syntax
syncheck:add-require-open-menu
syntax
syncheck:add-docs-menu
syntax
syncheck:add-rename-menu
syntax
syncheck:add-arrow
syntax
syncheck:add-arrow/name-dup
syntax
syncheck:add-arrow/name-dup/pxpy
syntax
syncheck:add-tail-arrow
syntax
syncheck:add-mouse-over-status
syntax
syncheck:add-jump-to-definition
syntax
syncheck:add-id-set
syntax
syncheck:color-range
syntax
syncheck:add-prefixed-require-reference
procedure
(module-browser path) -> void?
path : path-string?
procedure
(get-module-path-from-user
[#:init init
#:pref pref
#:dir? dir?]
#:current-directory current-directory)
-> (if dir?
(or/c (listof path?) #f)
(or/c path? #f))
init : string? = ""
pref : (or/c symbol? #f) = #f
dir? : boolean? = #f
current-directory : (or/c path-string? #f)
procedure
(find-module-path-completions dir)
-> (-> string? (listof (list/c string? path?)))
dir : path-string?
procedure
(find-module-path-completions/explicit-cache
str
dir
#:pkg-dirs-cache pkg-dirs-cache
[#:alternate-racket alternate-racket])
-> (listof (list/c string? path?))
str : string?
dir : path-string?
pkg-dirs-cache : (box/c (or/c #f pkg-dirs-info/c))
alternate-racket : (or/c #f
path-string?
(list/c
current-library-collection-links-info/c
current-library-collection-paths-info/c
pkg-dirs-info/c))
= #f
procedure
(alternate-racket-clcl/clcp alternate-racket
pkg-dirs-cache)
-> current-library-collection-links-info/c
current-library-collection-paths-info/c
pkg-dirs-info/c
alternate-racket : path-string?
pkg-dirs-cache : (box/c (or/c #f pkg-dirs-info/c))
value
current-library-collection-links-info/c : contract?
value
current-library-collection-paths-info/c : contract?
value
pkg-dirs-info/c : contract?
|