2020-04-24 16:51:02 -05:00
|
|
|
SOURCE_FILE@0..47
|
2020-07-30 07:51:08 -05:00
|
|
|
FN@0..46
|
2020-04-24 16:51:02 -05:00
|
|
|
FN_KW@0..2 "fn"
|
|
|
|
WHITESPACE@2..3 " "
|
|
|
|
NAME@3..6
|
|
|
|
IDENT@3..6 "foo"
|
|
|
|
PARAM_LIST@6..16
|
|
|
|
L_PAREN@6..7 "("
|
|
|
|
PARAM@7..15
|
2020-07-31 13:09:09 -05:00
|
|
|
IDENT_PAT@7..10
|
2020-04-24 16:51:02 -05:00
|
|
|
NAME@7..10
|
|
|
|
IDENT@7..10 "foo"
|
|
|
|
COLON@10..11 ":"
|
|
|
|
WHITESPACE@11..12 " "
|
|
|
|
PATH_TYPE@12..15
|
|
|
|
PATH@12..15
|
|
|
|
PATH_SEGMENT@12..15
|
|
|
|
NAME_REF@12..15
|
|
|
|
IDENT@12..15 "i32"
|
|
|
|
R_PAREN@15..16 ")"
|
|
|
|
WHITESPACE@16..17 " "
|
|
|
|
BLOCK_EXPR@17..46
|
2020-05-01 18:18:35 -05:00
|
|
|
L_CURLY@17..18 "{"
|
|
|
|
WHITESPACE@18..23 "\n "
|
|
|
|
LET_STMT@23..36
|
|
|
|
LET_KW@23..26 "let"
|
|
|
|
WHITESPACE@26..27 " "
|
2020-07-31 13:09:09 -05:00
|
|
|
IDENT_PAT@27..30
|
2020-05-01 18:18:35 -05:00
|
|
|
NAME@27..30
|
|
|
|
IDENT@27..30 "bar"
|
|
|
|
WHITESPACE@30..31 " "
|
|
|
|
EQ@31..32 "="
|
|
|
|
WHITESPACE@32..33 " "
|
|
|
|
LITERAL@33..35
|
|
|
|
INT_NUMBER@33..35 "92"
|
|
|
|
SEMICOLON@35..36 ";"
|
|
|
|
WHITESPACE@36..41 "\n "
|
|
|
|
BIN_EXPR@41..44
|
|
|
|
LITERAL@41..42
|
|
|
|
INT_NUMBER@41..42 "1"
|
|
|
|
WHITESPACE@42..43 " "
|
|
|
|
PLUS@43..44 "+"
|
|
|
|
WHITESPACE@44..45 "\n"
|
|
|
|
R_CURLY@45..46 "}"
|
2020-04-24 16:51:02 -05:00
|
|
|
WHITESPACE@46..47 "\n"
|
|
|
|
error 44..44: expected expression
|