Benign rust 16,496 installs Download

caixa-ast 0.1.589

“Span-aware Lisp AST for the caixa ecosystem — shared by caixa-fmt, caixa-lint, caixa-lsp. Compatible with tatara-lisp's Sexp.”

Contains an unbounded block loopRust test marker or harness
SHA-256b3bc2a9166070e81ef2e5ad4aaee382df77018765172b5fd336667191e372562

Evidence

imports crate::span::Span node.rs · lines 1–7
1use crate::span::Span;
2use crate::trivia::Trivia;
3
4/// A parsed Lisp node with span + attached trivia.
5#[derive(Debug, Clone, PartialEq)]
6pub struct Node {
7 pub kind: Node …
imports super::* node.rs · lines 919–932
⋯5 lines
924}
925
926#[cfg(test)]
927mod is_variant_tests {
928 use super::*;
929
930 fn all_variants() -> Vec<(NodeKind, &'static str)> {
931 vec![
932 (NodeKind: …
Rust synchronous or async test attribute node.rs · lines 989–994
989:54… tion pin already
990 // does on the sibling caixa-core surface.
991 #[test]
992 fn node_kind_is_variant_predicates_partition_the_arm_set() {
993 let variants = all_variants();
994 for (idx, (vari …
Contains an unbounded block loop parser.rs · lines 29–40
29 pos: 0,
30 };
31 let mut out: Vec<Node> = Vec::new();
32 loop {
33 let mut leading = p.consume_trivia();
34
35 // A comment on the SAME LINE as the preceding form belongs to that
36 // form, not to whatever comes next. Without this split, `; first`
37 // in
38 //
39 // (define a 1) ; first
40 // (d …
NTFS stream basename literal lexer.rs · lines 416–421
416:52… nd::Str("hi\n".into())]);
417 assert_eq!(
418 kinds(":key-word"),
419 vec![TokenKind::Keyword("key-word".into())]
420 );
421 assert_eq!(kinds("my-sym"), vec![TokenKind::Symbol …

No evidence locations were recorded for this file. Raw result

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.