blockly
Version:
Blockly is a library for building visual programming editors.
25 lines • 1.77 kB
TypeScript
/**
* @license
* Copyright 2012 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import type { Block } from '../../core/block.js';
import type { PythonGenerator } from './python_generator.js';
import { Order } from './python_generator.js';
export declare function text(block: Block, generator: PythonGenerator): [string, Order];
export declare function text_join(block: Block, generator: PythonGenerator): [string, Order];
export declare function text_append(block: Block, generator: PythonGenerator): string;
export declare function text_length(block: Block, generator: PythonGenerator): [string, Order];
export declare function text_isEmpty(block: Block, generator: PythonGenerator): [string, Order];
export declare function text_indexOf(block: Block, generator: PythonGenerator): [string, Order];
export declare function text_charAt(block: Block, generator: PythonGenerator): [string, Order];
export declare function text_getSubstring(block: Block, generator: PythonGenerator): [string, Order];
export declare function text_changeCase(block: Block, generator: PythonGenerator): [string, Order];
export declare function text_trim(block: Block, generator: PythonGenerator): [string, Order];
export declare function text_print(block: Block, generator: PythonGenerator): string;
export declare function text_prompt_ext(block: Block, generator: PythonGenerator): [string, Order];
export declare const text_prompt: typeof text_prompt_ext;
export declare function text_count(block: Block, generator: PythonGenerator): [string, Order];
export declare function text_replace(block: Block, generator: PythonGenerator): [string, Order];
export declare function text_reverse(block: Block, generator: PythonGenerator): [string, Order];
//# sourceMappingURL=text.d.ts.map