child node:子节点;在树形结构、图结构(常见为树)或文档对象模型(DOM)中,直接从属于某个父节点(parent node)的节点。常用于计算机科学中的数据结构、XML/HTML DOM、抽象语法树(AST)等语境。(注:不同领域细节略有差异,但核心都是“父子层级关系”。)
/tʃaɪld noʊd/
A leaf node has no child nodes.
叶子节点没有子节点。
When parsing the document, the program visits each child node and extracts its text content before moving to the next branch.
在解析文档时,程序会访问每个子节点并提取其文本内容,然后再进入下一个分支。
child 原义为“孩子”,在英语里常被借用来表示“从属的、派生的”(如 child process 子进程)。node 来自拉丁语 nodus,意为“结、节点”。组合成 child node,直观表达“从属于父节点的节点”,强调层级关系。