Re-exports§
pub use core::ParseDiagnostic;pub use core::ParseOptions;pub use core::ParseOutput;pub use core::parse;pub use core::parse_with_options;pub use core::reconstruct;pub use reparse::Edit;pub use reparse::ReparseKind;pub use reparse::Reparsed;pub use reparse::apply_edits;pub use reparse::diff_edit;pub use reparse::edits_produce;pub use reparse::map_range_through_edit;pub use reparse::map_range_through_edits;pub use reparse::reparse;pub use reparse::reparse_edits;pub use reparse::reparse_edits_with_options;pub use reparse::reparse_with_options;
Modules§
- core
- expr
- Expression-level helpers. Low-level surface consumed by the
aritycrate; not covered by semver stability guarantees. - reparse
- Incremental reparse: turn a single text edit plus the previous parse tree into a new tree without re-lexing and re-parsing the whole file.
- roxygen
- Roxygen sub-lexing and classification helpers. Low-level surface consumed
by the
aritycrate; not covered by semver stability guarantees. Roxygen2 doc-comment recognition, sub-tokenization, and block structure.
Functions§
- has_
r_ invalid_ name - Whether the tree contains a name R’s lexer rejects but arity’s more lenient one accepts as an ordinary identifier.
- is_
single_ expression - Whether the parsed text is exactly one complete R expression, the way R’s
own parser judges it — the predicate behind
rlang::parse_expr()(and so roxygen2’scan_parse()).