Source code processing method and device
A processing method and source code technology, applied in the field of computer software, can solve problems such as cumbersome operation and error-prone, and achieve the effect of improving the efficiency of development
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0021] The embodiment of the present invention provides a source code processing method.
[0022] figure 1 It is a flowchart of a source code processing method according to an embodiment of the present invention. Such as figure 1 As shown, the method includes the following steps:
[0023] In step S10, the source code file containing the source code is added to the designated directory, and the source code file path is generated according to the location of the source code file in the designated directory.
[0024] Specifically, the foregoing source code may be sample code. In an alternative embodiment, the foregoing sample may be a Toolkit control sample in the Silverlight Toolkit application. In this solution, the foregoing sample code may be first Add any designated directory, and generate a path based on the specific location of the above sample code in the above designated directory, through which the above sample code can be obtained.
[0025] Optionally, multiple different sour...
Embodiment 2
[0097] The embodiment of the present invention also provides a source code processing device, such as figure 2 As shown, the device may include:
[0098] The adding unit 20 is used to add a source code file containing the source code to a designated directory, and generate a source code file path according to the location of the source code file in the designated directory.
[0099] Specifically, the above source code may be sample code. In an alternative embodiment, the above sample may be a Toolkit control sample in the Silverlight Toolkit application. In this solution, the above sample code can be first Add any designated directory, and generate a path based on the specific location of the above sample code in the above designated directory, through which the above sample code can be obtained.
[0100] The creating unit 30 is used to create an XML file using the T4 template, where the XML file contains the source code file obtained according to the source code file path.
[0101] ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com