Skip to main content
Version: 3.3

Return 输出参数

1. 结构声明

class Return extends BaseNode {
name: string = '';
description: string;
typeAnnotation?: TypeAnnotation;
defaultValue?: string;
}

2. 节点示例

(1) 示例

AST 如下:

{
"concept": "Return",
"name": "result",
"description": ""
}