UNPKG

python2ib

Version:

Convert Python code to IB Pseudocode format

21 lines 897 B
import { ConvertOptions } from './types/config.js'; /** * Convert Python code to IB Pseudocode format * @param pythonCode - The Python source code to convert * @param options - Conversion options (optional) * @returns The converted IB Pseudocode as a string */ export declare function convertPythonToIB(pythonCode: string, options?: ConvertOptions): string; /** * Convert Python code to IB Pseudocode with default options * @param pythonCode - The Python source code to convert * @returns The converted IB Pseudocode as a string */ export declare function convertPythonToIBDefault(pythonCode: string): string; /** * Validate Python code syntax before conversion * @param pythonCode - The Python source code to validate * @returns true if valid, throws error if invalid */ export declare function validatePythonCode(pythonCode: string): boolean; //# sourceMappingURL=converter.d.ts.map