skullbrain-parser 0.1.0

Parses skullbrain tokens into a concrete syntax tree (CST).
Documentation
---
source: skullbrain-parser/src/test.rs
expression: display_target
info: lock in bussin no cap put the fries in the bag bro
input_file: skullbrain-parser/src/inputs/try_catch/try_catch2.skull
---
TryCatch@0..50
  Try@0..21
    Keyword@0..7 "lock in"
    Trivia@7..8 " "
    DelimitedRange@8..21
      OpenBrace@8..14 "bussin"
      Trivia@14..15 " "
      CloseBrace@15..21 "no cap"
  Trivia@21..22 " "
  Catch@22..50
    Keyword@22..50 "put the fries in the  ..."
    DelimitedRange@50..50


Error: missing `⁨bussin⁩` and `⁨no cap⁩` delimiters
   ,-[ try_catch2.skull:1:51 ]
   |
 1 | lock in bussin no cap put the fries in the bag bro
   |                                                   | 
   |                                                   `- insert `⁨bussin⁩` at the indicated position
   |                                                   | 
   |                                                   `- insert `⁨no cap⁩` at the indicated position
   | 
   | Help: wrap the span in `⁨bussin⁩` and `⁨no cap⁩` delimiters
---'