{
  "version": 3,
  "sources": ["../../../../src/evaluator/dependency-nodes/virtual-cell-value-node.ts"],
  "sourcesContent": [
    "import type {\n  CellAddress,\n  SerializedCellValue,\n  SingleEvaluationResult,\n} from \"../../core/types.mjs\";\nimport { getCellReference } from \"../../core/utils.mjs\";\nimport { BaseEvalNode } from \"./base-eval-node.mjs\";\nimport type { SpillMetaNode } from \"./spill-meta-node.mjs\";\n\nexport class VirtualCellValueNode extends BaseEvalNode<SingleEvaluationResult> {\n  public readonly cellAddress: CellAddress;\n  public readonly cellValue: SerializedCellValue;\n\n  constructor(\n    key: string,\n    cellAddress: CellAddress,\n    cellValue: SerializedCellValue\n  ) {\n    super(key);\n\n    this.cellAddress = cellAddress;\n    this.cellValue = cellValue;\n  }\n\n  public override toString(): string {\n    return \"virtual:\" + getCellReference(this.cellAddress);\n  }\n\n  spillMeta: SpillMetaNode | undefined;\n\n  setSpillMetaNode(node: SpillMetaNode) {\n    this.spillMeta = node;\n  }\n\n  clearSpillMetaNode() {\n    this.spillMeta = undefined;\n  }\n}\n"
  ],
  "mappings": ";AAKA;AACA;AAAA;AAGO,MAAM,6BAA6B,aAAqC;AAAA,EAC7D;AAAA,EACA;AAAA,EAEhB,WAAW,CACT,KACA,aACA,WACA;AAAA,IACA,MAAM,GAAG;AAAA,IAET,KAAK,cAAc;AAAA,IACnB,KAAK,YAAY;AAAA;AAAA,EAGH,QAAQ,GAAW;AAAA,IACjC,OAAO,aAAa,iBAAiB,KAAK,WAAW;AAAA;AAAA,EAGvD;AAAA,EAEA,gBAAgB,CAAC,MAAqB;AAAA,IACpC,KAAK,YAAY;AAAA;AAAA,EAGnB,kBAAkB,GAAG;AAAA,IACnB,KAAK,YAAY;AAAA;AAErB;",
  "debugId": "88887B0776B3F79E64756E2164756E21",
  "names": []
}