安庆师范学院学报(自然科学版)
安慶師範學院學報(自然科學版)
안경사범학원학보(자연과학판)
JOURNAL OF ANQING TEACHERS COLLEGE(NATURAL SCIENCE)
2008年
4期
84-88
,共5页
属性%抽象语法树%结点%综合属性%继承属性
屬性%抽象語法樹%結點%綜閤屬性%繼承屬性
속성%추상어법수%결점%종합속성%계승속성
属性是语义分析中非常重要的一个概念,因为它使得语法符号和结构有了意义,而这种意义最终将被计算机接收.属性计算是一个复杂的过程,原因在于属性间的依赖关系的紧密性以及存储结构的复杂性.抽象语法树是语法树的简化,是属性计算中很有效的一种存储结构.本文首先阐述抽象语法树的意义、结构及构造,然后对属性及相关问题作了介绍,最后根据属性文法的种类,给出相应语法结构的属性计算算法.
屬性是語義分析中非常重要的一箇概唸,因為它使得語法符號和結構有瞭意義,而這種意義最終將被計算機接收.屬性計算是一箇複雜的過程,原因在于屬性間的依賴關繫的緊密性以及存儲結構的複雜性.抽象語法樹是語法樹的簡化,是屬性計算中很有效的一種存儲結構.本文首先闡述抽象語法樹的意義、結構及構造,然後對屬性及相關問題作瞭介紹,最後根據屬性文法的種類,給齣相應語法結構的屬性計算算法.
속성시어의분석중비상중요적일개개념,인위타사득어법부호화결구유료의의,이저충의의최종장피계산궤접수.속성계산시일개복잡적과정,원인재우속성간적의뢰관계적긴밀성이급존저결구적복잡성.추상어법수시어법수적간화,시속성계산중흔유효적일충존저결구.본문수선천술추상어법수적의의、결구급구조,연후대속성급상관문제작료개소,최후근거속성문법적충류,급출상응어법결구적속성계산산법.