Library function typesetting method and device, electronic equipment and readable medium
By reading keywords from the compiler's external library file, trimming function blocks, and writing them into a second library file according to a preset template, the problem of unclear library function formatting is solved, improving formatting efficiency and source code readability.
CN115495060BActive Publication Date: 2026-06-30KYLAND TECH CO LTD
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- KYLAND TECH CO LTD
- Filing Date
- 2022-09-28
- Publication Date
- 2026-06-30
Smart Images

Figure CN115495060B_ABST
Abstract
This application relates to a method, apparatus, electronic device, and readable medium for typesetting library functions. The method includes: reading keywords from a first library file, wherein the first library file is an initial typesetting file containing multiple library functions; using the keywords to cut out multiple function blocks from the first library file; and writing the multiple function blocks into a second library file according to a preset template to complete the reformatting of multiple library functions in the first library file. By typesetting the function blocks in the library file, the position of each function block is determined, solving the problem that additional time is required to find the location of function blocks when adding them.
Need to check novelty before this filing date? Find Prior Art