🚧 Optimized HTTP language parser

This commit is contained in:
2025-11-01 17:42:22 +08:00
parent 8ac78e39f1
commit 93c85b800b
24 changed files with 1945 additions and 582 deletions

View File

@@ -0,0 +1,35 @@
// This file was generated by lezer-generator. You probably shouldn't edit it.
export const
LineComment = 1,
Document = 2,
RequestStatement = 3,
Method = 4,
GET = 5,
POST = 6,
PUT = 7,
DELETE = 8,
PATCH = 9,
HEAD = 10,
OPTIONS = 11,
CONNECT = 12,
TRACE = 13,
Url = 14,
StringLiteral = 15,
Block = 18,
Property = 19,
NumberLiteral = 22,
Unit = 23,
AtRule = 25,
JsonRule = 26,
AtKeyword = 27,
JsonKeyword = 28,
JsonBlock = 29,
JsonProperty = 30,
FormDataRule = 32,
FormDataKeyword = 33,
UrlEncodedRule = 34,
UrlEncodedKeyword = 35,
TextRule = 36,
TextKeyword = 37,
ResponseRule = 38,
ResKeyword = 39