UNPKG

blueshell

Version:

A Behavior Tree implementation in modern Javascript

28 lines (27 loc) 1.35 kB
import { Session } from 'inspector'; import { ClassMethodNameKey, BreakpointInfo, BreakpointData, NodeMethodInfo } from './nodeManagerTypes'; export declare class NoObjectIdError extends Error { constructor(key: string); } export declare class NoFunctionObjectIdError extends Error { constructor(objectId: string); } export declare class NoBreakpointForBreakpointError extends Error { constructor(functionObjectId: string); } export declare class NoBreakpointIdForBreakpointError extends Error { constructor(functionObjectId: string); } export declare class BreakPointIdRequiredError extends Error { constructor(); } export declare namespace RuntimeWrappers { function getObjectIdFromRuntimeEvaluate(session: Session, key: ClassMethodNameKey): Promise<string>; function getFunctionObjectIdFromRuntimeProperties(session: Session, objectId: string): Promise<string>; function setBreakpointOnFunctionCall(session: Session, functionObjectId: string, condition: string, breakpointInfo: BreakpointInfo): Promise<void>; function removeBreakpointFromFunction(session: Session, breakpointInfo: BreakpointInfo): Promise<void>; } export declare namespace Utils { function createConditionString(breakpointDataArray: Array<BreakpointData>): string; function getMethodInfoForObject(obj: Object): NodeMethodInfo[]; }