24 lines
826 B
TypeScript
24 lines
826 B
TypeScript
/**
|
|
* @fileoverview Utility Library
|
|
* @author 루밀LuMir(lumirlumir)
|
|
*/
|
|
/**
|
|
* @import { MemberNode } from "@humanwhocodes/momoa";
|
|
* @import { JSONSourceCode } from "./languages/json-source-code.js";
|
|
*/
|
|
/**
|
|
* Gets the `MemberNode`'s key value.
|
|
* @param {MemberNode} node The node to get the key from.
|
|
* @returns {string} The key value.
|
|
*/
|
|
export function getKey(node: MemberNode): string;
|
|
/**
|
|
* Gets the `MemberNode`'s raw key value.
|
|
* @param {MemberNode} node The node to get the raw key from.
|
|
* @param {JSONSourceCode} sourceCode The JSON source code object.
|
|
* @returns {string} The raw key value.
|
|
*/
|
|
export function getRawKey(node: MemberNode, sourceCode: JSONSourceCode): string;
|
|
import type { MemberNode } from "@humanwhocodes/momoa";
|
|
import type { JSONSourceCode } from "./languages/json-source-code.js";
|