详细说明: - 添加了V2版本的工作流页面和结果页面 - 更新了Serena记忆文件 - 添加了详细实施计划文档 - 优化了Vite配置 - 更新了项目文档CLAUDE.md - 构建了演示系统的dist版本 - 包含了exhibition-demo的完整依赖
41 lines
1.1 KiB
TypeScript
41 lines
1.1 KiB
TypeScript
/**
|
|
* Checks if the given code point can start an identifier.
|
|
*
|
|
* @param {number | undefined} code
|
|
* Code point to check.
|
|
* @returns {boolean}
|
|
* Whether `code` can start an identifier.
|
|
*/
|
|
export function start(code: number | undefined): boolean;
|
|
/**
|
|
* Checks if the given code point can continue an identifier.
|
|
*
|
|
* @param {number | undefined} code
|
|
* Code point to check.
|
|
* @param {Options | null | undefined} [options]
|
|
* Configuration (optional).
|
|
* @returns {boolean}
|
|
* Whether `code` can continue an identifier.
|
|
*/
|
|
export function cont(code: number | undefined, options?: Options | null | undefined): boolean;
|
|
/**
|
|
* Checks if the given value is a valid identifier name.
|
|
*
|
|
* @param {string} name
|
|
* Identifier to check.
|
|
* @param {Options | null | undefined} [options]
|
|
* Configuration (optional).
|
|
* @returns {boolean}
|
|
* Whether `name` can be an identifier.
|
|
*/
|
|
export function name(name: string, options?: Options | null | undefined): boolean;
|
|
/**
|
|
* Configuration.
|
|
*/
|
|
export type Options = {
|
|
/**
|
|
* Support JSX identifiers (default: `false`).
|
|
*/
|
|
jsx?: boolean | null | undefined;
|
|
};
|