bc-minecraft-bedrock-project
Version:
The typescript library responsible for reading/parsing minecraft bedrock data
15 lines • 984 B
TypeScript
import { Documentated } from 'bc-minecraft-bedrock-shared';
import { TextDocument } from './text-document';
/** */
export declare namespace Documentation {
/**Retrieves the comment from the first line or uses the given default to generate a default line of documentation
* @param receiver The receiving object
* @param doc The text document to read from
* @param ifDefault The default text is nothing is found in the document*/
function setDoc(receiver: Documentated, doc: TextDocument, ifDefault?: string | (() => string) | undefined): void;
/**Retrieves the comment from the first line or uses the given default to generate a default line of documentation
* @param doc The text document to read from
* @param ifDefault The default text is nothing is found in the document*/
function getDoc(doc: TextDocument, ifDefault?: string | (() => string) | undefined, offset?: number): string | undefined;
}
//# sourceMappingURL=documentation.d.ts.map