Class/Object

org.opalj.tac

If

Related Docs: object If | package tac

Permalink

case class If[+V <: Var[V]](pc: PC, left: Expr[V], condition: RelationalOperator, right: Expr[V], target: Int) extends Stmt[V] with Product with Serializable

left

The expression left to the relational operator. In general, this can be expected to be a Var. However, it is not expression to facilitate advanced use cases such as generating source code.

right

The expression right to the relational operator. In general, this can be expected to be a Var. However, it is not expression to facilitate advanced use cases such as generating source code.

target

Index in the statements array.

Linear Supertypes
Serializable, Serializable, Product, Equals, Stmt[V], ASTNode[V], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. If
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Stmt
  7. ASTNode
  8. AnyRef
  9. 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 If(pc: PC, left: Expr[V], condition: RelationalOperator, right: Expr[V], target: Int)

    Permalink

    left

    The expression left to the relational operator. In general, this can be expected to be a Var. However, it is not expression to facilitate advanced use cases such as generating source code.

    right

    The expression right to the relational operator. In general, this can be expected to be a Var. However, it is not expression to facilitate advanced use cases such as generating source code.

    target

    Index in the statements array.

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 If[V] to any2stringadd[If[V]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (If[V], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from If[V] to ArrowAssoc[If[V]] 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
    IfASTNode
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. val condition: RelationalOperator

    Permalink
  10. def ensuring(cond: (If[V]) ⇒ Boolean, msg: ⇒ Any): If[V]

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  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 If[V] to StringFormat[If[V]] 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 isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  19. val left: Expr[V]

    Permalink

    The expression left to the relational operator.

    The expression left to the relational operator. In general, this can be expected to be a Var. However, it is not expression to facilitate advanced use cases such as generating source code.

  20. def leftExpr: Expr[V]

    Permalink
  21. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  24. val pc: PC

    Permalink

    The program counter of the original underyling bytecode instruction.

    The program counter of the original underyling bytecode instruction.

    This pc is independent of the (implicit) index of the statement in the generated statements array! This pc is, e.g., useful for getting line number information.

    Definition Classes
    IfStmt
  25. val right: Expr[V]

    Permalink

    The expression right to the relational operator.

    The expression right to the relational operator. In general, this can be expected to be a Var. However, it is not expression to facilitate advanced use cases such as generating source code.

  26. def rightExpr: Expr[V]

    Permalink
  27. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  28. def targetStmt: Int

    Permalink

    The target statement that is executed if the condition evaluates to true.

  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): (If[V], B)

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

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Stmt[V]

Inherited from ASTNode[V]

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from If[V] to any2stringadd[If[V]]

Inherited by implicit conversion StringFormat from If[V] to StringFormat[If[V]]

Inherited by implicit conversion Ensuring from If[V] to Ensuring[If[V]]

Inherited by implicit conversion ArrowAssoc from If[V] to ArrowAssoc[If[V]]

Ungrouped