UNPKG

@finos/legend-application-pure-ide

Version:
101 lines 2.9 kB
/** * Copyright (c) 2020-present, Goldman Sachs * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ export interface ExecutionActivity { executing: boolean; text: string; } export declare abstract class ExecutionResult { text?: string; reinit?: boolean; } export declare class ExecutionSuccessResult extends ExecutionResult { text: string; cache: boolean; modifiedFiles: string[]; reinit: boolean; } export declare class ExecutionFailureResult extends ExecutionResult { text: string; RO: boolean; line?: number; column?: number; source?: string; error: boolean; sessionError?: string; } declare class GetConceptJumpTo { RO: string; line: number; column: number; source: string; } export declare class GetConceptResult extends ExecutionResult { text: string; jumpTo: GetConceptJumpTo; } export declare class CandidateWithPackageImported { uuid: string; sourceID: string; line: number; column: number; foundName: string; } export declare class CandidateWithPackageNotImported { uuid: string; sourceID: string; line: number; column: number; foundName: string; add: boolean; messageToBeModified: string; fileToBeModified: string; lineToBeModified: number; columnToBeModified: number; } export declare class UnmatchedFunctionResult extends ExecutionFailureResult { candidateName: string; candidatesWithPackageImported: CandidateWithPackageImported[]; candidatesWithPackageNotImported: CandidateWithPackageNotImported[]; } export declare class UnknownSymbolResult extends ExecutionFailureResult { candidateName: string; candidates: CandidateWithPackageNotImported[]; } export declare class TestAttribute { id: string; parentId: string; file: string; line: string; column: string; } export declare class TestInfo { children: TestInfo[]; li_attr: TestAttribute; text: string; type?: string; } export declare class TestExecutionResult extends ExecutionResult { count: number; filterPaths: string[]; path: string; pctAdapter?: string | undefined; relevantTestsOnly: boolean; runnerId: number; tests: TestInfo[]; } export declare const deserializeExecutionResult: (value: Record<PropertyKey, unknown>) => ExecutionResult; export {}; //# sourceMappingURL=Execution.d.ts.map