mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-11-15 01:17:27 +00:00
69 lines
No EOL
1.2 KiB
Text
69 lines
No EOL
1.2 KiB
Text
Grammar(
|
|
keywords: [
|
|
"use",
|
|
"fn",
|
|
"struct",
|
|
"enum",
|
|
"trait",
|
|
"impl",
|
|
],
|
|
tokens: [
|
|
"ERROR",
|
|
"IDENT",
|
|
"UNDERSCORE",
|
|
"WHITESPACE",
|
|
"INT_NUMBER",
|
|
"FLOAT_NUMBER",
|
|
"SEMI",
|
|
"COMMA",
|
|
"DOT",
|
|
"DOTDOT",
|
|
"DOTDOTDOT",
|
|
"DOTDOTEQ",
|
|
"L_PAREN",
|
|
"R_PAREN",
|
|
"L_CURLY",
|
|
"R_CURLY",
|
|
"L_BRACK",
|
|
"R_BRACK",
|
|
"L_ANGLE",
|
|
"R_ANGLE",
|
|
"AT",
|
|
"POUND",
|
|
"TILDE",
|
|
"QUESTION",
|
|
"COLON",
|
|
"COLONCOLON",
|
|
"DOLLAR",
|
|
"EQ",
|
|
"EQEQ",
|
|
"FAT_ARROW",
|
|
"NEQ",
|
|
"NOT",
|
|
"LIFETIME",
|
|
"CHAR",
|
|
"BYTE",
|
|
"STRING",
|
|
"RAW_STRING",
|
|
"BYTE_STRING",
|
|
"RAW_BYTE_STRING",
|
|
"PLUS",
|
|
"MINUS",
|
|
"STAR",
|
|
"SLASH",
|
|
"CARET",
|
|
"PERCENT",
|
|
"AMPERSAND",
|
|
"PIPE",
|
|
"THIN_ARROW",
|
|
"COMMENT",
|
|
"DOC_COMMENT",
|
|
"SHEBANG",
|
|
],
|
|
nodes: [
|
|
"FILE",
|
|
"STRUCT_ITEM",
|
|
"STRUCT_FIELD",
|
|
"FN_ITEM",
|
|
]
|
|
) |