{"size": 783, "ext": "scrbl", "max_stars_repo_path": "pkgs/racket-doc/syntax/scribblings/quote.scrbl", "max_stars_repo_name": "lkh01/racket", "max_stars_repo_stars_event_min_datetime": "2018-07-29T04:13:52.000Z", "max_stars_repo_stars_event_max_datetime": "2022-02-14T16:11:17.000Z", "max_issues_repo_path": "pkgs/racket-doc/syntax/scribblings/quote.scrbl", "max_issues_repo_name": "lkh01/racket", "max_issues_repo_issues_event_min_datetime": "2017-08-25T20:26:37.000Z", "max_issues_repo_issues_event_max_datetime": "2022-02-26T17:48:40.000Z", "max_forks_repo_path": "pkgs/racket-doc/syntax/scribblings/quote.scrbl", "max_forks_repo_name": "lkh01/racket", "max_forks_repo_forks_event_min_datetime": "2016-04-25T11:47:57.000Z", "max_forks_repo_forks_event_max_datetime": "2017-05-09T14:52:48.000Z"}
{"max_stars_count": 10, "max_issues_count": 15, "max_forks_count": 3, "avg_line_length": 37.2857142857, "max_line_length": 68, "alphanum_fraction": 0.7471264368}
#lang scribble/manual
@(require (for-label racket/base
                     syntax/quote))

@title{Preserving Source Locations}

@defmodule[syntax/quote]{The @racketmodname[syntax/quote] module
provides support for quoting syntax so that its source locations
are preserved in marshaled bytecode form.}

@defform*[[(quote-syntax/keep-srcloc datum)
           (quote-syntax/keep-srcloc #:source source-expr datum)]]{

Like @racket[(quote-syntax datum)], but the source locations of
@racket[datum] are preserved. If a @racket[source-expr] is provided,
then it is used in place of a @racket[syntax-source] value for
each syntax object within @racket[datum].

Unlike a @racket[quote-syntax] form, the results of evaluating the
expression multiple times are not necessarily @racket[eq?].}
