blockly 11.1.1 → 11.2.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/blockly.min.js +551 -525
- package/blockly.mjs +1 -0
- package/blockly_compressed.js +519 -493
- package/blockly_compressed.js.map +1 -1
- package/blocks_compressed.js +32 -32
- package/blocks_compressed.js.map +1 -1
- package/core/block.d.ts +20 -14
- package/core/block_svg.d.ts +42 -9
- package/core/blockly.d.ts +11 -147
- package/core/blockly_options.d.ts +2 -2
- package/core/browser_events.d.ts +2 -2
- package/core/bubbles/bubble.d.ts +2 -2
- package/core/bubbles/mini_workspace_bubble.d.ts +3 -3
- package/core/bubbles/text_bubble.d.ts +1 -1
- package/core/bubbles/textinput_bubble.d.ts +6 -1
- package/core/bubbles.d.ts +2 -2
- package/core/clipboard/workspace_comment_paster.d.ts +3 -3
- package/core/clipboard.d.ts +2 -2
- package/core/comments/comment_view.d.ts +10 -3
- package/core/comments/rendered_workspace_comment.d.ts +10 -10
- package/core/comments/workspace_comment.d.ts +2 -2
- package/core/comments.d.ts +1 -1
- package/core/component_manager.d.ts +8 -0
- package/core/connection.d.ts +3 -3
- package/core/dragging/block_drag_strategy.d.ts +3 -1
- package/core/dragging/bubble_drag_strategy.d.ts +3 -1
- package/core/dragging/comment_drag_strategy.d.ts +8 -1
- package/core/dragging/dragger.d.ts +2 -2
- package/core/dragging.d.ts +2 -2
- package/core/dropdowndiv.d.ts +3 -3
- package/core/events/events.d.ts +67 -127
- package/core/events/events_abstract.d.ts +0 -1
- package/core/events/events_block_change.d.ts +2 -1
- package/core/events/events_block_create.d.ts +3 -2
- package/core/events/events_block_delete.d.ts +3 -2
- package/core/events/events_block_drag.d.ts +3 -2
- package/core/events/events_block_field_intermediate_change.d.ts +2 -1
- package/core/events/events_block_move.d.ts +3 -2
- package/core/events/events_bubble_open.d.ts +4 -3
- package/core/events/events_click.d.ts +3 -2
- package/core/events/events_comment_base.d.ts +1 -1
- package/core/events/events_comment_change.d.ts +8 -2
- package/core/events/events_comment_collapse.d.ts +3 -2
- package/core/events/events_comment_create.d.ts +8 -2
- package/core/events/events_comment_delete.d.ts +8 -2
- package/core/events/events_comment_drag.d.ts +51 -0
- package/core/events/events_comment_move.d.ts +9 -3
- package/core/events/events_comment_resize.d.ts +68 -0
- package/core/events/events_marker_move.d.ts +2 -1
- package/core/events/events_selected.d.ts +3 -2
- package/core/events/events_theme_change.d.ts +3 -2
- package/core/events/events_toolbox_item_select.d.ts +3 -2
- package/core/events/events_trashcan_open.d.ts +3 -2
- package/core/events/events_var_base.d.ts +1 -1
- package/core/events/events_var_create.d.ts +3 -2
- package/core/events/events_var_delete.d.ts +3 -2
- package/core/events/events_var_rename.d.ts +3 -2
- package/core/events/events_viewport.d.ts +3 -2
- package/core/events/predicates.d.ts +90 -0
- package/core/events/type.d.ts +79 -0
- package/core/events/utils.d.ts +93 -125
- package/core/events/workspace_events.d.ts +2 -1
- package/core/extensions.d.ts +1 -1
- package/core/field.d.ts +1 -1
- package/core/field_dropdown.d.ts +34 -0
- package/core/field_input.d.ts +1 -1
- package/core/field_label.d.ts +6 -0
- package/core/flyout_base.d.ts +1 -1
- package/core/flyout_button.d.ts +6 -1
- package/core/generator.d.ts +3 -2
- package/core/gesture.d.ts +3 -3
- package/core/grid.d.ts +7 -1
- package/core/icons/comment_icon.d.ts +5 -6
- package/core/icons/icon.d.ts +1 -1
- package/core/icons/mutator_icon.d.ts +3 -3
- package/core/icons/warning_icon.d.ts +2 -2
- package/core/icons.d.ts +5 -5
- package/core/inputs/input.d.ts +1 -1
- package/core/inputs.d.ts +3 -3
- package/core/interfaces/i_ast_node_location_with_block.d.ts +1 -1
- package/core/interfaces/i_comment_icon.d.ts +2 -2
- package/core/interfaces/i_drag_target.d.ts +1 -1
- package/core/interfaces/i_flyout.d.ts +3 -3
- package/core/interfaces/i_legacy_procedure_blocks.d.ts +2 -2
- package/core/interfaces/i_metrics_manager.d.ts +2 -2
- package/core/interfaces/i_positionable.d.ts +1 -1
- package/core/interfaces/i_selectable.d.ts +1 -1
- package/core/interfaces/i_serializer.d.ts +2 -2
- package/core/interfaces/i_toolbox.d.ts +3 -3
- package/core/keyboard_nav/ast_node.d.ts +1 -1
- package/core/layer_manager.d.ts +1 -1
- package/core/layers.d.ts +0 -2
- package/core/procedures.d.ts +3 -3
- package/core/registry.d.ts +6 -6
- package/core/rendered_connection.d.ts +10 -5
- package/core/renderers/common/block_rendering.d.ts +3 -30
- package/core/renderers/common/i_path_object.d.ts +2 -2
- package/core/renderers/common/info.d.ts +1 -1
- package/core/renderers/common/marker_svg.d.ts +5 -5
- package/core/renderers/zelos/constants.d.ts +1 -1
- package/core/serialization/procedures.d.ts +2 -2
- package/core/serialization/workspace_comments.d.ts +1 -1
- package/core/serialization.d.ts +3 -3
- package/core/shortcut_registry.d.ts +70 -10
- package/core/toolbox/toolbox.d.ts +1 -6
- package/core/tooltip.d.ts +1 -1
- package/core/trashcan.d.ts +1 -6
- package/core/utils/drag.d.ts +33 -0
- package/core/utils/rect.d.ts +26 -0
- package/core/utils/size.d.ts +1 -1
- package/core/variables_dynamic.d.ts +1 -1
- package/core/workspace.d.ts +4 -5
- package/core/workspace_svg.d.ts +4 -6
- package/core/xml.d.ts +1 -1
- package/dart_compressed.js.map +1 -1
- package/generators/dart/dart_generator.d.ts +4 -0
- package/generators/dart/lists.d.ts +0 -3
- package/generators/dart/procedures.d.ts +0 -3
- package/generators/dart/text.d.ts +0 -3
- package/generators/javascript/javascript_generator.d.ts +4 -0
- package/generators/javascript/lists.d.ts +0 -3
- package/generators/javascript/procedures.d.ts +0 -3
- package/generators/javascript/text.d.ts +0 -3
- package/generators/lua/lists.d.ts +0 -3
- package/generators/lua/lua_generator.d.ts +6 -0
- package/generators/lua/procedures.d.ts +0 -3
- package/generators/lua/text.d.ts +0 -3
- package/generators/lua.d.ts +0 -4
- package/generators/php/lists.d.ts +1 -1
- package/generators/php/logic.d.ts +1 -1
- package/generators/php/math.d.ts +1 -1
- package/generators/php/php_generator.d.ts +4 -0
- package/generators/php/procedures.d.ts +1 -1
- package/generators/php/text.d.ts +1 -4
- package/generators/php/variables.d.ts +1 -1
- package/generators/php.d.ts +0 -5
- package/generators/python/lists.d.ts +1 -1
- package/generators/python/procedures.d.ts +1 -1
- package/generators/python/python_generator.d.ts +4 -0
- package/generators/python/text.d.ts +1 -1
- package/generators/python.d.ts +0 -5
- package/index.mjs +1 -0
- package/javascript_compressed.js.map +1 -1
- package/lua_compressed.js.map +1 -1
- package/media/1x1.gif +0 -0
- package/media/click.mp3 +0 -0
- package/media/click.ogg +0 -0
- package/media/click.wav +0 -0
- package/media/delete.mp3 +0 -0
- package/media/delete.ogg +0 -0
- package/media/delete.wav +0 -0
- package/media/disconnect.mp3 +0 -0
- package/media/disconnect.ogg +0 -0
- package/media/disconnect.wav +0 -0
- package/media/handclosed.cur +0 -0
- package/media/handdelete.cur +0 -0
- package/media/handopen.cur +0 -0
- package/media/pilcrow.png +0 -0
- package/media/quote0.png +0 -0
- package/media/quote1.png +0 -0
- package/media/sprites.png +0 -0
- package/package.json +16 -13
- package/php_compressed.js.map +1 -1
- package/python_compressed.js.map +1 -1
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
* Copyright 2014 Google LLC
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
*/
|
|
6
|
+
/**
|
|
7
|
+
* @file Dart code generator class, including helper methods for
|
|
8
|
+
* generating Dart for blocks.
|
|
9
|
+
*/
|
|
6
10
|
import type { Block } from '../../core/block.js';
|
|
7
11
|
import { CodeGenerator } from '../../core/generator.js';
|
|
8
12
|
import type { Workspace } from '../../core/workspace.js';
|
|
@@ -3,9 +3,6 @@
|
|
|
3
3
|
* Copyright 2014 Google LLC
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
*/
|
|
6
|
-
/**
|
|
7
|
-
* @file Generating Dart for list blocks.
|
|
8
|
-
*/
|
|
9
6
|
import type { Block } from '../../core/block.js';
|
|
10
7
|
import type { DartGenerator } from './dart_generator.js';
|
|
11
8
|
import { Order } from './dart_generator.js';
|
|
@@ -3,9 +3,6 @@
|
|
|
3
3
|
* Copyright 2014 Google LLC
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
*/
|
|
6
|
-
/**
|
|
7
|
-
* @file Generating Dart for procedure blocks.
|
|
8
|
-
*/
|
|
9
6
|
import type { Block } from '../../core/block.js';
|
|
10
7
|
import type { DartGenerator } from './dart_generator.js';
|
|
11
8
|
import { Order } from './dart_generator.js';
|
|
@@ -3,9 +3,6 @@
|
|
|
3
3
|
* Copyright 2014 Google LLC
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
*/
|
|
6
|
-
/**
|
|
7
|
-
* @file Generating Dart for text blocks.
|
|
8
|
-
*/
|
|
9
6
|
import type { Block } from '../../core/block.js';
|
|
10
7
|
import type { DartGenerator } from './dart_generator.js';
|
|
11
8
|
import { Order } from './dart_generator.js';
|
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
* Copyright 2012 Google LLC
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
*/
|
|
6
|
+
/**
|
|
7
|
+
* @file JavaScript code generator class, including helper methods for
|
|
8
|
+
* generating JavaScript for blocks.
|
|
9
|
+
*/
|
|
6
10
|
import type { Block } from '../../core/block.js';
|
|
7
11
|
import { CodeGenerator } from '../../core/generator.js';
|
|
8
12
|
import type { Workspace } from '../../core/workspace.js';
|
|
@@ -3,9 +3,6 @@
|
|
|
3
3
|
* Copyright 2012 Google LLC
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
*/
|
|
6
|
-
/**
|
|
7
|
-
* @file Generating JavaScript for list blocks.
|
|
8
|
-
*/
|
|
9
6
|
import type { Block } from '../../core/block.js';
|
|
10
7
|
import type { JavascriptGenerator } from './javascript_generator.js';
|
|
11
8
|
import { Order } from './javascript_generator.js';
|
|
@@ -3,9 +3,6 @@
|
|
|
3
3
|
* Copyright 2012 Google LLC
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
*/
|
|
6
|
-
/**
|
|
7
|
-
* @file Generating JavaScript for procedure blocks.
|
|
8
|
-
*/
|
|
9
6
|
import type { Block } from '../../core/block.js';
|
|
10
7
|
import type { JavascriptGenerator } from './javascript_generator.js';
|
|
11
8
|
import { Order } from './javascript_generator.js';
|
|
@@ -3,9 +3,6 @@
|
|
|
3
3
|
* Copyright 2012 Google LLC
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
*/
|
|
6
|
-
/**
|
|
7
|
-
* @file Generating JavaScript for text blocks.
|
|
8
|
-
*/
|
|
9
6
|
import type { Block } from '../../core/block.js';
|
|
10
7
|
import type { JavascriptGenerator } from './javascript_generator.js';
|
|
11
8
|
import { Order } from './javascript_generator.js';
|
|
@@ -3,9 +3,6 @@
|
|
|
3
3
|
* Copyright 2016 Google LLC
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
*/
|
|
6
|
-
/**
|
|
7
|
-
* @file Generating Lua for list blocks.
|
|
8
|
-
*/
|
|
9
6
|
import type { Block } from '../../core/block.js';
|
|
10
7
|
import type { LuaGenerator } from './lua_generator.js';
|
|
11
8
|
import { Order } from './lua_generator.js';
|
|
@@ -3,6 +3,12 @@
|
|
|
3
3
|
* Copyright 2016 Google LLC
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
*/
|
|
6
|
+
/**
|
|
7
|
+
* @file Lua code generator class, including helper methods for
|
|
8
|
+
* generating Lua for blocks.
|
|
9
|
+
*
|
|
10
|
+
* Based on Ellen Spertus's blocky-lua project.
|
|
11
|
+
*/
|
|
6
12
|
import type { Block } from '../../core/block.js';
|
|
7
13
|
import { CodeGenerator } from '../../core/generator.js';
|
|
8
14
|
import type { Workspace } from '../../core/workspace.js';
|
|
@@ -3,9 +3,6 @@
|
|
|
3
3
|
* Copyright 2016 Google LLC
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
*/
|
|
6
|
-
/**
|
|
7
|
-
* @file Generating Lua for procedure blocks.
|
|
8
|
-
*/
|
|
9
6
|
import type { Block } from '../../core/block.js';
|
|
10
7
|
import type { LuaGenerator } from './lua_generator.js';
|
|
11
8
|
import { Order } from './lua_generator.js';
|
package/generators/lua/text.d.ts
CHANGED
|
@@ -3,9 +3,6 @@
|
|
|
3
3
|
* Copyright 2016 Google LLC
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
*/
|
|
6
|
-
/**
|
|
7
|
-
* @file Generating Lua for text blocks.
|
|
8
|
-
*/
|
|
9
6
|
import type { Block } from '../../core/block.js';
|
|
10
7
|
import type { LuaGenerator } from './lua_generator.js';
|
|
11
8
|
import { Order } from './lua_generator.js';
|
package/generators/lua.d.ts
CHANGED
|
@@ -3,10 +3,6 @@
|
|
|
3
3
|
* Copyright 2021 Google LLC
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
*/
|
|
6
|
-
/**
|
|
7
|
-
* @file Complete helper functions for generating Lua for
|
|
8
|
-
* blocks. This is the entrypoint for lua_compressed.js.
|
|
9
|
-
*/
|
|
10
6
|
import { LuaGenerator } from './lua/lua_generator.js';
|
|
11
7
|
export * from './lua/lua_generator.js';
|
|
12
8
|
/**
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
*/
|
|
6
6
|
import type { Block } from '../../core/block.js';
|
|
7
|
-
import { Order } from './php_generator.js';
|
|
8
7
|
import type { PhpGenerator } from './php_generator.js';
|
|
8
|
+
import { Order } from './php_generator.js';
|
|
9
9
|
export declare function lists_create_empty(block: Block, generator: PhpGenerator): [string, Order];
|
|
10
10
|
export declare function lists_create_with(block: Block, generator: PhpGenerator): [string, Order];
|
|
11
11
|
export declare function lists_repeat(block: Block, generator: PhpGenerator): [string, Order];
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
* @file Generating PHP for logic blocks.
|
|
8
8
|
*/
|
|
9
9
|
import type { Block } from '../../core/block.js';
|
|
10
|
-
import { Order } from './php_generator.js';
|
|
11
10
|
import type { PhpGenerator } from './php_generator.js';
|
|
11
|
+
import { Order } from './php_generator.js';
|
|
12
12
|
export declare function controls_if(block: Block, generator: PhpGenerator): string;
|
|
13
13
|
export declare const controls_ifelse: typeof controls_if;
|
|
14
14
|
export declare function logic_compare(block: Block, generator: PhpGenerator): [string, Order];
|
package/generators/php/math.d.ts
CHANGED
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
* @file Generating PHP for math blocks.
|
|
8
8
|
*/
|
|
9
9
|
import type { Block } from '../../core/block.js';
|
|
10
|
-
import { Order } from './php_generator.js';
|
|
11
10
|
import type { PhpGenerator } from './php_generator.js';
|
|
11
|
+
import { Order } from './php_generator.js';
|
|
12
12
|
export declare function math_number(block: Block, generator: PhpGenerator): [string, Order];
|
|
13
13
|
export declare function math_arithmetic(block: Block, generator: PhpGenerator): [string, Order];
|
|
14
14
|
export declare function math_single(block: Block, generator: PhpGenerator): [string, Order];
|
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
* Copyright 2015 Google LLC
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
*/
|
|
6
|
+
/**
|
|
7
|
+
* @file PHP code generator class, including helper methods for
|
|
8
|
+
* generating PHP for blocks.
|
|
9
|
+
*/
|
|
6
10
|
import type { Block } from '../../core/block.js';
|
|
7
11
|
import { CodeGenerator } from '../../core/generator.js';
|
|
8
12
|
import type { Workspace } from '../../core/workspace.js';
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
*/
|
|
6
6
|
import type { Block } from '../../core/block.js';
|
|
7
|
-
import { Order } from './php_generator.js';
|
|
8
7
|
import type { PhpGenerator } from './php_generator.js';
|
|
8
|
+
import { Order } from './php_generator.js';
|
|
9
9
|
export declare function procedures_defreturn(block: Block, generator: PhpGenerator): null;
|
|
10
10
|
export declare const procedures_defnoreturn: typeof procedures_defreturn;
|
|
11
11
|
export declare function procedures_callreturn(block: Block, generator: PhpGenerator): [string, Order];
|
package/generators/php/text.d.ts
CHANGED
|
@@ -3,12 +3,9 @@
|
|
|
3
3
|
* Copyright 2015 Google LLC
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
*/
|
|
6
|
-
/**
|
|
7
|
-
* @file Generating PHP for text blocks.
|
|
8
|
-
*/
|
|
9
6
|
import type { Block } from '../../core/block.js';
|
|
10
|
-
import { Order } from './php_generator.js';
|
|
11
7
|
import type { PhpGenerator } from './php_generator.js';
|
|
8
|
+
import { Order } from './php_generator.js';
|
|
12
9
|
export declare function text(block: Block, generator: PhpGenerator): [string, Order];
|
|
13
10
|
export declare function text_join(block: Block, generator: PhpGenerator): [string, Order];
|
|
14
11
|
export declare function text_append(block: Block, generator: PhpGenerator): string;
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
* @file Generating PHP for variable blocks.
|
|
8
8
|
*/
|
|
9
9
|
import type { Block } from '../../core/block.js';
|
|
10
|
-
import { Order } from './php_generator.js';
|
|
11
10
|
import type { PhpGenerator } from './php_generator.js';
|
|
11
|
+
import { Order } from './php_generator.js';
|
|
12
12
|
export declare function variables_get(block: Block, generator: PhpGenerator): [string, Order];
|
|
13
13
|
export declare function variables_set(block: Block, generator: PhpGenerator): string;
|
|
14
14
|
//# sourceMappingURL=variables.d.ts.map
|
package/generators/php.d.ts
CHANGED
|
@@ -3,11 +3,6 @@
|
|
|
3
3
|
* Copyright 2021 Google LLC
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
*/
|
|
6
|
-
/**
|
|
7
|
-
* @file Instantiate a PhpGenerator and populate it with the complete
|
|
8
|
-
* set of block generator functions for PHP. This is the entrypoint
|
|
9
|
-
* for php_compressed.js.
|
|
10
|
-
*/
|
|
11
6
|
import { PhpGenerator } from './php/php_generator.js';
|
|
12
7
|
export * from './php/php_generator.js';
|
|
13
8
|
/**
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
*/
|
|
6
6
|
import type { Block } from '../../core/block.js';
|
|
7
|
-
import { Order } from './python_generator.js';
|
|
8
7
|
import type { PythonGenerator } from './python_generator.js';
|
|
8
|
+
import { Order } from './python_generator.js';
|
|
9
9
|
export declare function lists_create_empty(block: Block, generator: PythonGenerator): [string, Order];
|
|
10
10
|
export declare function lists_create_with(block: Block, generator: PythonGenerator): [string, Order];
|
|
11
11
|
export declare function lists_repeat(block: Block, generator: PythonGenerator): [string, Order];
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
*/
|
|
6
6
|
import type { Block } from '../../core/block.js';
|
|
7
|
-
import { Order } from './python_generator.js';
|
|
8
7
|
import type { PythonGenerator } from './python_generator.js';
|
|
8
|
+
import { Order } from './python_generator.js';
|
|
9
9
|
export declare function procedures_defreturn(block: Block, generator: PythonGenerator): null;
|
|
10
10
|
export declare const procedures_defnoreturn: typeof procedures_defreturn;
|
|
11
11
|
export declare function procedures_callreturn(block: Block, generator: PythonGenerator): [string, Order];
|
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
* Copyright 2012 Google LLC
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
*/
|
|
6
|
+
/**
|
|
7
|
+
* @file Python code generator class, including helper methods for
|
|
8
|
+
* generating Python for blocks.
|
|
9
|
+
*/
|
|
6
10
|
import type { Block } from '../../core/block.js';
|
|
7
11
|
import { CodeGenerator } from '../../core/generator.js';
|
|
8
12
|
import type { Workspace } from '../../core/workspace.js';
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
*/
|
|
6
6
|
import type { Block } from '../../core/block.js';
|
|
7
|
-
import { Order } from './python_generator.js';
|
|
8
7
|
import type { PythonGenerator } from './python_generator.js';
|
|
8
|
+
import { Order } from './python_generator.js';
|
|
9
9
|
export declare function text(block: Block, generator: PythonGenerator): [string, Order];
|
|
10
10
|
export declare function text_join(block: Block, generator: PythonGenerator): [string, Order];
|
|
11
11
|
export declare function text_append(block: Block, generator: PythonGenerator): string;
|
package/generators/python.d.ts
CHANGED
|
@@ -3,11 +3,6 @@
|
|
|
3
3
|
* Copyright 2021 Google LLC
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
*/
|
|
6
|
-
/**
|
|
7
|
-
* @file Instantiate a PythonGenerator and populate it with the
|
|
8
|
-
* complete set of block generator functions for Python. This is the
|
|
9
|
-
* entrypoint for python_compressed.js.
|
|
10
|
-
*/
|
|
11
6
|
import { PythonGenerator } from './python/python_generator.js';
|
|
12
7
|
export * from './python/python_generator.js';
|
|
13
8
|
/**
|