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 uwu condition owo bussin \r\nno cap only in ohio edgin check\r\nonly in ohio edgin check uwu condition  bussin \r\nonly in ohio edgin check condition owo no cap\r\nonly in ohio edgin check uwu condition bussin \r\nedgin check"
input_file: skullbrain-parser/src/inputs/if_else/if_else5.skull
---
IfElse@0..227
  If@0..45
    Keyword@0..11 "edgin check"
    Trivia@11..12 " "
    Condition@12..29
      DelimitedRange@12..29
        OpenParen@12..15 "uwu"
        Trivia@15..16 " "
        Ident@16..25 "condition"
        Trivia@25..26 " "
        CloseParen@26..29 "owo"
    Trivia@29..30 " "
    Body@30..45
      DelimitedRange@30..45
        OpenBrace@30..36 "bussin"
        Trivia@36..39 " \r\n"
        CloseBrace@39..45 "no cap"
  Trivia@45..46 " "
  Else@46..72
    Keyword@46..58 "only in ohio"
    Trivia@58..59 " "
    Keyword@59..70 "edgin check"
    Trivia@70..72 "\r\n"
    Condition@72..72
      DelimitedRange@72..72
    Body@72..72
      DelimitedRange@72..72
  Else@72..121
    Keyword@72..84 "only in ohio"
    Trivia@84..85 " "
    Keyword@85..96 "edgin check"
    Trivia@96..97 " "
    Condition@97..112
      DelimitedRange@97..112
        OpenParen@97..100 "uwu"
        Trivia@100..101 " "
        Ident@101..110 "condition"
        Trivia@110..112 "  "
    Body@112..121
      DelimitedRange@112..121
        OpenBrace@112..118 "bussin"
        Trivia@118..121 " \r\n"
  Else@121..166
    Keyword@121..133 "only in ohio"
    Trivia@133..134 " "
    Keyword@134..145 "edgin check"
    Trivia@145..146 " "
    Condition@146..159
      DelimitedRange@146..159
        Ident@146..155 "condition"
        Trivia@155..156 " "
        CloseParen@156..159 "owo"
    Trivia@159..160 " "
    Body@160..166
      DelimitedRange@160..166
        CloseBrace@160..166 "no cap"
  Trivia@166..168 "\r\n"
  Else@168..227
    Keyword@168..180 "only in ohio"
    Trivia@180..181 " "
    Keyword@181..192 "edgin check"
    Trivia@192..193 " "
    Condition@193..207
      DelimitedRange@193..207
        OpenParen@193..196 "uwu"
        Trivia@196..197 " "
        Ident@197..206 "condition"
        Trivia@206..207 " "
    Body@207..227
      DelimitedRange@207..227
        OpenBrace@207..213 "bussin"
        Trivia@213..216 " \r\n"
        IfElse@216..227
          If@216..227
            Keyword@216..227 "edgin check"
            Condition@227..227
              DelimitedRange@227..227
            Body@227..227
              DelimitedRange@227..227


Error: missing `⁨uwu⁩` and `⁨owo⁩` delimiters
   ,-[ if_else5.skull:3:1 ]
   |
 3 | only in ohio edgin check uwu condition  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
   ,-[ if_else5.skull:3:1 ]
   |
 3 | only in ohio edgin check uwu condition  bussin
   | |^^^^^^^^^^^| 
   | `------------- insert `⁨bussin⁩` at the indicated position
   |             | 
   |             `- insert `⁨no cap⁩` at the indicated position
   | 
   | Help: wrap the span in `⁨bussin⁩` and `⁨no cap⁩` delimiters
---'
Error: expected `⁨owo⁩`
   ,-[ if_else5.skull:3:41 ]
   |
 3 | only in ohio edgin check uwu condition  bussin
   |                                         |^^^^^  
   |                                         `------- insert here
   | 
   | Help: insert `⁨owo⁩` before the indicated position
---'
Error: expected `⁨no cap⁩`
   ,-[ if_else5.skull:4:1 ]
   |
 4 | only in ohio edgin check condition owo no cap
   | |^^^^^^^^^^^  
   | `------------- insert here
   | 
   | Help: insert `⁨no cap⁩` before the indicated position
---'
Error: expected `⁨uwu⁩`
   ,-[ if_else5.skull:4:26 ]
   |
 4 | only in ohio edgin check condition owo no cap
   |                          |^^^^^^^^  
   |                          `---------- insert here
   | 
   | Help: insert `⁨uwu⁩` before the indicated position
---'
Error: expected `⁨bussin⁩`
   ,-[ if_else5.skull:4:40 ]
   |
 4 | only in ohio edgin check condition owo no cap
   |                                        |^^^^^  
   |                                        `------- insert here
   | 
   | Help: insert `⁨bussin⁩` before the indicated position
---'
Error: expected `⁨owo⁩`
   ,-[ if_else5.skull:5:40 ]
   |
 5 | only in ohio edgin check uwu condition bussin
   |                                        |^^^^^  
   |                                        `------- insert here
   | 
   | Help: insert `⁨owo⁩` before the indicated position
---'
Error: missing `⁨uwu⁩` and `⁨owo⁩` delimiters
   ,-[ if_else5.skull:6:12 ]
   |
 6 | edgin check
   |            | 
   |            `- 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
   ,-[ if_else5.skull:6:12 ]
   |
 6 | edgin check
   |            | 
   |            `- insert `⁨bussin⁩` at the indicated position
   |            | 
   |            `- insert `⁨no cap⁩` at the indicated position
   | 
   | Help: wrap the span in `⁨bussin⁩` and `⁨no cap⁩` delimiters
---'
Error: expected `⁨no cap⁩`
   ,-[ if_else5.skull:6:12 ]
   |
 6 | edgin check
   |            | 
   |            `- insert here
   | 
   | Help: insert `⁨no cap⁩` after the indicated position
---'