aboutsummaryrefslogtreecommitdiff
path: root/crates/syntax/test_data/parser/ok/0005_fn_item.rast
blob: a7a2b11a7233cc05d981a269b57aa9e4df06815f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
SOURCE_FILE@0..13
  FN@0..12
    FN_KW@0..2 "fn"
    WHITESPACE@2..3 " "
    NAME@3..6
      IDENT@3..6 "foo"
    PARAM_LIST@6..8
      L_PAREN@6..7 "("
      R_PAREN@7..8 ")"
    WHITESPACE@8..9 " "
    BLOCK_EXPR@9..12
      L_CURLY@9..10 "{"
      WHITESPACE@10..11 "\n"
      R_CURLY@11..12 "}"
  WHITESPACE@12..13 "\n"