Packages

class MutableContext extends Context

Source
Context.scala
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MutableContext
  2. Context
  3. BabelSignature
  4. AnyRef
  5. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MutableContext(ctx_: ImmutableContext)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def +(update: Update): ImmutableContext

    Adds an element to the context.

    Adds an element to the context.

    If this is not a valid addition, then an exception is thrown.

    Definition Classes
    Context
  4. def ++(updates: Traversable[Update]): ImmutableContext
    Definition Classes
    Context
  5. def ++=(updates: Iterable[Update]): Unit
  6. def +=(update: Update): Unit
  7. def ->[B](y: B): (MutableContext, B)
    Implicit
    This member is added by an implicit conversion from MutableContext to ArrowAssoc[MutableContext] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  8. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def addDefinition(by: Expr, name: ⇒ String = ..., reuse: Boolean = true): Const
  10. def addSkolemSym(defn: Expr, name: ⇒ String = ..., reuse: Boolean = true): Const
  11. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  12. def check[T](t: T)(implicit arg0: Checkable[T]): Unit
    Definition Classes
    Context
  13. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate() @throws( ... )
  14. def constant(name: String, params: List[Ty]): Option[Const]

    Returns Some(const) if (name,params) defines a constant.

    Returns Some(const) if (name,params) defines a constant.

    Definition Classes
    Context
  15. def constant(name: String): Option[Const]

    Returns Some(const) if name is a constant.

    Returns Some(const) if name is a constant.

    Definition Classes
    Context
  16. def constants: Iterable[Const]
    Definition Classes
    Context
  17. def contains(defn: Definition): Boolean

    Returns true iff the context contains the definition defn (the definitional expansion has to match as well).

    Returns true iff the context contains the definition defn (the definitional expansion has to match as well).

    Definition Classes
    Context
  18. def ctx: ImmutableContext
  19. def ctx_=(newCtx: ImmutableContext): Unit
  20. def defaultTypeToI: Boolean
    Definition Classes
    ContextBabelSignature
  21. def definition(c: Const): Option[Expr]

    Returns Some(expandedDefinition) if c is a defined constant.

    Returns Some(expandedDefinition) if c is a defined constant.

    Definition Classes
    Context
  22. def definitions: Map[Const, Expr]
    Definition Classes
    Context
  23. def ensuring(cond: (MutableContext) ⇒ Boolean, msg: ⇒ Any): MutableContext
    Implicit
    This member is added by an implicit conversion from MutableContext to Ensuring[MutableContext] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  24. def ensuring(cond: (MutableContext) ⇒ Boolean): MutableContext
    Implicit
    This member is added by an implicit conversion from MutableContext to Ensuring[MutableContext] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  25. def ensuring(cond: Boolean, msg: ⇒ Any): MutableContext
    Implicit
    This member is added by an implicit conversion from MutableContext to Ensuring[MutableContext] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  26. def ensuring(cond: Boolean): MutableContext
    Implicit
    This member is added by an implicit conversion from MutableContext to Ensuring[MutableContext] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  27. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  29. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from MutableContext to StringFormat[MutableContext] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  30. def get[T](implicit arg0: Facet[T]): T

    Gets a facet of this context, initializing it if it is not present yet.

    Gets a facet of this context, initializing it if it is not present yet.

    Definition Classes
    Context
  31. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  32. def getConstructors(ty: TBase): Option[Vector[Const]]

    Returns Some(ctrs) if name is an inductive type with constructors ctrs.

    Returns Some(ctrs) if name is an inductive type with constructors ctrs.

    Definition Classes
    Context
  33. def getConstructors(ty: Ty): Option[Vector[Const]]

    Returns Some(ctrs) if name is an inductive type with constructors ctrs.

    Returns Some(ctrs) if name is an inductive type with constructors ctrs.

    Definition Classes
    Context
  34. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  35. def isDefEq(a: Expr, b: Expr): Boolean
    Definition Classes
    Context
  36. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  37. def isType(ty: TBase): Boolean

    Returns true iff ty is a defined base type.

    Returns true iff ty is a defined base type.

    Definition Classes
    Context
  38. def names: Iterable[String]
    Definition Classes
    Context
  39. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  40. def newMutable: MutableContext
    Definition Classes
    Context
  41. def newNameGenerator: NameGenerator
    Definition Classes
    Context
  42. def normalize(expression: Expr): Expr

    Normalizes an expression with the reduction rules stored in this context.

    Normalizes an expression with the reduction rules stored in this context.

    Definition Classes
    Context
  43. def normalizer: Normalizer
    Definition Classes
    Context
  44. def notationsForConst(const: ConstName): List[Notation]
    Definition Classes
    ContextBabelSignature
  45. def notationsForToken(token: Token): Option[Notation]
    Definition Classes
    ContextBabelSignature
  46. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  47. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  48. def reductionRules: Iterable[ReductionRule]

    Returns a collection of all (expression-level) reduction rules of this context.

    Returns a collection of all (expression-level) reduction rules of this context.

    Definition Classes
    Context
  49. def signatureLookup(s: String): VarConst

    Decides whether the symbol with the given identifier should be a variable or constant, and what its type should be.

    Decides whether the symbol with the given identifier should be a variable or constant, and what its type should be.

    s

    The name of the symbol.

    returns

    Either IsVar(type) or IsConst(type).

    Definition Classes
    ContextBabelSignature
  50. def skolemDef(skSym: Const): Option[Expr]

    Returns the Skolem definition of skSym.

    Returns the Skolem definition of skSym. See gapt.expr.hol.SkolemFunctions.

    Definition Classes
    Context
  51. def state: State
    Definition Classes
    MutableContextContext
  52. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  53. def toImmutable: ImmutableContext
    Definition Classes
    MutableContextContext
  54. def toReadonly: ReadonlyMutableContext
    Definition Classes
    Context
  55. def toString(): String
    Definition Classes
    MutableContextContext → AnyRef → Any
  56. def updates: List[Update]
    Definition Classes
    MutableContextContext
  57. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  58. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  59. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  60. def whnf(expression: Expr): Expr
    Definition Classes
    Context
  61. def [B](y: B): (MutableContext, B)
    Implicit
    This member is added by an implicit conversion from MutableContext to ArrowAssoc[MutableContext] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Shadowed Implicit Value Members

  1. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from MutableContext to any2stringadd[MutableContext] performed by method any2stringadd in scala.Predef.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (mutableContext: any2stringadd[MutableContext]).+(other)
    Definition Classes
    any2stringadd

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Context

Inherited from BabelSignature

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from MutableContext to any2stringadd[MutableContext]

Inherited by implicit conversion StringFormat from MutableContext to StringFormat[MutableContext]

Inherited by implicit conversion Ensuring from MutableContext to Ensuring[MutableContext]

Inherited by implicit conversion ArrowAssoc from MutableContext to ArrowAssoc[MutableContext]

Ungrouped