Fortunately, Scala has case classes: classes that are data-rich and encapsulation-thin and have some useful features that make them quite suitable for building an AST. 幸运的是,Scala有case类:一种提供了丰富数据、使用了非常薄的封装的类,它们所具有的一些特性使它们很适合构建AST。
Because of the parent/ child relationship of PDOMNodes, the index forms a tree similar to the parser's AST. 由于多个PDOMNode间的父/子关系,该索引构造了一棵和解析器的AST类似的树。
Now comes the other half of building a DSL: We need to build a segment of code that can take some kind of textual input and turn it into an AST. 现在是构建DSL的另一半工作:我们需要构建一段代码,它可以接收某种文本输入并将其转换成一个AST。
It looks for C and C++ elements and uses them to create a generic AST. 它寻找C和C++元素并使用它们来创建一个通用AST。
Strictly speaking, what I refer to as a parse tree in the following, language theoreticians would more precisely call an AST. 严格地讲,对于我在下面提到的解析树,语言理论家更精确地把它称作AST。
Armed with that admittedly brief rundown of case classes and pattern matching, let's return to the task of creating the calculator AST. 简要了解了case类和模式匹配之后,接下来让我们回到创建计算器AST的任务上。
This form is usually that of a tree, called an AST. 这种格式通常是一种叫做AST的树。
Of course, you could just deal with things as Strings and Lists and ignore the AST part of the world, picking apart the returned Strings and Lists and re-parsing them into AST elements. 当然,您可以只与String和List打交道,而忽略AST部分,拆开返回的String和List,并重新将它们解析成AST元素。
So, a C# program can be represented by an instance of the AST. 所以,一个C程序可以由一个AST的实例来代表。
The aailable proof is ast. 现有的证据是很多的。
The paper presents an introduction to process characteristics and specific consumptions of the continuous ion exchange process developed by AST. 介绍由美国AST公司开发的连续式离子交换法生产硝酸钾的工艺流程、技术特点和消耗定额等。
The third part analyzes and investigates the main theoretic basis of this thesis-Action Space Theorem ( AST). 第三部分对本论文的主要理论依据&行为空间法则进行分析和研究;
To improve the efficiency of disk scheduling, this paper proposed an optimization algorithm of disk scheduling based on the Average Seek Time ( AST). 针对如何提高磁盘调度效率的问题,提出了一种基于平均寻道时间(AST)的磁盘调度优化算法。
Objective To reproduce a scratch-wound model in cultured rat astrocytes ( AST). 目的复制体外培养大鼠星形胶质细胞划伤模型。
The content of HA in plasma was determined by radioimmunoassay. RESULTS Pretreatment of Lef ( 4, 12, 36 mg. kg-1) significantly reduced the elevated levels of ALT. AST. 结果Lef(4,12,36mg·kg-1)能降低实验性肝纤维化小鼠血清中升高的ALT、AST、NO、HA水平和过高的肝组织中Hyp的含量。
The most common adverse effects were skin reactions and diarrhea which were generally mild ( grade 1 or 2). Only one patient withdrew from the trial because of grade ⅲ hepatic toxicity with increase in ALT and AST. 常见不良反应为Ⅰ、Ⅱ度皮肤改变和腹泻,Ⅲ度不良反应占7.6%,其中1例因转氨酶升高结束治疗。
J-911 markedly decreased the elevation of serum AST. ALT and hydroxyproline in liver tissue of hepatic fibrosis rats induced by ccl_4, the liver tissue injuries of hepatic fibrosis rats were also ameliorated. J-911还可显著降低肝纤维化大鼠血清ALT、AST水平及肝组织羟脯氨酸含量,并明显减轻肝组织病理损伤。
With the emphasis on the abstraCt syntax tree ( AST), the paper also discusses the structure of a disk file as well as the functions designed for saving and recovering the AST. 主要分析了抽象语法树(AST),讨论了磁盘文件的结构及AST的写入和复原技术。
Results: In the model group the hepatic function were abnormal, especially AST. 结果:酒粉性肝病大鼠模型表现为肝功能异常,以AST变化为显著;
Aims: To determine the frequency, etiology, mortality of extreme elevations of serum AST. 为了确定血清AST极度升高的发生率。
Conclusion: Lipid peroxidation of cardic tissue induced by ADR was attenuated by protective effects of AST. 结论:黄芪甙Ⅳ可对抗ADR引起的心肌细胞脂质过氧化损伤,保护心肌组织。
WSK recipe could raise Alb, and lower ALT and AST. 温补脾肾方能提高白蛋白和降低ALT及AST。
At the 12th weeks, rats are sacrificed to weigh the liver and compute the liver coefficient and measure TC, LPO, ALT and AST. 上述动物给药12周后腹主动脉取血后处死,取肝脏称重,计算肝脏系数、测肝脏总胆固醇(TC)含量、测肝脏脂质过氧化物(LPO)含量及ALT、AST。
Then the safety rules are constructed according to the safety pattern and the attributes of the nodes computed during the traveling of the ast. Finally the check of the safety vulnerability is realized based on the safety rules. 该方案通过分析数组访问越界安全漏洞的表现,抽象出安全模式,然后根据安全模式以及遍历ast过程中记录的节点属性构建安全规则,最后在安全规则的指导下实现对安全漏洞的检测。
Results Among the myocardium enzymes, those increased most were LDH, CPK and AST. CRP was markedly increased in bacterial pneumonia, but not 80 in other types ( almost no change in viral pneumonia). 结果:心肌酶谱增高以LDH、CPK、AST为主,CRP增高以细菌性肺炎最明显,其他类型肺炎增高不明显,尤其是病毒性肺炎CRP几乎无变化,两者差异显著。
Kangdai I can protect and restore damaged nervous tissue by enhancing the secretory function of Ast. 抗呆Ⅰ号通过增强Ast的分泌功能来保护和修复受损的神经组织。
Methods 78 patients with chronic pulmonary heart disease were examined for serum CPK, LDH, AST. 方法通过对78例慢性肺心病病人血清中CPK、LDH、AST三种酶进行检测,并对其分析。
Study results showed that LN had no obvious relation with age, sex, ALT and AST. But when LN increasing, albumin, prealbumin, CHE and FN levels decreased, and globulin and IV type collagen increased, and morbid history had lengthened. 研究发现LN与年龄、性别、ALT、AST无明显关系,而当LN升高时,与白蛋白、前白蛋白、CHE及FN的减少,与球蛋白、IV型胶原的升高,以及病史延长密切相关。
The control group had 2 cases of gastrointestinal reaction and 2 cases of unusual increase in ALT and AST. 对照组出现胃肠道反应2例,ALT、AST异常升高2例。