Skip to content

Commit e66c19b

Browse files
committed
feat: 增加flatbuffer的variables字段
1 parent 4a48b79 commit e66c19b

File tree

6 files changed

+2235
-1
lines changed

6 files changed

+2235
-1
lines changed

__test__/fixure/style.bin

24 Bytes
Binary file not shown.

flatbuffers/stylesheet.fbs

+6
Original file line numberDiff line numberDiff line change
@@ -81,13 +81,19 @@ table PseudoKey {
8181
is_int:bool;
8282
}
8383

84+
table KeyValueString {
85+
key:string;
86+
value:string;
87+
}
88+
8489
table Style {
8590
declarations:[DeclarationTuple];
8691
media:uint8;
8792
pseudo:uint8;
8893
pseudo_key:[PseudoKey];
8994
pseudo_val:string;
9095
selector:[Selector];
96+
variables:[KeyValueString];
9197
}
9298

9399
table Font {

0 commit comments

Comments
 (0)