class MutableContext extends Context
- Alphabetic
- By Inheritance
- MutableContext
- Context
- BabelSignature
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
- new MutableContext(ctx_: ImmutableContext)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
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
-
def
++(updates: Traversable[Update]): ImmutableContext
- Definition Classes
- Context
- def ++=(updates: Iterable[Update]): Unit
- def +=(update: Update): Unit
-
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()
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addDefinition(by: Expr, name: ⇒ String = ..., reuse: Boolean = true): Const
- def addSkolemSym(defn: Expr, name: ⇒ String = ..., reuse: Boolean = true): Const
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
check[T](t: T)(implicit arg0: Checkable[T]): Unit
- Definition Classes
- Context
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
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
-
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
-
def
constants: Iterable[Const]
- Definition Classes
- Context
-
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
- def ctx: ImmutableContext
- def ctx_=(newCtx: ImmutableContext): Unit
-
def
defaultTypeToI: Boolean
- Definition Classes
- Context → BabelSignature
-
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
-
def
definitions: Map[Const, Expr]
- Definition Classes
- Context
-
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
-
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
-
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
-
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
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
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()
-
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
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
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
-
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
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
isDefEq(a: Expr, b: Expr): Boolean
- Definition Classes
- Context
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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
-
def
names: Iterable[String]
- Definition Classes
- Context
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
newMutable: MutableContext
- Definition Classes
- Context
-
def
newNameGenerator: NameGenerator
- Definition Classes
- Context
-
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
-
def
normalizer: Normalizer
- Definition Classes
- Context
-
def
notationsForConst(const: ConstName): List[Notation]
- Definition Classes
- Context → BabelSignature
-
def
notationsForToken(token: Token): Option[Notation]
- Definition Classes
- Context → BabelSignature
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
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
-
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
- Context → BabelSignature
-
def
skolemDef(skSym: Const): Option[Expr]
Returns the Skolem definition of skSym.
Returns the Skolem definition of skSym. See at.logic.gapt.expr.hol.SkolemFunctions.
- Definition Classes
- Context
-
def
state: State
- Definition Classes
- MutableContext → Context
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toImmutable: ImmutableContext
- Definition Classes
- MutableContext → Context
-
def
toReadonly: ReadonlyMutableContext
- Definition Classes
- Context
-
def
toString(): String
- Definition Classes
- MutableContext → Context → AnyRef → Any
-
def
updates: List[Update]
- Definition Classes
- MutableContext → Context
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
whnf(expression: Expr): Expr
- Definition Classes
- Context
-
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
-
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
This is the API documentation for GAPT.
The main package is at.logic.gapt.