14 lines
406 B
Racket
14 lines
406 B
Racket
#lang scribble/doc
|
|
@(require "common.ss"
|
|
(for-label syntax/to-string))
|
|
|
|
@title[#:tag "to-string"]{Rendering Syntax Objects with Formatting}
|
|
|
|
@defmodule[syntax/to-string]
|
|
|
|
@defproc[(syntax->string [stx-list stx-list?]) string?]{
|
|
|
|
Builds a string with newlines and indenting according to the source
|
|
locations in @scheme[stx-list]; the outer pair of parens are not
|
|
rendered from @scheme[stx-list].}
|