case class Context[F[_]](types: Vector[FuncType], funcs: Vector[FuncType], tables: Vector[TableType], mems: Vector[MemType], globals: Vector[GlobalType], locals: Vector[ValType], labels: Vector[ResultType], ret: Option[ResultType], operands: List[OperandType], unreachable: Boolean, parent: Option[Context[F]])(implicit F: MonadError[F, Throwable]) extends Product with Serializable
A validation context, used when performing module and instruction validation.
- Source
- Context.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Context
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new Context(types: Vector[FuncType], funcs: Vector[FuncType], tables: Vector[TableType], mems: Vector[MemType], globals: Vector[GlobalType], locals: Vector[ValType], labels: Vector[ResultType], ret: Option[ResultType], operands: List[OperandType], unreachable: Boolean, parent: Option[Context[F]])(implicit F: MonadError[F, Throwable])
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def emptyOperands: F[Unit]
- def enterContext(bt: BlockType, loop: Boolean): F[Context[F]]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val funcs: Vector[FuncType]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val globals: Vector[GlobalType]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val labels: Vector[ResultType]
- def leaveContext(bt: BlockType, popInputs: Boolean): F[Context[F]]
- val locals: Vector[ValType]
- def markUnreachable: Context[F]
- val mems: Vector[MemType]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val operands: List[OperandType]
- val parent: Option[Context[F]]
- def pop: F[(OperandType, Context[F])]
- def pop(expected: Vector[ValType]): F[Context[F]]
- def pop(expected: OperandType): F[Context[F]]
- def pop(expected: ValType): F[Context[F]]
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def push(optypes: Vector[ValType]): Context[F]
- def push(optype: ValType): Context[F]
- def push(optype: OperandType): Context[F]
- val ret: Option[ResultType]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val tables: Vector[TableType]
- val types: Vector[FuncType]
- val unreachable: Boolean
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def withFreshOperands: Context[F]
- def withFuncs(tps: Vector[FuncType]): Context[F]
- def withGlobals(tps: Vector[GlobalType]): Context[F]
- def withLabels(tps: Vector[ResultType]): Context[F]
- def withLocals(tps: Vector[ValType]): Context[F]
- def withMems(tps: Vector[MemType]): Context[F]
- def withReturn(tpe: Option[ResultType]): Context[F]
- def withTables(tps: Vector[TableType]): Context[F]
- def withTypes(tps: Vector[FuncType]): Context[F]
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
- Deprecated
(Since version ) see corresponding Javadoc for more information.