bc-minecraft-bedrock-project
Version:
The typescript library responsible for reading/parsing minecraft bedrock data
10 lines • 456 B
TypeScript
/**
* Returns the index of the first `#` character that is not inside a
* double-quoted string, or -1 if no such character exists.
*
* This correctly identifies inline comments (e.g. `kill @s # comment`)
* while ignoring `#` inside string arguments (e.g. `summon cow "#asdf"`).
*/
export declare function findMcfunctionCommentStart(line: string): number;
export declare function GetComment(line: string): string;
//# sourceMappingURL=comment.d.ts.map