⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 5.1.3b.htm

📁 建立《编译原理网络课程》的目的不仅使学生掌握构造编译程序的原理和技术
💻 HTM
字号:
<html>

<head>
<title>编译原理</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link type="text/css" rel="stylesheet" href="../css/specification.css">
</head>

<BODY>

<table align=right width=300>
<tr>
<td><img src="../images/previous.gif" onmouseover="javascript:style.cursor='hand'" onclick="vbscript:window.location.href='5.1.3.htm'"></td>
<td><img src="../images/next.gif" onmouseover="javascript:style.cursor='hand'" onclick="vbscript:window.location.href='5.1.4.htm'"></img></td>
</tr>
</table>
<br><br>





<table><tr><td>&nbsp&nbsp&nbsp&nbsp</td>
<td class="content">
<p>
图5.3表示的是语句<b>real</b> <b>id1</b>,<b>id2</b>,<b>id3</b>的分析树。三个L结点的L.in值分别给出了标识符<b>id1</b>,<b>id2</b>,和 
<b>id3</b>的类型。这些值是通过计算根结点的左子结点的属性值T.type,,然后自顶向下在根结点的右子树中计算三个L结点的L.in来确定的。在每一个L结点处,我们调用过程addtype,在符号表中插入信息,说明该结点的右子结点上的标识符的类型为 
<b>real</b> 
</p>
</td>
</tr>
</table>

<p align=center><img src="t53.gif" width="357" height="269"></p>
<p align=center>图 5.3 &nbsp在每一个L节点处都带有继承属性in的分析树</p>




<br>
<table align=right width=300>
<tr>
<td><img src="../images/previous.gif" onmouseover="javascript:style.cursor='hand'" onclick="vbscript:window.location.href='5.1.3.htm'"></td>
<td><img src="../images/next.gif" onmouseover="javascript:style.cursor='hand'" onclick="vbscript:window.location.href='5.1.4.htm'"></img></td>
</tr>
</table>

</BODY>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -