@@ -459,8 +459,6 @@ export class Operations {
459459
460460 /**
461461 * Restores a single cell.
462- * @param {SimpleCellAddress } address
463- * @param {ClipboardCell } clipboardCell
464462 */
465463 public restoreCell ( address : SimpleCellAddress , clipboardCell : ClipboardCell ) : void {
466464 switch ( clipboardCell . type ) {
@@ -597,6 +595,10 @@ export class Operations {
597595 }
598596 }
599597
598+ /**
599+ * Sets cell content to an instance of parsing error.
600+ * Creates a ParsingErrorVertex and updates the dependency graph and column search index.
601+ */
600602 public setParsingErrorToCell ( rawInput : string , errors : ParsingError [ ] , address : SimpleCellAddress ) {
601603 this . removeCellValueFromColumnSearch ( address )
602604
@@ -608,6 +610,10 @@ export class Operations {
608610 this . changes . addChange ( vertex . getCellValue ( ) , address )
609611 }
610612
613+ /**
614+ * Sets cell content to a formula.
615+ * Creates a FormulaCellVertex and updates the dependency graph and column search index.
616+ */
611617 public setFormulaToCell ( address : SimpleCellAddress , size : ArraySize , {
612618 ast,
613619 hasVolatileFunction,
@@ -622,6 +628,10 @@ export class Operations {
622628 this . changes . addAll ( arrayChanges )
623629 }
624630
631+ /**
632+ * Sets cell content to a value.
633+ * Creates a ValueCellVertex and updates the dependency graph and column search index.
634+ */
625635 public setValueToCell ( value : RawAndParsedValue , address : SimpleCellAddress ) {
626636 this . changeCellValueInColumnSearch ( address , value . parsedValue )
627637
@@ -632,6 +642,10 @@ export class Operations {
632642 this . changes . addChange ( value . parsedValue , address )
633643 }
634644
645+ /**
646+ * Sets cell content to an empty value.
647+ * Creates an EmptyCellVertex and updates the dependency graph and column search index.
648+ */
635649 public setCellEmpty ( address : SimpleCellAddress ) {
636650 if ( this . dependencyGraph . isArrayInternalCell ( address ) ) {
637651 return
0 commit comments