com.github.gchudnov.bscript.interpreter.memory

Type members

Classlikes

final case class BoolCell(value: Boolean) extends Cell
trait Cell
Companion:
object
object Cell
Companion:
class
final case class CellPath(value: String)

Path to a cell in a structure

Path to a cell in a structure

 struct A {
   int x;
   B b;
 };
 struct B { int y; };

 A a;

 a.b.y = 2; // here 'a.b.y' is a path
Companion:
object
object CellPath
Companion:
class
final case class DateCell(value: LocalDate) extends Cell
final case class DateTimeCell(value: OffsetDateTime) extends Cell
final case class DecimalCell(value: BigDecimal) extends Cell
object Diff
final case class DoubleCell(value: Double) extends Cell
final case class FloatCell(value: Float) extends Cell
final case class IntCell(value: Int) extends Cell
final case class LongCell(value: Long) extends Cell
final class MemoryException(message: String) extends LangException
Companion:
object
Companion:
class
case class MemorySpace(name: String, members: Map[String, Cell], parent: Option[MemorySpace])

Immutable Memory Area

Immutable Memory Area

Companion:
object
Companion:
class
case object NothingCell extends Cell
final case class StrCell(value: String) extends Cell
final case class StructCell(value: Map[String, Cell]) extends Cell
Companion:
object
object StructCell
Companion:
class
final case class VecCell(value: List[Cell]) extends Cell
case object VoidCell extends Cell