Label
Command: label
Description: A named marker in the pipeline that can be used as a jump target.
Arguments
-
name: The name of the label
Notes
Designates a named location in the command queue which can be referenced by jump-to or internally by the commands (usually for error handling).
Does not affect the working text.
The name argument is what the label argument of jump-to will look for.
Source Code
function label(working, command, p) {
return working.text;
}
label.title = "Label";
label.description =
"A named marker in the pipeline that can be used as a jump target.";
label.args = [
{
name: "name",
type: "string",
description: "The name of the label",
},
];
label.passthrough = true;
export default label;