首页> 外国专利> CONDITIONAL COMPILATION PREPROCESSING METHOD, TERMINAL AND STORAGE MEDIUM

CONDITIONAL COMPILATION PREPROCESSING METHOD, TERMINAL AND STORAGE MEDIUM

机译:条件编译预处理方法,终端和存储介质

摘要

A conditional compilation preprocessing method, comprising: acquiring an original program text to be processed (202), analyzing the original program text, discovering a corresponding matching keyword according to a preset regular expression, and outputting a corresponding label (204), discovering a corresponding matching event according to the label and preset conditional compilation syntax rules (206), determining, according to the current state and the event, a corresponding processing action (208), and performing corresponding processing of the original program text according to the determined processing action, and outputting a processed target program text (210).
机译:一种条件编译预处理方法,包括:获取待处理的原始程序文本(202),分析所述原始程序文本,根据预设的正则表达式发现对应的匹配关键字,输出对应的标签(204),发现对应的标签。根据标签和预设的条件编译语法规则,匹配事件(206),根据当前状态和事件,确定相应的处理动作(208),并根据确定的处理动作对原始程序文本进行相应的处理,并输出处理后的目标程序文本(210)。

著录项

  • 公开/公告号WO2018161509A1

    专利类型

  • 公开/公告日2018-09-13

    原文格式PDF

  • 申请/专利权人 PAX COMPUTER TECHNOLOGY (SHENZHEN) CO. LTD;

    申请/专利号WO2017CN99747

  • 发明设计人 TU QINKUI;

    申请日2017-08-30

  • 分类号G06F9/45;

  • 国家 WO

  • 入库时间 2022-08-21 12:42:46

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号