Automatic code generation method and device
The invention provides an automatic code generation method and device, and the method comprises the steps: carrying out the analysis of a network interface document obtained from a server side based on a preset analysis rule, obtaining a target parameter, and generating a frame code based on the tar...
Gespeichert in:
Hauptverfasser: | , , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention provides an automatic code generation method and device, and the method comprises the steps: carrying out the analysis of a network interface document obtained from a server side based on a preset analysis rule, obtaining a target parameter, and generating a frame code based on the target parameter; the method comprises the following steps: acquiring a labeling file for describing a page element through a plug-in, analyzing the labeling file to obtain the page element and a corresponding attribute value, and preprocessing the page element based on a preset condition and the attribute value of the page element; arranging the page elements in the layout of the target page based on the preprocessed page elements, the corresponding attribute values and a preset layout rule, and generating page layout codes based on the layout of the target page; and outputting a frame code and the page layout code. The frame code is generated based on the network interface document, and the generation efficiency of |
---|