Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewReader ¶
func NewReader(opts ...ReaderOption) lisp.Reader
NewReader returns a new lisp.Reader. With no options, returns a standard reader. Pass WithFormatPreserving() for tooling use.
Types ¶
type ReaderOption ¶ added in v1.17.0
type ReaderOption func(*readerConfig)
ReaderOption configures a Reader created by NewReader.
func WithFormatPreserving ¶ added in v1.17.0
func WithFormatPreserving() ReaderOption
WithFormatPreserving enables format-preserving mode. When enabled, the parser populates LVal.Meta with SourceMeta containing comments, bracket types, blank lines, and original literal text.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package parser provides a lisp parser.
|
Package parser provides a lisp parser. |
Click to show internal directories.
Click to hide internal directories.