Method and device for supporting multi-framework syntax
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
Information query
Patent Agency Ranking
0/0