Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dist/datamodel/node/container/SlddNode.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions dist/datamodel/node/container/SlddNode.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/datamodel/node/container/SlddNode.js.map

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions dist/datamodel/node/data/MatlabVariableNode.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -485,6 +485,15 @@ export default class MatlabVariableNode extends DataNode {
static _createScalar(value: unknown, type: string, name: string, parent: BaseNode | null): MatlabVariableNode;
static parse(rawVal: unknown, name: string, parent: BaseNode | null): MatlabVariableNode;
static parseScalar(rawVal: unknown, name: string, parent: BaseNode | null): MatlabVariableNode;
/**
* Does this scalar hold, untouched, the JSON object of no shape MATLAB writes that it was read
* as (parseScalar's last arm)? `{"foo": 1}`, `{}`, or a class marker left with no class,
* `{"_array_class": null, ...}`, which only a hand edit leaves in a text dictionary (see
* unshapedValue). It is shown as the JSON it holds (_formatScalar), written back to a text
* dictionary as read (serializeValue replays `_rawInput`), and refused by the XML writers
* (serializeXml), where it was the text `[object Object]` in a double's spelling.
*/
_unshapedObject(): boolean;
/**
* struct([]) out of a text dictionary. Deliberately the same node
* `_createFromMatStruct` builds for the same value — scalar kind, 'struct' class,
Expand Down
2 changes: 1 addition & 1 deletion dist/datamodel/node/data/MatlabVariableNode.d.ts.map

Large diffs are not rendered by default.

48 changes: 46 additions & 2 deletions dist/datamodel/node/data/MatlabVariableNode.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/datamodel/node/data/MatlabVariableNode.js.map

Large diffs are not rendered by default.

21 changes: 21 additions & 0 deletions dist/datamodel/node/data/unshapedValue.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import type { ParseWarning } from '../../parser/ParseWarning.js';
/**
* The JSON `value` is, cut at SHOWN_MAX characters. A value JSON cannot spell, which only a host
* can hand in (a bigint in it), is named by its first keys. Never throws.
*/
export declare function unshapedText(value: object): string;
/** Record one object of no shape MATLAB writes, held by the node `at`. */
export declare function recordUnshapedValue(at: {
readonly matlabPath: string;
}, value: object): void;
/** What a warning names: how many, and the first one's path and text. */
export interface UnshapedValues {
count: number;
path: string;
text: string;
}
/** The objects recorded since the last call, which clears them, or null if there were none. */
export declare function takeUnshapedValues(): UnshapedValues | null;
/** The one warning for entry `part` whose read recorded `taken`. */
export declare function unshapedValueWarning(part: string, taken: UnshapedValues): ParseWarning;
//# sourceMappingURL=unshapedValue.d.ts.map
1 change: 1 addition & 0 deletions dist/datamodel/node/data/unshapedValue.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

46 changes: 46 additions & 0 deletions dist/datamodel/node/data/unshapedValue.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/datamodel/node/data/unshapedValue.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading