Trait

org.opalj.tac

IdBasedVar

Related Doc: package tac

Permalink

sealed trait IdBasedVar extends Var[IdBasedVar]

Id based variables are named based on the position of the stack/register they were defined.

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. IdBasedVar
  2. Var
  3. ValueExpr
  4. Expr
  5. ASTNode
  6. AnyRef
  7. 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

Abstract Value Members

  1. abstract def cTpe: ComputationalType

    Permalink

    The computational type of the underlying value.

    The computational type of the underlying value. I.e., an approximation of the type of the underlying value. It is the best type information directly available. The precision of the type information depends on the number of pre-/post-processing steps that are done.

    Definition Classes
    Expr
  2. abstract def id: Int

    Permalink

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from IdBasedVar to any2stringadd[IdBasedVar] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (IdBasedVar, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from IdBasedVar to ArrowAssoc[IdBasedVar] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. final def astID: Int

    Permalink

    Each type of node is assigned a different id to make it easily possible to do a switch over all nodes.

    Each type of node is assigned a different id to make it easily possible to do a switch over all nodes.

    Definition Classes
    VarASTNode
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def ensuring(cond: (IdBasedVar) ⇒ Boolean, msg: ⇒ Any): IdBasedVar

    Permalink
    Implicit information
    This member is added by an implicit conversion from IdBasedVar to Ensuring[IdBasedVar] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  10. def ensuring(cond: (IdBasedVar) ⇒ Boolean): IdBasedVar

    Permalink
    Implicit information
    This member is added by an implicit conversion from IdBasedVar to Ensuring[IdBasedVar] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: Boolean, msg: ⇒ Any): IdBasedVar

    Permalink
    Implicit information
    This member is added by an implicit conversion from IdBasedVar to Ensuring[IdBasedVar] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: Boolean): IdBasedVar

    Permalink
    Implicit information
    This member is added by an implicit conversion from IdBasedVar to Ensuring[IdBasedVar] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from IdBasedVar to StringFormat[IdBasedVar] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  17. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  18. final def hasSameLocation(that: IdBasedVar): Boolean

    Permalink

    returns

    true if this variable and the given variable use the same location. Compared to equals this test does not consider the computational type.

  19. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. final def isSideEffectFree: Boolean

    Permalink

    true if the expression is GUARANTEED to have no externally observable effect if it is not executed.

    true if the expression is GUARANTEED to have no externally observable effect if it is not executed. Sideeffect free instructions can be removed if the result of the evaluation of the expression is not used. For those expressions, which may result in an exception it has to be guaranteed that the exception is NEVER thrown. For example, a div instruction is sideeffect free if it is (statically) known that the divisor is always not equal to zero; otherwise, even if the result value is not used, the expression is not (potentially) side effect free.

    returns

    true if the expression is GUARENTEED to have no side effect other than wasting some CPU cycles if it is not executed.

    Definition Classes
    IdBasedVarExpr
  22. def name: String

    Permalink

    A human readable name of the local variable.

    A human readable name of the local variable.

    Definition Classes
    IdBasedVarVar
  23. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  24. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  25. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  27. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  28. def updated(cTpe: ComputationalType): SimpleVar

    Permalink

    Creates a new variable that has the same identifier etc.

    Creates a new variable that has the same identifier etc. but an updated computational type.

    This operation is not supported for local variables!

  29. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. def [B](y: B): (IdBasedVar, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from IdBasedVar to ArrowAssoc[IdBasedVar] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from Var[IdBasedVar]

Inherited from ValueExpr[IdBasedVar]

Inherited from Expr[IdBasedVar]

Inherited from ASTNode[IdBasedVar]

Inherited from AnyRef

Inherited from Any

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

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

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

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

Ungrouped