A parse tree for is an ordered tree whose root is , whose inner nodes are nonterminals, whose leaves are terminals or , and where the children of each inner node , read from left to right, are the right side of a production . Its yield is its leaves read from left to right. A derivation is leftmost if each step replaces the leftmost nonterminal, and rightmost if each replaces the rightmost one.
书籍暂未推出简体中文版——当前显示英文版。
Computer Science · 术语表
什么是 Parse tree, leftmost and rightmost derivation?
又称: parse tree · leftmost derivation · rightmost derivation