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 \r\n    gyatt ident is aura skibidi 42\r\n    goon bussin \r\n        yeet error\r\n    no cap\r\nno cap put the fries in the bag bro"
input_file: skullbrain-parser/src/inputs/try_catch/try_catch3.skull
---
TryCatch@0..138
  Try@0..109
    Keyword@0..7 "lock in"
    Trivia@7..8 " "
    DelimitedRange@8..109
      OpenBrace@8..14 "bussin"
      Trivia@14..21 " \r\n    "
      VariableDeclaration@21..57
        MutableVariableKeyword@21..26 "gyatt"
        Trivia@26..27 " "
        Parameter@27..40
          Ident@27..32 "ident"
          Trivia@32..33 " "
          Colon@33..35 "is"
          Trivia@35..36 " "
          Type@36..40 "aura"
        Trivia@40..41 " "
        Assignment@41..48 "skibidi"
        Trivia@48..49 " "
        Literal@49..51 "42"
        Trivia@51..57 "\r\n    "
      WhileLoop@57..101
        Keyword@57..61 "goon"
        Trivia@61..62 " "
        Condition@62..62
          DelimitedRange@62..62
        Body@62..101
          DelimitedRange@62..101
            OpenBrace@62..68 "bussin"
            Trivia@68..79 " \r\n        "
            ThrowError@79..95
              Keyword@79..83 "yeet"
              Trivia@83..84 " "
              Ident@84..89 "error"
              Trivia@89..95 "\r\n    "
            CloseBrace@95..101 "no cap"
      Trivia@101..103 "\r\n"
      CloseBrace@103..109 "no cap"
  Trivia@109..110 " "
  Catch@110..138
    Keyword@110..138 "put the fries in the  ..."
    DelimitedRange@138..138


Error: missing `⁨uwu⁩` and `⁨owo⁩` delimiters
   ,-[ try_catch3.skull:3:10 ]
   |
 3 |     goon bussin
   |          |^^^^^| 
   |          `------- insert `⁨uwu⁩` at the indicated position
   |                | 
   |                `- insert `⁨owo⁩` at the indicated position
   | 
   | Help: wrap the span in `⁨uwu⁩` and `⁨owo⁩` delimiters
---'
Error: missing `⁨bussin⁩` and `⁨no cap⁩` delimiters
   ,-[ try_catch3.skull:6:36 ]
   |
 6 | 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
---'