发明名称 Delegation of expression tree evaluation
摘要 Evaluating an expression tree. A method includes, at a first domain, accessing an expression tree. The expression tree comprises a plurality of nested expressions. The plurality of nested expressions spans a plurality of domains. The expressions in the expression tree are expressed in a common format in spite of the different expressions of the expression tree being intended to be evaluated by different domains. At the first domain, the method includes evaluating one or more references to local variables included in the plurality of nested expressions. The method further includes determining that one or more expressions in the plurality of expressions are to be evaluated by a different domain. The method further includes expanding the one or more expressions in the plurality of expressions to be evaluated by different domains to allow the one or more expressions to be evaluated by the different domain.
申请公布号 US9524323(B2) 申请公布日期 2016.12.20
申请号 US201213603966 申请日期 2012.09.05
申请人 Microsoft Technology Licensing, LLC 发明人 Meek Colin Joseph;De Smet Bart J. F.;Meijer Henricus Johannes Maria;James Alexander Douglas;Raman Balan Sethu;Moctezuma Rafael de Jesús Fernández
分类号 G06F17/30;G06F17/22;G06F9/45 主分类号 G06F17/30
代理机构 代理人 Chen Nicholas;Drakos Kate;Minhas Micky
主权项 1. A method, implemented at a computer system that includes one or more processors, of evaluating an expression tree, the method comprising: at a first domain, accessing an expression tree comprising a plurality of nested expressions, the plurality of nested expressions spanning a plurality of domains, and including: (i) one or more first nested expressions that are expressed in a first dialect of the first domain in a manner that they are expandable to a second dialect of a second domain for evaluation by the second domain, and(ii) one or more second nested expressions that are expressed in the first dialect of the first domain in a manner that they are expandable to a third dialect of a third domain for evaluation by the third domain,wherein the first dialect, the second dialect, and the third dialect are each different from each other, and wherein the expression tree contains all information needed to expand the one or more first nested expressions from the first dialect to the second dialect and contains all information needed to expand the one or more second nested expressions from the first dialect to the third dialect; determining that the one or more first expressions are to be evaluated by the second domain, and that the one or more second expressions are to be evaluated by the third domain; and based at least on determining that the one or more first expressions and the one or more second expressions are to evaluated by the second and third domains, respectively, expanding the one or more first expressions to the second dialect, and expanding the one or more second expressions to the third dialect.
地址 Redmond WA US