17 lines
361 B
JavaScript
17 lines
361 B
JavaScript
/**
|
|||
|
|
* @license
|
||
|
|
* Copyright (c) 2024 Handsoncode. All rights reserved.
|
||
|
|
*/
|
||
|
|
import { EmptyValue } from '../interpreter/InterpreterValue';
|
||
|
|
/**
|
||
|
|
* Represents singleton vertex bound to all empty cells
|
||
|
|
*/
|
||
|
|
export class EmptyCellVertex {
|
||
|
|
constructor() {}
|
||
|
|
/**
|
||
|
|
* Retrieves cell value bound to that singleton
|
||
|
|
*/
|
||
|
|
getCellValue() {
|
||
|
|
return EmptyValue;
|
||
|
|
}
|
||
|
|
}
|