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: "edgin check bussin \r\n    edgin check bussin\r\nno cap "
input_file: skullbrain-parser/src/inputs/if_else/if_else2.skull
---
IfElse@0..52
  If@0..52
    Keyword@0..11 "edgin check"
    Trivia@11..12 " "
    Condition@12..12
      DelimitedRange@12..12
    Body@12..52
      DelimitedRange@12..52
        OpenBrace@12..18 "bussin"
        Trivia@18..25 " \r\n    "
        IfElse@25..52
          If@25..51
            Keyword@25..36 "edgin check"
            Trivia@36..37 " "
            Condition@37..37
              DelimitedRange@37..37
            Body@37..51
              DelimitedRange@37..51
                OpenBrace@37..43 "bussin"
                Trivia@43..45 "\r\n"
                CloseBrace@45..51 "no cap"
          Trivia@51..52 " "


Error: missing `⁨uwu⁩` and `⁨owo⁩` delimiters
   ,-[ if_else2.skull:1:13 ]
   |
 1 | edgin check 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
   ,-[ if_else2.skull:2:17 ]
   |
 2 |     edgin check bussin
   |                 |^^^^^| 
   |                 `------- insert `⁨uwu⁩` at the indicated position
   |                       | 
   |                       `- insert `⁨owo⁩` at the indicated position
   | 
   | Help: wrap the span in `⁨uwu⁩` and `⁨owo⁩` delimiters
---'
Error: expected `⁨no cap⁩`
   ,-[ if_else2.skull:3:8 ]
   |
 3 | no cap
   |        | 
   |        `- insert here
   | 
   | Help: insert `⁨no cap⁩` after the indicated position
---'