@hashgraph/solo
Version:
An opinionated CLI tool to deploy and manage private Hedera Networks.
21 lines (20 loc) • 752 B
TypeScript
import { type Node } from './node.js';
import { LexerNode } from './lexer-node.js';
import { type KeyFormatter } from '../key-formatter.js';
export declare class LexerInternalNode extends LexerNode {
private readonly array;
private readonly arrayIndex;
private readonly _children;
constructor(parent: LexerInternalNode | null, name: string, children?: Node[], array?: boolean, arrayIndex?: boolean, formatter?: KeyFormatter);
add(child: Node): void;
remove(child: Node): void;
clear(): void;
replaceValue(child: Node, value: string): void;
get children(): Node[];
isRoot(): boolean;
isInternal(): boolean;
isLeaf(): boolean;
isArray(): boolean;
isArrayIndex(): boolean;
toObject(): object;
}