Replace namespace annotation with class annotation in files that define a class (#5566)

This commit is contained in:
Monica Kozbial
2021-09-28 15:57:09 -07:00
committed by GitHub
parent c9329ea8eb
commit 49bc2b1ae4
158 changed files with 158 additions and 158 deletions

View File

@@ -12,7 +12,7 @@
/**
* The class representing one block.
* @namespace Blockly.Block
* @class
*/
goog.module('Blockly.Block');

View File

@@ -23,7 +23,7 @@
* blocks are put back in into the SVG they came from. This helps
* performance by avoiding repainting the entire SVG on every mouse move
* while dragging blocks.
* @namespace Blockly.BlockDragSurfaceSvg
* @class
*/
goog.module('Blockly.BlockDragSurfaceSvg');

View File

@@ -12,7 +12,7 @@
/**
* Methods for dragging a block visually.
* @namespace Blockly.BlockDragger
* @class
*/
goog.module('Blockly.BlockDragger');

View File

@@ -12,7 +12,7 @@
/**
* Methods for graphically rendering a block as SVG.
* @namespace Blockly.BlockSvg
* @class
*/
goog.module('Blockly.BlockSvg');

View File

@@ -12,7 +12,7 @@
/**
* Object representing a UI bubble.
* @namespace Blockly.Bubble
* @class
*/
goog.module('Blockly.Bubble');

View File

@@ -12,7 +12,7 @@
/**
* Methods for dragging a bubble visually.
* @namespace Blockly.BubbleDragger
* @class
*/
goog.module('Blockly.BubbleDragger');

View File

@@ -12,7 +12,7 @@
/**
* Object representing a code comment.
* @namespace Blockly.Comment
* @class
*/
goog.module('Blockly.Comment');

View File

@@ -13,7 +13,7 @@
/**
* Manager for all items registered with the workspace.
* @namespace Blockly.ComponentManager
* @class
*/
goog.module('Blockly.ComponentManager');

View File

@@ -12,7 +12,7 @@
/**
* Components for creating connections between blocks.
* @namespace Blockly.Connection
* @class
*/
goog.module('Blockly.Connection');

View File

@@ -14,7 +14,7 @@
/**
* An object that encapsulates logic for checking whether a
* potential connection is safe and valid.
* @namespace Blockly.ConnectionChecker
* @class
*/
goog.module('Blockly.ConnectionChecker');

View File

@@ -16,7 +16,7 @@
* A database of all the rendered connections that could
* possibly be connected to (i.e. not collapsed, etc).
* Sorted by y coordinate.
* @namespace Blockly.ConnectionDB
* @class
*/
goog.module('Blockly.ConnectionDB');

View File

@@ -12,7 +12,7 @@
/**
* Registry for context menu option items.
* @namespace Blockly.ContextMenuRegistry
* @class
*/
goog.module('Blockly.ContextMenuRegistry');

View File

@@ -15,7 +15,7 @@
/**
* The abstract class for a component that can delete a block or
* bubble that is dropped on top of it.
* @namespace Blockly.DeleteArea
* @class
*/
goog.module('Blockly.DeleteArea');

View File

@@ -15,7 +15,7 @@
/**
* The abstract class for a component with custom behaviour when a
* block or bubble is dragged over or dropped on top of it.
* @namespace Blockly.DragTarget
* @class
*/
goog.module('Blockly.DragTarget');

View File

@@ -15,7 +15,7 @@
/**
* A div that floats on top of the workspace, for drop-down menus.
* @namespace Blockly.DropDownDiv
* @class
*/
goog.module('Blockly.DropDownDiv');

View File

@@ -14,7 +14,7 @@
/**
* Abstract class for events fired as a result of actions in
* Blockly's editor.
* @namespace Blockly.Events.Abstract
* @class
*/
goog.module('Blockly.Events.Abstract');

View File

@@ -12,7 +12,7 @@
/**
* Base class for all types of block events.
* @namespace Blockly.Events.BlockBase
* @class
*/
goog.module('Blockly.Events.BlockBase');

View File

@@ -12,7 +12,7 @@
/**
* Class for a block change event.
* @namespace Blockly.Events.BlockChange
* @class
*/
goog.module('Blockly.Events.BlockChange');

View File

@@ -12,7 +12,7 @@
/**
* Class for a block creation event.
* @namespace Blockly.Events.BlockCreate
* @class
*/
goog.module('Blockly.Events.BlockCreate');

View File

@@ -12,7 +12,7 @@
/**
* Class for a block delete event.
* @namespace Blockly.Events.BlockDelete
* @class
*/
goog.module('Blockly.Events.BlockDelete');

View File

@@ -12,7 +12,7 @@
/**
* Events fired as a block drag.
* @namespace Blockly.Events.BlockDrag
* @class
*/
goog.module('Blockly.Events.BlockDrag');

View File

@@ -12,7 +12,7 @@
/**
* Class for a block move event.
* @namespace Blockly.Events.BlockMove
* @class
*/
goog.module('Blockly.Events.BlockMove');

View File

@@ -12,7 +12,7 @@
/**
* Events fired as a result of bubble open.
* @namespace Blockly.Events.BubbleOpen
* @class
*/
goog.module('Blockly.Events.BubbleOpen');

View File

@@ -12,7 +12,7 @@
/**
* Events fired as a result of UI click in Blockly's editor.
* @namespace Blockly.Events.Click
* @class
*/
goog.module('Blockly.Events.Click');

View File

@@ -12,7 +12,7 @@
/**
* Base class for comment events.
* @namespace Blockly.Events.CommentBase
* @class
*/
goog.module('Blockly.Events.CommentBase');

View File

@@ -12,7 +12,7 @@
/**
* Class for comment change event.
* @namespace Blockly.Events.CommentChange
* @class
*/
goog.module('Blockly.Events.CommentChange');

View File

@@ -12,7 +12,7 @@
/**
* Class for comment creation event.
* @namespace Blockly.Events.CommentCreate
* @class
*/
goog.module('Blockly.Events.CommentCreate');

View File

@@ -12,7 +12,7 @@
/**
* Class for comment deletion event.
* @namespace Blockly.Events.CommentDelete
* @class
*/
goog.module('Blockly.Events.CommentDelete');

View File

@@ -12,7 +12,7 @@
/**
* Class for comment move event.
* @namespace Blockly.Events.CommentMove
* @class
*/
goog.module('Blockly.Events.CommentMove');

View File

@@ -12,7 +12,7 @@
/**
* Events fired as a result of a marker move.
* @namespace Blockly.Events.MarkerMove
* @class
*/
goog.module('Blockly.Events.MarkerMove');

View File

@@ -12,7 +12,7 @@
/**
* Events fired as a result of element select action.
* @namespace Blockly.Events.Selected
* @class
*/
goog.module('Blockly.Events.Selected');

View File

@@ -12,7 +12,7 @@
/**
* Events fired as a result of a theme update.
* @namespace Blockly.Events.ThemeChange
* @class
*/
goog.module('Blockly.Events.ThemeChange');

View File

@@ -12,7 +12,7 @@
/**
* Events fired as a result of selecting an item on the toolbox.
* @namespace Blockly.Events.ToolboxItemSelect
* @class
*/
goog.module('Blockly.Events.ToolboxItemSelect');

View File

@@ -12,7 +12,7 @@
/**
* Events fired as a result of trashcan flyout open and close.
* @namespace Blockly.Events.TrashcanOpen
* @class
*/
goog.module('Blockly.Events.TrashcanOpen');

View File

@@ -14,7 +14,7 @@
/**
* (Deprecated) Events fired as a result of UI actions in
* Blockly's editor.
* @namespace Blockly.Events.Ui
* @class
*/
goog.module('Blockly.Events.Ui');

View File

@@ -14,7 +14,7 @@
/**
* Base class for events fired as a result of UI actions in
* Blockly's editor.
* @namespace Blockly.Events.UiBase
* @class
*/
goog.module('Blockly.Events.UiBase');

View File

@@ -12,7 +12,7 @@
/**
* Abstract class for a variable event.
* @namespace Blockly.Events.VarBase
* @class
*/
goog.module('Blockly.Events.VarBase');

View File

@@ -12,7 +12,7 @@
/**
* Class for a variable creation event.
* @namespace Blockly.Events.VarCreate
* @class
*/
goog.module('Blockly.Events.VarCreate');

View File

@@ -12,7 +12,7 @@
/**
* Classes for all types of variable events.
* @namespace Blockly.Events.VarDelete
* @class
*/
goog.module('Blockly.Events.VarDelete');

View File

@@ -12,7 +12,7 @@
/**
* Class for a variable rename event.
* @namespace Blockly.Events.VarRename
* @class
*/
goog.module('Blockly.Events.VarRename');

View File

@@ -12,7 +12,7 @@
/**
* Events fired as a result of a viewport change.
* @namespace Blockly.Events.ViewportChange
* @class
*/
goog.module('Blockly.Events.ViewportChange');

View File

@@ -12,7 +12,7 @@
/**
* Class for a finished loading workspace event.
* @namespace Blockly.Events.FinishedLoading
* @class
*/
goog.module('Blockly.Events.FinishedLoading');

View File

@@ -16,7 +16,7 @@
* Field. Used for editable titles, variables, etc.
* This is an abstract class that defines the UI on the block. Actual
* instances would be FieldTextInput, FieldDropdown, etc.
* @namespace Blockly.Field
* @class
*/
goog.module('Blockly.Field');

View File

@@ -12,7 +12,7 @@
/**
* Angle input field.
* @namespace Blockly.FieldAngle
* @class
*/
goog.module('Blockly.FieldAngle');

View File

@@ -12,7 +12,7 @@
/**
* Checkbox field. Checked or not checked.
* @namespace Blockly.FieldCheckbox
* @class
*/
goog.module('Blockly.FieldCheckbox');

View File

@@ -12,7 +12,7 @@
/**
* Colour input field.
* @namespace Blockly.FieldColour
* @class
*/
goog.module('Blockly.FieldColour');

View File

@@ -16,7 +16,7 @@
* Dropdown input field. Used for editable titles and variables.
* In the interests of a consistent UI, the toolbox shares some functions and
* properties with the context menu.
* @namespace Blockly.FieldDropdown
* @class
*/
goog.module('Blockly.FieldDropdown');

View File

@@ -12,7 +12,7 @@
/**
* Image field. Used for pictures, icons, etc.
* @namespace Blockly.FieldImage
* @class
*/
goog.module('Blockly.FieldImage');

View File

@@ -14,7 +14,7 @@
/**
* Non-editable, non-serializable text field. Used for titles,
* labels, etc.
* @namespace Blockly.FieldLabel
* @class
*/
goog.module('Blockly.FieldLabel');

View File

@@ -15,7 +15,7 @@
* Non-editable, serializable text field. Behaves like a
* normal label but is serialized to XML. It may only be
* edited programmatically.
* @namespace Blockly.FieldLabelSerializable
* @class
*/
goog.module('Blockly.FieldLabelSerializable');

View File

@@ -14,7 +14,7 @@
/**
* Text Area field.
* @namespace Blockly.FieldMultilineInput
* @class
*/
goog.module('Blockly.FieldMultilineInput');

View File

@@ -12,7 +12,7 @@
/**
* Number input field
* @namespace Blockly.FieldNumber
* @class
*/
goog.module('Blockly.FieldNumber');

View File

@@ -12,7 +12,7 @@
/**
* Text input field.
* @namespace Blockly.FieldTextInput
* @class
*/
goog.module('Blockly.FieldTextInput');

View File

@@ -12,7 +12,7 @@
/**
* Variable input field.
* @namespace Blockly.FieldVariable
* @class
*/
goog.module('Blockly.FieldVariable');

View File

@@ -12,7 +12,7 @@
/**
* Flyout tray containing blocks which may be created.
* @namespace Blockly.Flyout
* @class
*/
goog.module('Blockly.Flyout');

View File

@@ -12,7 +12,7 @@
/**
* Class for a button in the flyout.
* @namespace Blockly.FlyoutButton
* @class
*/
goog.module('Blockly.FlyoutButton');

View File

@@ -12,7 +12,7 @@
/**
* Horizontal flyout tray containing blocks which may be created.
* @namespace Blockly.HorizontalFlyout
* @class
*/
goog.module('Blockly.HorizontalFlyout');

View File

@@ -12,7 +12,7 @@
/**
* Calculates and reports flyout workspace metrics.
* @namespace Blockly.FlyoutMetricsManager
* @class
*/
goog.module('Blockly.FlyoutMetricsManager');

View File

@@ -12,7 +12,7 @@
/**
* Layout code for a vertical variant of the flyout.
* @namespace Blockly.VerticalFlyout
* @class
*/
goog.module('Blockly.VerticalFlyout');

View File

@@ -14,7 +14,7 @@
/**
* Utility functions for generating executable code from
* Blockly code.
* @namespace Blockly.Generator
* @class
*/
goog.module('Blockly.Generator');

View File

@@ -14,7 +14,7 @@
/**
* The class representing an in-progress gesture, usually a drag
* or a tap.
* @namespace Blockly.Gesture
* @class
*/
goog.module('Blockly.Gesture');

View File

@@ -14,7 +14,7 @@
/**
* Object for configuring and updating a workspace grid in
* Blockly.
* @namespace Blockly.Grid
* @class
*/
goog.module('Blockly.Grid');

View File

@@ -12,7 +12,7 @@
/**
* Object representing an icon on a block.
* @namespace Blockly.Icon
* @class
*/
goog.module('Blockly.Icon');

View File

@@ -12,7 +12,7 @@
/**
* Object representing an input (value, statement, or dummy).
* @namespace Blockly.Input
* @class
*/
goog.module('Blockly.Input');

View File

@@ -12,7 +12,7 @@
/**
* Class that controls updates to connections during drags.
* @namespace Blockly.InsertionMarkerManager
* @class
*/
goog.module('Blockly.InsertionMarkerManager');

View File

@@ -13,7 +13,7 @@
/**
* The class representing an AST node.
* Used to traverse the Blockly AST.
* @namespace Blockly.ASTNode
* @class
*/
goog.module('Blockly.ASTNode');

View File

@@ -14,7 +14,7 @@
/**
* The class representing a basic cursor.
* Used to demo switching between different cursors.
* @namespace Blockly.BasicCursor
* @class
*/
goog.module('Blockly.BasicCursor');

View File

@@ -14,7 +14,7 @@
/**
* The class representing a cursor.
* Used primarily for keyboard navigation.
* @namespace Blockly.Cursor
* @class
*/
goog.module('Blockly.Cursor');

View File

@@ -14,7 +14,7 @@
/**
* The class representing a marker.
* Used primarily for keyboard navigation to show a marked location.
* @namespace Blockly.Marker
* @class
*/
goog.module('Blockly.Marker');

View File

@@ -14,7 +14,7 @@
/**
* The class representing a cursor that is used to navigate
* between tab navigable fields.
* @namespace Blockly.TabNavigateCursor
* @class
*/
goog.module('Blockly.TabNavigateCursor');

View File

@@ -12,7 +12,7 @@
/**
* Object in charge of managing markers and the cursor.
* @namespace Blockly.MarkerManager
* @class
*/
goog.module('Blockly.MarkerManager');

View File

@@ -12,7 +12,7 @@
/**
* Blockly menu similar to Closure's goog.ui.Menu
* @namespace Blockly.Menu
* @class
*/
goog.module('Blockly.Menu');

View File

@@ -12,7 +12,7 @@
/**
* Blockly menu item similar to Closure's goog.ui.MenuItem
* @namespace Blockly.MenuItem
* @class
*/
goog.module('Blockly.MenuItem');

View File

@@ -12,7 +12,7 @@
/**
* Calculates and reports workspace metrics.
* @namespace Blockly.MetricsManager
* @class
*/
goog.module('Blockly.MetricsManager');

View File

@@ -14,7 +14,7 @@
/**
* Object representing a mutator dialog. A mutator allows the
* user to change the shape of a block using a nested blocks editor.
* @namespace Blockly.Mutator
* @class
*/
goog.module('Blockly.Mutator');

View File

@@ -12,7 +12,7 @@
/**
* Utility functions for handling variable and procedure names.
* @namespace Blockly.Names
* @class
*/
goog.module('Blockly.Names');

View File

@@ -12,7 +12,7 @@
/**
* Object that controls settings for the workspace.
* @namespace Blockly.Options
* @class
*/
goog.module('Blockly.Options');

View File

@@ -12,7 +12,7 @@
/**
* Components for creating connections between blocks.
* @namespace Blockly.RenderedConnection
* @class
*/
goog.module('Blockly.RenderedConnection');

View File

@@ -12,7 +12,7 @@
/**
* An object that provides constants for rendering blocks.
* @namespace Blockly.blockRendering.ConstantProvider
* @class
*/
goog.module('Blockly.blockRendering.ConstantProvider');

View File

@@ -12,7 +12,7 @@
/**
* Methods for rendering debug graphics.
* @namespace Blockly.blockRendering.Debug
* @class
*/
goog.module('Blockly.blockRendering.Debug');

View File

@@ -12,7 +12,7 @@
/**
* Methods for graphically rendering a block as SVG.
* @namespace Blockly.blockRendering.Drawer
* @class
*/
goog.module('Blockly.blockRendering.Drawer');

View File

@@ -12,7 +12,7 @@
/**
* Methods for graphically rendering a block as SVG.
* @namespace Blockly.blockRendering.RenderInfo
* @class
*/
goog.module('Blockly.blockRendering.RenderInfo');

View File

@@ -13,7 +13,7 @@
/**
* Methods for graphically rendering a marker as SVG.
* @namespace Blockly.blockRendering.MarkerSvg
* @class
*/
goog.module('Blockly.blockRendering.MarkerSvg');

View File

@@ -13,7 +13,7 @@
/**
* An object that owns a block's rendering SVG elements.
* @namespace Blockly.blockRendering.PathObject
* @class
*/
goog.module('Blockly.blockRendering.PathObject');

View File

@@ -12,7 +12,7 @@
/**
* Base renderer.
* @namespace Blockly.blockRendering.Renderer
* @class
*/
goog.module('Blockly.blockRendering.Renderer');

View File

@@ -14,7 +14,7 @@
/**
* An object that provides constants for rendering blocks in Geras
* mode.
* @namespace Blockly.geras.ConstantProvider
* @class
*/
goog.module('Blockly.geras.ConstantProvider');

View File

@@ -12,7 +12,7 @@
/**
* Renderer that preserves the look and feel of Blockly pre-2019.
* @namespace Blockly.geras.Drawer
* @class
*/
goog.module('Blockly.geras.Drawer');

View File

@@ -12,7 +12,7 @@
/**
* Objects for rendering highlights on blocks.
* @namespace Blockly.geras.HighlightConstantProvider
* @class
*/
goog.module('Blockly.geras.HighlightConstantProvider');

View File

@@ -14,7 +14,7 @@
/**
* Methods for adding highlights on block, for rendering in
* compatibility mode.
* @namespace Blockly.geras.Highlighter
* @class
*/
goog.module('Blockly.geras.Highlighter');

View File

@@ -14,7 +14,7 @@
/**
* Old (compatibility) renderer.
* Geras: spirit of old age.
* @namespace Blockly.geras.RenderInfo
* @class
*/
goog.module('Blockly.geras.RenderInfo');

View File

@@ -14,7 +14,7 @@
/**
* Objects representing inline inputs with connections on a
* rendered block.
* @namespace Blockly.geras.InlineInput
* @class
*/
goog.module('Blockly.geras.InlineInput');

View File

@@ -14,7 +14,7 @@
/**
* Objects representing statement inputs with connections on a
* rendered block.
* @namespace Blockly.geras.StatementInput
* @class
*/
goog.module('Blockly.geras.StatementInput');

View File

@@ -13,7 +13,7 @@
/**
* An object that owns a block's rendering SVG elements.
* @namespace Blockly.geras.PathObject
* @class
*/
goog.module('Blockly.geras.PathObject');

View File

@@ -12,7 +12,7 @@
/**
* Geras renderer.
* @namespace Blockly.geras.Renderer
* @class
*/
goog.module('Blockly.geras.Renderer');

View File

@@ -13,7 +13,7 @@
/**
* Methods for graphically rendering a block as SVG.
* @namespace Blockly.blockRendering.Measurable
* @class
*/
goog.module('Blockly.blockRendering.Measurable');

View File

@@ -13,7 +13,7 @@
/**
* Object representing a bottom row on a rendered block.
* of its subcomponents.
* @namespace Blockly.blockRendering.BottomRow
* @class
*/
goog.module('Blockly.blockRendering.BottomRow');

View File

@@ -13,7 +13,7 @@
/**
* Base class representing the space a connection takes up during
* rendering.
* @namespace Blockly.blockRendering.Connection
* @class
*/
goog.module('Blockly.blockRendering.Connection');

View File

@@ -13,7 +13,7 @@
/**
* Class representing external value inputs with connections on a
* rendered block.
* @namespace Blockly.blockRendering.ExternalValueInput
* @class
*/
goog.module('Blockly.blockRendering.ExternalValueInput');

View File

@@ -13,7 +13,7 @@
/**
* Objects representing a field in a row of a rendered
* block.
* @namespace Blockly.blockRendering.Field
* @class
*/
goog.module('Blockly.blockRendering.Field');

View File

@@ -13,7 +13,7 @@
/**
* Objects representing a hat in a row of a rendered
* block.
* @namespace Blockly.blockRendering.Hat
* @class
*/
goog.module('Blockly.blockRendering.Hat');

Some files were not shown because too many files have changed in this diff Show More