ASTNode.(constructor)
构造 ASTNode
类的新实例
Signature:
constructor(type: string, location: IASTNodeLocation, opt_params?: Params);
参数
参数 | 类型 | 说明 |
---|---|---|
类型 | string | 营业地点的类型。必须在 ASTNode.types 中。 |
个位置 | IASTNodeLocation | AST 中的位置。 |
opt_params | 参数 | (可选)选项字典。 |