摘要
先简要介绍了Ada语言中的3种重载现象,并给出了表达式的二叉树存储结构,随后阐述了判别重载的基本算法,即先后对表达式分析树进行自底向上和自顶向下两遍类型匹配,来取得表达式最终的惟一合法释义。
Three kinds of overloading pheomena in Ada langunge are listed,and a binary tree structure for expression allocation is built at first.Then the basic algorithm which uses two passes for overloading resolution,one pass for bottom up analyzing and the second for top down matching,is presented.Finally an example is given.
出处
《北京航空航天大学学报》
EI
CAS
CSCD
北大核心
1997年第1期41-45,共5页
Journal of Beijing University of Aeronautics and Astronautics
关键词
程序语言
程序设计
算法
ADA语言
重载
programming language
programming
algorithms
Ada language
overloading