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: "bop uwu name is smth \r\n    pluh bullshit boost sm_shit\r\nno cap"
input_file: skullbrain-parser/src/inputs/function_delc/function_delc4.skull
---
Function@0..62
  Keyword@0..3 "bop"
  Trivia@3..4 " "
  FunctionSignature@4..27
    DelimitedRange@4..27
      OpenParen@4..7 "uwu"
      Trivia@7..8 " "
      Parameter@8..20
        Ident@8..12 "name"
        Trivia@12..13 " "
        Colon@13..15 "is"
        Trivia@15..16 " "
        Type@16..20 "smth"
      Trivia@20..27 " \r\n    "
  DelimitedRange@27..62
    Return@27..56
      Keyword@27..31 "pluh"
      Trivia@31..32 " "
      Operator@32..56
        Lhs@32..41
          Ident@32..40 "bullshit"
          Trivia@40..41 " "
        OpPlus@41..46 "boost"
        Trivia@46..47 " "
        Rhs@47..56
          Ident@47..54 "sm_shit"
          Trivia@54..56 "\r\n"
    CloseBrace@56..62 "no cap"


Error: expected `⁨function name⁩`
   ,-[ function_delc4.skull:1:5 ]
   |
 1 | bop uwu name is smth
   |     |^^  
   |     `---- expected ⁨function name⁩ before this position
---'
Error: expected `⁨owo⁩`
   ,-[ function_delc4.skull:2:5 ]
   |
 2 |     pluh bullshit boost sm_shit
   |     |^^^  
   |     `----- insert here
   | 
   | Help: insert `⁨owo⁩` before the indicated position
---'
Error: expected `⁨bussin⁩`
   ,-[ function_delc4.skull:2:5 ]
   |
 2 |     pluh bullshit boost sm_shit
   |     |^^^  
   |     `----- insert here
   | 
   | Help: insert `⁨bussin⁩` before the indicated position
---'