racket/collects/drracket/check-syntax.rkt
Robby Findler 4997800a76 make-traversal's optional argument is now ignored
Recent changes eliminated it, but it seems better
(for backwards compatibility) to leave it there but
ignore it
2013-03-06 12:31:50 -06:00

41 lines
1.0 KiB
Racket

#lang at-exp racket/base
(require racket/contract
racket/class
"private/syncheck/traversals.rkt"
"private/syncheck/intf.rkt"
"private/syncheck/local-member-names.rkt")
(provide/contract
[make-traversal
(-> namespace?
(or/c path-string? #f)
(values (->* (syntax?) ((-> any/c void?)) void?)
(-> void?)))]
[current-max-to-send-at-once
(parameter/c (or/c +inf.0 (and/c exact-integer? (>=/c 2))))]
[syncheck-annotations<%>
interface?]
[current-annotations
(parameter/c (or/c #f (is-a?/c syncheck-annotations<%>)))]
[annotations-mixin
(and/c mixin-contract
(-> any/c (implementation?/c syncheck-annotations<%>)))])
;; methods in syncheck-annotations<%>
(provide
syncheck:find-source-object
syncheck:add-background-color
syncheck:add-require-open-menu
syncheck:add-docs-menu
syncheck:add-id-set
syncheck:add-rename-menu
syncheck:add-arrow
syncheck:add-tail-arrow
syncheck:add-mouse-over-status
syncheck:add-jump-to-definition
syncheck:color-range)