跳到主要内容

label 插入标签

label

类型: MethodDeclaration

所属类: CommandFunctionList

定义位置: command.ts

描述

插入标签

参数

参数名类型描述默认值
\{ name \}{ name: string }--

返回值

类型: null

源代码

位置: 第 4592 行

protected label({ name }: { name: string }): null {
const { commands, index } = this.stack.get();
this.labels[name] = { commands, index };
return null;
}

文档生成时间:2026/2/1 16:51:39