@aire-ux/aire-condensation
Version:
Client-side serialization library for Aire-UX
24 lines (23 loc) • 524 B
TypeScript
export interface Lookup {
lookup<T>(name: string | number): T;
}
export declare type Invocation = {
path: Path;
namespace: string | number;
};
export declare enum SegmentType {
Property = 0,
Invocation = 1,
Reference = 2
}
export declare type Segment = {
name: string;
next: Segment | undefined;
segmentType: SegmentType;
formalParameterNames: string[] | undefined;
};
declare type Path = {
segment: Segment;
};
export declare const parse: (seq: string) => Invocation;
export {};