7310
((3) 0 () 21 ((q lib "xml/main.rkt") (q 414 . 4) (q lib "xml/private/xexpr-core.rkt") (q 786 . 6) (q 1254 . 6) (q 1446 . 6) (q 0 . 6) (q 971 . 4) (q 1825 . 5) (q 529 . 4) (q 1072 . 5) (q 1621 . 6) (q 2108 . 4) (q 2347 . 4) (q lib "xml/plist.rkt") (q 2456 . 4) (q 672 . 3) (q 281 . 5) (q 2585 . 3) (q 2236 . 4) (q lib "xml/path.rkt")) () (h ! (equal) ((c def c (c (? . 0) q write-xml/content)) q (3547 . 4)) ((c def c (c (? . 0) q external-dtd/public-public)) c (? . 9)) ((c def c (c (? . 0) q permissive-xexprs)) q (4246 . 4)) ((c def c (c (? . 0) q struct:external-dtd)) c (? . 1)) ((c def c (c (? . 0) q document-type-external)) c (? . 3)) ((c def c (c (? . 0) q xexpr->xml)) q (4411 . 3)) ((c def c (c (? . 0) q xml-attribute-encode)) q (4610 . 3)) ((c def c (c (? . 0) q comment)) c (? . 7)) ((c def c (c (? . 0) q string->xexpr)) q (4546 . 3)) ((c def c (c (? . 0) q entity?)) c (? . 12)) ((c def c (c (? . 2) q xexpr/c)) q (2728 . 2)) ((c def c (c (? . 0) q read-comments)) q (5455 . 4)) ((c def c (c (? . 0) q struct:attribute)) c (? . 8)) ((c def c (c (? . 0) q external-dtd-system)) c (? . 1)) ((c def c (c (? . 0) q p-i?)) c (? . 10)) ((c def c (c (? . 0) q location-char)) c (? . 6)) ((c def c (c (? . 2) q correct-xexpr?)) q (4930 . 5)) ((c def c (c (? . 0) q read-xml/document)) q (2846 . 3)) ((c def c (c (? . 0) q prolog-misc)) c (? . 4)) ((c def c (c (? . 14) q plist-value?)) q (5791 . 3)) ((c def c (c (? . 0) q document-type-inlined)) c (? . 3)) ((c def c (c (? . 0) q element-content)) c (? . 11)) ((c def c (c (? . 0) q valid-char?)) q (2051 . 3)) ((c def c (c (? . 0) q document?)) c (? . 5)) ((c def c (c (? . 0) q prolog-dtd)) c (? . 4)) ((c def c (c (? . 0) q eliminate-whitespace)) q (4681 . 5)) ((c def c (c (? . 0) q document-misc)) c (? . 5)) ((c def c (c (? . 0) q empty-tag-shorthand)) q (5087 . 5)) ((c def c (c (? . 0) q struct:document)) c (? . 5)) ((c def c (c (? . 0) q cdata?)) c (? . 13)) ((c def c (c (? . 0) q document-element)) c (? . 5)) ((c def c (c (? . 0) q make-location)) c (? . 6)) ((c def c (c (? . 0) q struct:comment)) c (? . 7)) ((c def c (c (? . 0) q make-attribute)) c (? . 8)) ((c def c (c (? . 0) q location)) c (? . 6)) ((c def c (c (? . 0) q struct:external-dtd/public)) c (? . 9)) ((c def c (c (? . 0) q pcdata?)) c (? . 19)) ((c def c (c (? . 2) q xexpr?)) q (2676 . 3)) ((c def c (c (? . 0) q make-external-dtd)) c (? . 1)) ((c def c (c (? . 0) q document)) c (? . 5)) ((c def c (c (? . 0) q p-i)) c (? . 10)) ((c def c (c (? . 0) q xml-count-bytes)) q (5557 . 4)) ((c def c (c (? . 0) q attribute?)) c (? . 8)) ((c def c (c (? . 0) q make-element)) c (? . 11)) ((c def c (c (? . 0) q external-dtd)) c (? . 1)) ((c def c (c (? . 0) q element)) c (? . 11)) ((c def c (c (? . 20) q se-path*/list)) q (6108 . 4)) ((c def c (c (? . 0) q attribute)) c (? . 8)) ((c def c (c (? . 0) q entity)) c (? . 12)) ((c def c (c (? . 0) q location/c)) q (250 . 2)) ((c def c (c (? . 0) q prolog-misc2)) c (? . 4)) ((c def c (c (? . 0) q make-comment)) c (? . 7)) ((c def c (c (? . 0) q cdata)) c (? . 13)) ((c def c (c (? . 0) q make-cdata)) c (? . 13)) ((c def c (c (? . 0) q make-prolog)) c (? . 4)) ((c def c (c (? . 0) q xexpr-drop-empty-attributes)) q (5669 . 4)) ((c def c (c (? . 0) q struct:entity)) c (? . 12)) ((c def c (c (? . 0) q entity-text)) c (? . 12)) ((c def c (c (? . 0) q write-xml)) q (3429 . 4)) ((c def c (c (? . 0) q make-p-i)) c (? . 10)) ((c def c (c (? . 0) q make-external-dtd/system)) c (? . 16)) ((c def c (c (? . 0) q attribute-value)) c (? . 8)) ((c def c (c (? . 14) q write-plist)) q (5982 . 4)) ((c def c (c (? . 0) q html-empty-tags)) q (5297 . 2)) ((c def c (c (? . 0) q display-xml)) q (3681 . 4)) ((c def c (c (? . 0) q write-xexpr)) q (3937 . 7)) ((c def c (c (? . 0) q element?)) c (? . 11)) ((c def c (c (? . 0) q external-dtd?)) c (? . 1)) ((c def c (c (? . 0) q exn:invalid-xexpr-code)) c (? . 15)) ((c def c (c (? . 0) q exn:invalid-xexpr?)) c (? . 15)) ((c def c (c (? . 0) q location-line)) c (? . 6)) ((c def c (c (? . 14) q read-plist)) q (5914 . 3)) ((c def c (c (? . 0) q misc/c)) q (1227 . 2)) ((c def c (c (? . 0) q external-dtd/system)) c (? . 16)) ((c def c (c (? . 0) q exn:invalid-xexpr)) c (? . 15)) ((c def c (c (? . 0) q cdata-string)) c (? . 13)) ((c def c (c (? . 0) q location?)) c (? . 6)) ((c def c (c (? . 0) q source-stop)) c (? . 17)) ((c def c (c (? . 2) q make-exn:xml)) c (? . 18)) ((c def c (c (? . 0) q make-entity)) c (? . 12)) ((c def c (c (? . 0) q attribute-name)) c (? . 8)) ((c def c (c (? . 0) q location-offset)) c (? . 6)) ((c def c (c (? . 0) q external-dtd/system?)) c (? . 16)) ((c def c (c (? . 0) q external-dtd/public)) c (? . 9)) ((c def c (c (? . 0) q document-prolog)) c (? . 5)) ((c def c (c (? . 0) q prolog)) c (? . 4)) ((c def c (c (? . 0) q read-xml/element)) q (2945 . 3)) ((c def c (c (? . 0) q make-source)) c (? . 17)) ((c def c (c (? . 0) q exn:xml?)) c (? . 18)) ((c def c (c (? . 0) q source)) c (? . 17)) ((c def c (c (? . 0) q make-pcdata)) c (? . 19)) ((c def c (c (? . 0) q struct:p-i)) c (? . 10)) ((c def c (c (? . 0) q make-document-type)) c (? . 3)) ((c def c (c (? . 0) q struct:location)) c (? . 6)) ((c def c (c (? . 0) q struct:prolog)) c (? . 4)) ((c def c (c (? . 0) q comment-text)) c (? . 7)) ((c def c (c (? . 0) q struct:document-type)) c (? . 3)) ((c def c (c (? . 0) q display-xml/content)) q (3801 . 4)) ((c def c (c (? . 0) q collapse-whitespace)) q (5341 . 4)) ((c def c (c (? . 2) q exn:xml)) c (? . 18)) ((c def c (c (? . 0) q permissive/c)) q (2018 . 2)) ((c def c (c (? . 0) q struct:external-dtd/system)) c (? . 16)) ((c def c (c (? . 2) q validate-xexpr)) q (4876 . 3)) ((c def c (c (? . 0) q p-i-instruction)) c (? . 10)) ((c def c (c (? . 20) q se-path*)) q (6199 . 4)) ((c def c (c (? . 0) q struct:exn:invalid-xexpr)) c (? . 15)) ((c def c (c (? . 2) q struct:exn:xml)) c (? . 18)) ((c def c (c (? . 0) q read-xml)) q (2756 . 3)) ((c def c (c (? . 0) q external-dtd/public?)) c (? . 9)) ((c def c (c (? . 0) q pcdata)) c (? . 19)) ((c def c (c (? . 0) q xml->xexpr)) q (4340 . 3)) ((c def c (c (? . 0) q xexpr->string)) q (4478 . 3)) ((c def c (c (? . 0) q syntax:read-xml/element)) q (3205 . 5)) ((c def c (c (? . 0) q content/c)) q (1988 . 2)) ((c def c (c (? . 0) q pcdata-string)) c (? . 19)) ((c def c (c (? . 0) q struct:pcdata)) c (? . 19)) ((c def c (c (? . 0) q element-attributes)) c (? . 11)) ((c def c (c (? . 0) q make-external-dtd/public)) c (? . 9)) ((c def c (c (? . 0) q document-type)) c (? . 3)) ((c def c (c (? . 20) q se-path?)) q (6079 . 2)) ((c def c (c (? . 0) q source?)) c (? . 17)) ((c def c (c (? . 0) q document-type-name)) c (? . 3)) ((c def c (c (? . 0) q struct:element)) c (? . 11)) ((c def c (c (? . 0) q p-i-target-name)) c (? . 10)) ((c def c (c (? . 14) q plist-dict?)) q (5853 . 3)) ((c def c (c (? . 0) q comment?)) c (? . 7)) ((c def c (c (? . 0) q source-start)) c (? . 17)) ((c def c (c (? . 0) q struct:source)) c (? . 17)) ((c def c (c (? . 0) q make-exn:invalid-xexpr)) c (? . 15)) ((c def c (c (? . 0) q struct:cdata)) c (? . 13)) ((c def c (c (? . 0) q syntax:read-xml)) q (3042 . 4)) ((c def c (c (? . 0) q prolog?)) c (? . 4)) ((c def c (c (? . 0) q element-name)) c (? . 11)) ((c def c (c (? . 0) q document-type?)) c (? . 3)) ((c def c (c (? . 0) q make-document)) c (? . 5))))
struct
(struct location (line char offset)
    #:extra-constructor-name make-location)
  line : (or/c false/c exact-nonnegative-integer?)
  char : (or/c false/c exact-nonnegative-integer?)
  offset : exact-nonnegative-integer?
value
location/c : contract?
struct
(struct source (start stop)
    #:extra-constructor-name make-source)
  start : location/c
  stop : location/c
struct
(struct external-dtd (system)
    #:extra-constructor-name make-external-dtd)
  system : string?
struct
(struct external-dtd/public external-dtd (public)
    #:extra-constructor-name make-external-dtd/public)
  public : string?
struct
(struct external-dtd/system external-dtd ()
    #:extra-constructor-name make-external-dtd/system)
struct
(struct document-type (name external inlined)
    #:extra-constructor-name make-document-type)
  name : symbol?
  external : external-dtd?
  inlined : false/c
struct
(struct comment (text)
    #:extra-constructor-name make-comment)
  text : string?
struct
(struct p-i source (target-name instruction)
    #:extra-constructor-name make-p-i)
  target-name : symbol?
  instruction : string?
value
misc/c : contract?
struct
(struct prolog (misc dtd misc2)
    #:extra-constructor-name make-prolog)
  misc : (listof misc/c)
  dtd : (or/c document-type false/c)
  misc2 : (listof misc/c)
struct
(struct document (prolog element misc)
    #:extra-constructor-name make-document)
  prolog : prolog?
  element : element?
  misc : (listof misc/c)
struct
(struct element source (name attributes content)
    #:extra-constructor-name make-element)
  name : symbol?
  attributes : (listof attribute?)
  content : (listof content/c)
struct
(struct attribute source (name value)
    #:extra-constructor-name make-attribute)
  name : symbol?
  value : (or/c string? permissive/c)
value
content/c : contract?
value
permissive/c : contract?
procedure
(valid-char? x) -> boolean?
  x : any/c
struct
(struct entity source (text)
    #:extra-constructor-name make-entity)
  text : (or/c symbol? valid-char?)
struct
(struct pcdata source (string)
    #:extra-constructor-name make-pcdata)
  string : string?
struct
(struct cdata source (string)
    #:extra-constructor-name make-cdata)
  string : string?
struct
(struct exn:invalid-xexpr exn:fail (code)
    #:extra-constructor-name make-exn:invalid-xexpr)
  code : any/c
struct
(struct exn:xml exn:fail:read ()
    #:extra-constructor-name make-exn:xml)
procedure
(xexpr? v) -> boolean?
  v : any/c
value
xexpr/c : contract?
procedure
(read-xml [in]) -> document?
  in : input-port? = (current-input-port)
procedure
(read-xml/document [in]) -> document?
  in : input-port? = (current-input-port)
procedure
(read-xml/element [in]) -> element?
  in : input-port? = (current-input-port)
procedure
(syntax:read-xml [in #:src source-name]) -> syntax?
  in : input-port? = (current-input-port)
  source-name : any/c = (object-name in)
procedure
(syntax:read-xml/element [in                      
                          #:src source-name]) -> syntax?
  in : input-port? = (current-input-port)
  source-name : any/c = (object-name in)
procedure
(write-xml doc [out]) -> void?
  doc : document?
  out : output-port? = (current-output-port)
procedure
(write-xml/content content [out]) -> void?
  content : content/c
  out : output-port? = (current-output-port)
procedure
(display-xml doc [out]) -> void?
  doc : document?
  out : output-port? = (current-output-port)
procedure
(display-xml/content content [out]) -> void?
  content : content/c
  out : output-port? = (current-output-port)
procedure
(write-xexpr  xe                                        
             [out                                       
              #:insert-newlines? insert-newlines?]) -> void?
  xe : xexpr/c
  out : output-port? = (current-output-port)
  insert-newlines? : any/c = #f
parameter
(permissive-xexprs) -> boolean?
(permissive-xexprs v) -> void?
  v : any/c
procedure
(xml->xexpr content) -> xexpr/c
  content : content/c
procedure
(xexpr->xml xexpr) -> content/c
  xexpr : xexpr/c
procedure
(xexpr->string xexpr) -> string?
  xexpr : xexpr/c
procedure
(string->xexpr str) -> xexpr/c
  str : string?
procedure
(xml-attribute-encode str) -> string?
  str : string?
procedure
((eliminate-whitespace [tags choose]) elem) -> element?
  tags : (listof symbol?) = empty
  choose : (boolean? . -> . boolean?) = (λ (x) x)
  elem : element?
procedure
(validate-xexpr v) -> #t
  v : any/c
procedure
(correct-xexpr? v success-k fail-k) -> any/c
  v : any/c
  success-k : (-> any/c)
  fail-k : (exn:invalid-xexpr? . -> . any/c)
parameter
(empty-tag-shorthand)
 -> (or/c (one-of/c 'always 'never) (listof symbol?))
(empty-tag-shorthand shorthand) -> void?
  shorthand : (or/c (one-of/c 'always 'never) (listof symbol?))
value
html-empty-tags : (listof symbol?)
parameter
(collapse-whitespace) -> boolean?
(collapse-whitespace collapse?) -> void?
  collapse? : any/c
parameter
(read-comments) -> boolean?
(read-comments preserve?) -> void?
  preserve? : any/c
parameter
(xml-count-bytes) -> boolean?
(xml-count-bytes count-bytes?) -> void?
  count-bytes? : any/c
parameter
(xexpr-drop-empty-attributes) -> boolean?
(xexpr-drop-empty-attributes drop?) -> void?
  drop? : any/c
procedure
(plist-value? any/c) -> boolean?
  any/c : v
procedure
(plist-dict? any/c) -> boolean?
  any/c : v
procedure
(read-plist in) -> plist-value?
  in : input-port?
procedure
(write-plist dict out) -> void?
  dict : plist-value?
  out : output-port?
value
se-path? : contract?
procedure
(se-path*/list p xe) -> (listof any/c)
  p : se-path?
  xe : xexpr?
procedure
(se-path* p xe) -> any/c
  p : se-path?
  xe : xexpr?
