@foxglove/omgidl-parser
Version:
Parse OMG IDL to flattened definitions for serialization
8 lines • 587 B
TypeScript
import { AnyIDLNode } from "./IDLNodes/interfaces";
import { AnyASTNode } from "./astTypes";
import { IDLMessageDefinition } from "./types";
/** Initializes map of IDL nodes to their scoped namespaces */
export declare function buildMap(definitions: AnyASTNode[]): Map<string, AnyIDLNode>;
/** Convert to IDL Message Definitions for serialization and compatibility with Foxglove's Raw Message panel. Returned in order of original definitions*/
export declare function toIDLMessageDefinitions(map: Map<string, AnyIDLNode>): IDLMessageDefinition[];
//# sourceMappingURL=processIDL.d.ts.map