Invention Grant
- Patent Title: Method and device for supporting multi-framework syntax
-
Application No.: US16030332Application Date: 2018-07-09
-
Publication No.: US10564945B2Publication Date: 2020-02-18
- Inventor: Hongguang Dong
- Applicant: BEIJING XIAOMI MOBILE SOFTWARE CO., LTD.
- Applicant Address: CN Beijing
- Assignee: Beijing Xiaomi Mobile Software Co., Ltd.
- Current Assignee: Beijing Xiaomi Mobile Software Co., Ltd.
- Current Assignee Address: CN Beijing
- Agency: Arch & Lake LLP
- Priority: CN201710551959 20170707
- Main IPC: G06F9/44
- IPC: G06F9/44 ; G06F8/41

Abstract:
The present disclosure relates to a method and a device for supporting multi-framework syntax. The method includes a first abstract syntax tree corresponding to a HTML template and at least one JSX block is generated, a mapping relationship between each node of the first abstract syntax tree and syntax of a designated framework is determined, and the first abstract syntax tree is mapped to an abstract syntax tree of the designated framework according to the mapping relationship.
Public/Granted literature
- US20190012153A1 METHOD AND DEVICE FOR SUPPORTING MULTI-FRAMEWORK SYNTAX Public/Granted day:2019-01-10
Information query