首页> 外国专利> Partial on-demand lazy semantic analysis

Partial on-demand lazy semantic analysis

机译:部分按需懒惰语义分析

摘要

Computing responses to semantic queries. A method includes accessing a plurality of objects that represent source code for an input program. The source code is transformed into a plurality of immutable objects that are structured such that the immutable objects can be used to derive any response as defined by the semantic rules about the source code. A query is received from a requestor requesting a semantic characteristic of the input program. The semantic characteristic is calculated. The semantic characteristic is returned to the requestor. The semantic characteristic is cached in a cache. Information describing a dependency between the cached semantic characteristic and one or more of the objects in the plurality of objects is stored.
机译:计算对语义查询的响应。一种方法包括访问代表输入程序的源代码的多个对象。源代码被转换为多个不可变的对象,这些对象的结构使得不可变的对象可用于派生任何关于源代码的语义规则所定义的响应。从请求者接收查询,请求输入程序的语义特征。计算语义特征。语义特征返回给请求者。语义特征被缓存在缓存中。存储描述高速缓存的语义特征与多个对象中的一个或多个对象之间的依赖性的信息。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号