asmimproved-dbgmits
Version:
Provides the ability to control GDB and LLDB programmatically via GDB/MI.
32 lines (23 loc) • 645 B
TypeScript
// Copyright (c) 2015 Vadim Macagon
// MIT License, see LICENSE file for full terms.
// Type definitions for the generated MI output parser.
// NOTE: This is an external module in TypeScript parlance.
import { RecordType } from './mi_output';
declare module MIOutputParser {
export interface Record {
token?: string;
recordType: RecordType;
data: any;
}
export function parse(input: string): Record;
export class SyntaxError {
line: number;
column: number;
offset: number;
expected: any[];
found: any;
name: string;
message: string;
}
} // module MIOutputParser
export = MIOutputParser;