UNPKG

@zsnout/ithkuil

Version:

A set of tools which can generate and parse romanized Ithkuil text and which can generate Ithkuil script from text and JSON data.

24 lines (23 loc) 965 B
import { MoodOrCaseScope } from "../../generate/formative/slot-8/mood-or-case-scope.js"; import { DCLeaf } from "../decompose.js"; /** * Parsed a Cn form as a {@link MoodOrCaseScope}. * * @param cn The Cn form to be parsed. * @returns An array containing the parsed {@link MoodOrCaseScope} and a boolean * value indicating whether the case scope indicates the corresponding Vn form * is an aspect. */ export declare function parseMoodOrCaseScope(cn: string): [moodOrCaseScope: MoodOrCaseScope, isAspectual: boolean]; /** * Decomposes a Cn form as a {@link MoodOrCaseScope}. * * @param cn The Cn form to be decomposed. * @returns An array containing the decomposed {@link MoodOrCaseScope} and a * boolean value indicating whether the case scope indicates the corresponding * Vn form is an aspect. */ export declare function dcMoodOrCaseScope(cn: string): [ moodOrCaseScope: DCLeaf<"Cn", "mcs", MoodOrCaseScope>, isAspectual: boolean ];