CODE TEXT PROCESSING METHOD, DEVICE, COMPUTER EQUIPMENT AND STORAGE MEDIUM

The present application relates to a code text processing method, and corresponding device, computer equipment and storage medium. The method comprises: obtaining a target code text, splitting the target code text with line as a splitting unit to obtain at least one target single-line text, and obta...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: HU, FEI, HUANG, FEIFEI, ZHU, HONGLEI, GAO, YONG, SUN, HUISHENG
Format: Patent
Sprache:eng ; fre
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The present application relates to a code text processing method, and corresponding device, computer equipment and storage medium. The method comprises: obtaining a target code text, splitting the target code text with line as a splitting unit to obtain at least one target single-line text, and obtaining number of line information to which the target single-line text corresponds; segmenting the target single-line text according to a syntax parsing rule of a programming language to obtain at least one text unit of the target single-line text; obtaining feature information of the text unit, matching a corresponding rendering rule according to the feature information, and rendering the text unit according to the rendering rule; and displaying the rendered text unit at a display interface according to the number of line information to which the target single-line text corresponds.