{
indexNotComputed = recomputeBlockName(indexNotComputed);
sheetNotComputed = recomputeScanSheetName(sheetNotComputed);
}
SheetIndex si =
!dynamic ? new LegacySheetIndex_Engine0to1(sheetNotComputed, indexNotComputed) : new SheetEntry(
sheetNotComputed, indexNotComputed);
{
SerialCondition condition = new SerialCondition();
condition.sheet = si.getSheet();
condition.index = si.getIndex();
condition.symbol = Operator.fromSymbol(symbol).getSerializedForm();
condition.value = value;
this.root.condition.put(name, condition);
}
if (si instanceof LegacySheetIndex_Engine0to1)
{
if (((LegacySheetIndex_Engine0to1) si).isBlock() && asBlock(value) != null)
{
SerialCondition condition = new SerialCondition();
condition.sheet = si.getSheet();
condition.index = si.getIndex();
condition.symbol = Operator.fromSymbol(symbol).getSerializedForm();
condition.value = asBlock(value);
this.root.condition.put(name + AS_BLOCK, condition);
}
if (((LegacySheetIndex_Engine0to1) si).isItem() && asItem(value) != null)
{
SerialCondition condition = new SerialCondition();
condition.sheet = si.getSheet();
condition.index = si.getIndex();
condition.symbol = Operator.fromSymbol(symbol).getSerializedForm();
condition.value = asItem(value);
this.root.condition.put(name + AS_ITEM, condition);
}