@lcap/asl
Version:
NetEase Application Specific Language
33 lines (32 loc) • 644 B
TypeScript
import { ExpressionNode, LOGIC_TYPE } from '../LogicItem';
import { DestinationParam } from './DestinationParam';
/**
* 跳转页面
* @TODO: 当前类目前主要用于生成文档
*/
export declare class Destination extends ExpressionNode {
/**
* 逻辑节点类型
*/
readonly type: LOGIC_TYPE;
/**
* 页面路径
*/
readonly page: string;
/**
* URL
*/
readonly url: string;
/**
* Code
*/
readonly code: string;
/**
* 跳转页面参数
*/
readonly params: Array<DestinationParam>;
/**
* 生成 JS 脚本
*/
toScript(): string;
}