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 goon bussin \r\n        yeet error\r\n    no cap\r\nno cap put the fries in the bag bro bussin no \r\n    lock in bussin \r\n        gyatt ident is aura skibidi 42\r\n        goon bussin \r\n            yeet error\r\n        no cap\r\n    no cap put the fries in the bag bro error is chad bussin     \r\n        yeet error \r\n    no cap \r\nno cap"
input_file: skullbrain-parser/src/inputs/try_catch/try_catch5.skull
---
TryCatch@0..373
  Try@0..101
    Keyword@0..7 "lock in"
    Trivia@7..8 " "
    DelimitedRange@8..101
      OpenBrace@8..14 "bussin"
      Trivia@14..21 " \r\n    "
      VariableDeclaration@21..95
        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 " "
        WhileLoop@49..93
          Keyword@49..53 "goon"
          Trivia@53..54 " "
          Condition@54..54
            DelimitedRange@54..54
          Body@54..93
            DelimitedRange@54..93
              OpenBrace@54..60 "bussin"
              Trivia@60..71 " \r\n        "
              ThrowError@71..87
                Keyword@71..75 "yeet"
                Trivia@75..76 " "
                Ident@76..81 "error"
                Trivia@81..87 "\r\n    "
              CloseBrace@87..93 "no cap"
        Trivia@93..95 "\r\n"
      CloseBrace@95..101 "no cap"
  Trivia@101..102 " "
  Catch@102..373
    Keyword@102..130 "put the fries in the  ..."
    Trivia@130..131 " "
    DelimitedRange@131..373
      OpenBrace@131..137 "bussin"
      Trivia@137..138 " "
      Ident@138..140 "no"
      Trivia@140..147 " \r\n    "
      TryCatch@147..367
        Try@147..276
          Keyword@147..154 "lock in"
          Trivia@154..155 " "
          DelimitedRange@155..276
            OpenBrace@155..161 "bussin"
            Trivia@161..172 " \r\n        "
            VariableDeclaration@172..212
              MutableVariableKeyword@172..177 "gyatt"
              Trivia@177..178 " "
              Parameter@178..191
                Ident@178..183 "ident"
                Trivia@183..184 " "
                Colon@184..186 "is"
                Trivia@186..187 " "
                Type@187..191 "aura"
              Trivia@191..192 " "
              Assignment@192..199 "skibidi"
              Trivia@199..200 " "
              Literal@200..202 "42"
              Trivia@202..212 "\r\n        "
            WhileLoop@212..264
              Keyword@212..216 "goon"
              Trivia@216..217 " "
              Condition@217..217
                DelimitedRange@217..217
              Body@217..264
                DelimitedRange@217..264
                  OpenBrace@217..223 "bussin"
                  Trivia@223..238 " \r\n            "
                  ThrowError@238..258
                    Keyword@238..242 "yeet"
                    Trivia@242..243 " "
                    Ident@243..248 "error"
                    Trivia@248..258 "\r\n        "
                  CloseBrace@258..264 "no cap"
            Trivia@264..270 "\r\n    "
            CloseBrace@270..276 "no cap"
        Trivia@276..277 " "
        Catch@277..367
          Keyword@277..305 "put the fries in the  ..."
          Trivia@305..306 " "
          Parameter@306..319
            Ident@306..311 "error"
            Trivia@311..312 " "
            Colon@312..314 "is"
            Trivia@314..315 " "
            Type@315..319 "chad"
          Trivia@319..320 " "
          DelimitedRange@320..364
            OpenBrace@320..326 "bussin"
            Trivia@326..341 "     \r\n        "
            ThrowError@341..358
              Keyword@341..345 "yeet"
              Trivia@345..346 " "
              Ident@346..351 "error"
              Trivia@351..358 " \r\n    "
            CloseBrace@358..364 "no cap"
          Trivia@364..367 " \r\n"
      CloseBrace@367..373 "no cap"


Error: missing `⁨uwu⁩` and `⁨owo⁩` delimiters
   ,-[ try_catch5.skull:2:38 ]
   |
 2 |     gyatt ident is aura skibidi 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 `⁨uwu⁩` and `⁨owo⁩` delimiters
   ,-[ try_catch5.skull:8:14 ]
   |
 8 |         goon bussin
   |              |^^^^^| 
   |              `------- insert `⁨uwu⁩` at the indicated position
   |                    | 
   |                    `- insert `⁨owo⁩` at the indicated position
   | 
   | Help: wrap the span in `⁨uwu⁩` and `⁨owo⁩` delimiters
---'