Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Expression

An immutable data type representing an image expression, as defined in the PS3 handout.

PS3 instructions: this is a required ADT interface. You MUST NOT change its name or the names or type signatures of existing methods or functions. You may, however, add additional methods or classes, or strengthen the specs of existing methods.

Hierarchy

  • Expression

Index

Methods

  • Parameters

    Returns boolean

    true if and only if this and that are structurally-equal Expressions, as defined in the PS3 handout

  • toString(): string
  • Returns string

    a parsable representation of this expression, such that for all e:Expression, e.equalValue(Expression.parse(e.toString()))

Generated using TypeDoc