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/core/DataModel.d.ts.map

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

23 changes: 11 additions & 12 deletions dist/core/DataModel.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/core/DataModel.js.map

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions dist/datamodel/node/BaseNode.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,17 @@ export type ElementSubscript = {
* `_encoded`, so the walk stops at the first container and answers null for them.
*/
export declare function encodedHolderOf(node: BaseNode | null | undefined): BaseNode | null;
/**
* The prop in `props` that an edit naming `name` is an edit of: the one whose key or column is
* `name`, which is how an edit committed in the 'Value' column reaches the atom that owns it (a
* Variant's Condition/Specification), or else the one whose node field (`nodeProperty`) is
* `name`. The field is the same property under MATLAB's spelling (`Complexity` for the
* `complexity` column), so an edit by that name is checked, and its undo captured, as the
* column's is (C-030). Key and column first, so a prop's own name wins over another's field.
* One rule for DataNode._propFor, which every per-property gate asks, and for the session's
* capture of the value an edit replaces (DataModel.readPropertyValue).
*/
export declare function propNamed(props: PropClass[], name: string): PropClass | undefined;
export default class BaseNode {
name: string;
parent: BaseNode | null;
Expand Down
Loading
Loading