forked from FINAKON/HelpProject
1. Initial Commit - a boiler plate code and POC to realize the concept of context sensitive help 2. Frontend code written in ReactJS 3. Backend code written in Java, Spring Boot Framework 4. Frontend Start: pre-requisites : node, npm npm run dev ==> to start the frontend vite server 5. Backend Start: pre-requisites : java, mvn mvn spring-boot:run ==> to start the backend server 6. Visit http://localhost:5173/ for basic demo of help, press F1 in textboxes 7. Visit http://localhost:5173/editor and enter "admin123" to add/modify texts. Happy Coding !!! Thank you, Bhargava.
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;
|
|
};
|