🎨 Add variable support for http client

This commit is contained in:
2025-11-02 17:20:22 +08:00
parent 4380ad010c
commit 5688304817
12 changed files with 1704 additions and 391 deletions

View File

@@ -2,42 +2,55 @@
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,
JsonTrue = 32,
True = 33,
JsonFalse = 34,
False = 35,
JsonNull = 36,
Null = 37,
FormDataRule = 38,
FormDataKeyword = 39,
UrlEncodedRule = 40,
UrlEncodedKeyword = 41,
TextRule = 42,
TextKeyword = 43,
JsonObject = 44,
JsonMember = 45,
JsonValue = 46,
JsonArray = 49
VarDeclaration = 3,
AtKeyword = 4,
VarKeyword = 5,
JsonBlock = 8,
JsonProperty = 9,
StringLiteral = 12,
NumberLiteral = 13,
Unit = 14,
VariableRef = 15,
JsonTrue = 16,
True = 17,
JsonFalse = 18,
False = 19,
JsonNull = 20,
Null = 21,
RequestStatement = 23,
Method = 24,
GET = 25,
POST = 26,
PUT = 27,
DELETE = 28,
PATCH = 29,
HEAD = 30,
OPTIONS = 31,
CONNECT = 32,
TRACE = 33,
Url = 34,
Block = 35,
Property = 36,
AtRule = 38,
JsonRule = 39,
JsonKeyword = 40,
FormDataRule = 41,
FormDataKeyword = 42,
UrlEncodedRule = 43,
UrlEncodedKeyword = 44,
TextRule = 45,
TextKeyword = 46,
ResponseDeclaration = 47,
ResponseKeyword = 48,
ResponseStatus = 49,
StatusCode = 50,
ErrorStatus = 51,
ResponseTime = 52,
TimeValue = 53,
ResponseTimestamp = 54,
Timestamp = 55,
ResponseBlock = 56,
JsonObject = 57,
JsonMember = 58,
JsonValue = 59,
JsonArray = 62