mirror of
https://github.com/google/blockly.git
synced 2026-01-07 17:10:11 +01:00
Migrate core/interfaces/i_ast_node_location_with_block.js to goog.module
This commit is contained in:
@@ -12,7 +12,8 @@
|
||||
|
||||
'use strict';
|
||||
|
||||
goog.provide('Blockly.IASTNodeLocationWithBlock');
|
||||
goog.module('Blockly.IASTNodeLocationWithBlock');
|
||||
goog.module.declareLegacyNamespace();
|
||||
|
||||
goog.require('Blockly.IASTNodeLocation');
|
||||
goog.requireType('Blockly.Block');
|
||||
@@ -23,10 +24,12 @@ goog.requireType('Blockly.Block');
|
||||
* @interface
|
||||
* @extends {Blockly.IASTNodeLocation}
|
||||
*/
|
||||
Blockly.IASTNodeLocationWithBlock = function() {};
|
||||
const IASTNodeLocationWithBlock = function() {};
|
||||
|
||||
/**
|
||||
* Get the source block associated with this node.
|
||||
* @return {Blockly.Block} The source block.
|
||||
*/
|
||||
Blockly.IASTNodeLocationWithBlock.prototype.getSourceBlock;
|
||||
IASTNodeLocationWithBlock.prototype.getSourceBlock;
|
||||
|
||||
exports = IASTNodeLocationWithBlock;
|
||||
|
||||
Reference in New Issue
Block a user