V2EX  ›  英汉词典

Child Node

释义 Definition

child node:子节点;在树形结构、图结构(常见为树)或文档对象模型(DOM)中,直接从属于某个父节点(parent node)的节点。常用于计算机科学中的数据结构、XML/HTML DOM、抽象语法树(AST)等语境。(注:不同领域细节略有差异,但核心都是“父子层级关系”。)

发音 Pronunciation

/tʃaɪld noʊd/

例句 Examples

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.
在解析文档时,程序会访问每个子节点并提取其文本内容,然后再进入下一个分支。

词源 Etymology

child 原义为“孩子”,在英语里常被借用来表示“从属的、派生的”(如 child process 子进程)。node 来自拉丁语 nodus,意为“结、节点”。组合成 child node,直观表达“从属于父节点的节点”,强调层级关系。

相关词 Related Words

文学/著作中的用例 Literary Works

  • Introduction to Algorithms(Cormen, Leiserson, Rivest, Stein):在树与相关数据结构的讲解中常用 child node 描述父子节点关系。
  • Algorithms(Robert Sedgewick, Kevin Wayne):在二叉树、搜索树、遍历等章节中出现 child node 的表述。
  • DOM 相关规范与书籍(如 DOM Level 2 Core Specification):以 child node(s) 描述文档节点的层级与访问方式(如遍历子节点列表)。
  • Compilers: Principles, Techniques, and Tools(“龙书”):在语法树/抽象语法树的结构描述中会用到“父节点/子节点”的术语体系(包含 child node 的表达)。
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   684 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 12ms · UTC 20:55 · PVG 04:55 · LAX 12:55 · JFK 15:55
♥ Do have faith in what you're doing.