@lcap/asl
Version:
NetEase Application Specific Language
29 lines (28 loc) • 578 B
TypeScript
import { ExpressionNode, LOGIC_TYPE } from '../LogicItem';
/**
* 标识符
* @TODO: 当前类目前主要用于生成文档
*/
export declare class Identifier extends ExpressionNode {
/**
* 逻辑节点类型
*/
readonly type: LOGIC_TYPE;
/**
* 标识符名称
*/
readonly name: string;
/**
* 标识符代码
* @example ID_c7019c2dfcfb4efba65a5ae98b1c8d8b
*/
readonly code: string;
/**
* 变量引用
*/
readonly schemaRef: string;
/**
* 生成 JS 脚本
*/
toScript(): string;
}