class ANFSemantics[Abs, Addr, Time] extends Semantics[ANFExp, Abs, Addr, Time]
Semantics for ANF Scheme (abstract grammar defined in ANF.scala)
- Alphabetic
- By Inheritance
- ANFSemantics
- Semantics
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
- new ANFSemantics(primitives: Primitives[Addr, Abs])(implicit arg0: IsSchemeLattice[Abs], arg1: Address[Addr], arg2: Timestamp[Time])
Type Members
-
trait
ANFFrame extends Frame
ANF Scheme only has three types of continuation frames: halt, let, and letrec
- type Actions = Set[Action[ANFExp, Abs, Addr]]
- case class FrameLet(v: Identifier, body: ANFExp, env: Environment[Addr]) extends ANFFrame with Product with Serializable
- case class FrameLetrec(v: Identifier, a: Addr, body: ANFExp, env: Environment[Addr]) extends ANFFrame with Product with Serializable
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
+(other: String): String
- Implicit
- This member is added by an implicit conversion from ANFSemantics[Abs, Addr, Time] to any2stringadd[ANFSemantics[Abs, Addr, Time]] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (ANFSemantics[Abs, Addr, Time], B)
- Implicit
- This member is added by an implicit conversion from ANFSemantics[Abs, Addr, Time] to ArrowAssoc[ANFSemantics[Abs, Addr, Time]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
implicit
def
actionToSet(action: Action[ANFExp, Abs, Addr]): Set[Action[ANFExp, Abs, Addr]]
- Definition Classes
- Semantics
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
atomicEval(e: ANFAtomicExp, env: Environment[Addr], store: Store[Addr, Abs]): MayFail[(Abs, Set[Effect[Addr]])]
Performs evaluation of an atomic expression, returning either an error or the produced value
-
def
bindArgs(l: List[(Identifier, Abs)], env: Environment[Addr], store: Store[Addr, Abs], t: Time): (Environment[Addr], Store[Addr, Abs])
Binds arguments in the environment and store.
Binds arguments in the environment and store. Arguments are given as a list of triple, where each triple is made of:
- the name of the argument
- the position of the argument
- the value of the argument
- Attributes
- protected
- Definition Classes
- Semantics
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate() @throws( ... )
-
def
ensuring(cond: (ANFSemantics[Abs, Addr, Time]) ⇒ Boolean, msg: ⇒ Any): ANFSemantics[Abs, Addr, Time]
- Implicit
- This member is added by an implicit conversion from ANFSemantics[Abs, Addr, Time] to Ensuring[ANFSemantics[Abs, Addr, Time]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (ANFSemantics[Abs, Addr, Time]) ⇒ Boolean): ANFSemantics[Abs, Addr, Time]
- Implicit
- This member is added by an implicit conversion from ANFSemantics[Abs, Addr, Time] to Ensuring[ANFSemantics[Abs, Addr, Time]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): ANFSemantics[Abs, Addr, Time]
- Implicit
- This member is added by an implicit conversion from ANFSemantics[Abs, Addr, Time] to Ensuring[ANFSemantics[Abs, Addr, Time]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): ANFSemantics[Abs, Addr, Time]
- Implicit
- This member is added by an implicit conversion from ANFSemantics[Abs, Addr, Time] to Ensuring[ANFSemantics[Abs, Addr, Time]] 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
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from ANFSemantics[Abs, Addr, Time] to StringFormat[ANFSemantics[Abs, Addr, Time]] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
initialBindings: List[(String, Addr, Abs)]
Defines the elements in the initial environment/store
Defines the elements in the initial environment/store
- Definition Classes
- ANFSemantics → Semantics
-
def
initialEnv: Iterable[(String, Addr)]
- Definition Classes
- Semantics
-
def
initialStore: Iterable[(Addr, Abs)]
- Definition Classes
- Semantics
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
implicit
def
mfActionToActions(mf: MayFail[Action[ANFExp, Abs, Addr]]): Set[Action[ANFExp, Abs, Addr]]
- Definition Classes
- Semantics
-
implicit
def
mfToActions(mf: MayFail[Set[Action[ANFExp, Abs, Addr]]]): Set[Action[ANFExp, Abs, Addr]]
- Definition Classes
- Semantics
-
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()
-
def
parse(program: String): ANFExp
Defines how to parse a program
Defines how to parse a program
- Definition Classes
- ANFSemantics → Semantics
-
def
stepEval(e: ANFExp, env: Environment[Addr], store: Store[Addr, Abs], t: Time): Set[Action[ANFExp, Abs, Addr]]
Defines what actions should be taken when an expression e needs to be evaluated, in environment env with store store
Defines what actions should be taken when an expression e needs to be evaluated, in environment env with store store
- Definition Classes
- ANFSemantics → Semantics
-
def
stepKont(v: Abs, frame: Frame, store: Store[Addr, Abs], t: Time): Set[Action[ANFExp, Abs, Addr]]
Defines what actions should be taken when a value v has been reached, and the topmost frame is frame
Defines what actions should be taken when a value v has been reached, and the topmost frame is frame
- Definition Classes
- ANFSemantics → Semantics
-
def
stepReceive(self: Any, mname: String, margsv: List[Abs], d: ANFExp, env: Environment[Addr], store: Store[Addr, Abs], t: Time): Set[Action[ANFExp, Abs, Addr]]
WIP
WIP
- Definition Classes
- Semantics
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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( ... )
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
→[B](y: B): (ANFSemantics[Abs, Addr, Time], B)
- Implicit
- This member is added by an implicit conversion from ANFSemantics[Abs, Addr, Time] to ArrowAssoc[ANFSemantics[Abs, Addr, Time]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
-
object
Action extends ActionHelpers[Exp, Abs, Addr]
- Definition Classes
- Semantics