quicktype-core 23.0.174 → 23.0.175
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -4,7 +4,7 @@ import { type RenderContext } from "../../Renderer";
|
|
|
4
4
|
import { type OptionValues } from "../../RendererOptions";
|
|
5
5
|
import { type Sourcelike } from "../../Source";
|
|
6
6
|
import { type TargetLanguage } from "../../TargetLanguage";
|
|
7
|
-
import { ClassType, type Type } from "../../Type";
|
|
7
|
+
import { ClassType, EnumType, type Type, UnionType } from "../../Type";
|
|
8
8
|
import { type elixirOptions } from "./language";
|
|
9
9
|
export declare class ElixirRenderer extends ConvenienceRenderer {
|
|
10
10
|
private readonly _options;
|
|
@@ -24,15 +24,15 @@ export declare class ElixirRenderer extends ConvenienceRenderer {
|
|
|
24
24
|
private patternMatchClauseDecode;
|
|
25
25
|
private patternMatchClauseEncode;
|
|
26
26
|
private sortAndFilterPatternMatchTypes;
|
|
27
|
-
|
|
27
|
+
protected emitPatternMatches(types: Type[], name: Sourcelike, parentName: Sourcelike, suffix?: string, optional?: boolean): void;
|
|
28
28
|
private nameOfTransformFunction;
|
|
29
29
|
private fromDynamic;
|
|
30
30
|
private toDynamic;
|
|
31
|
-
|
|
31
|
+
protected emitBlock(source: Sourcelike, emit: () => void): void;
|
|
32
32
|
protected emitDescriptionBlock(lines: Sourcelike[]): void;
|
|
33
|
-
|
|
33
|
+
protected emitModule(c: ClassType, moduleName: Name): void;
|
|
34
34
|
private isValidAtom;
|
|
35
|
-
|
|
36
|
-
|
|
35
|
+
protected emitEnum(e: EnumType, enumName: Name): void;
|
|
36
|
+
protected emitUnion(_u: UnionType, _unionName: Name): void;
|
|
37
37
|
protected emitSourceStructure(): void;
|
|
38
38
|
}
|