Packages

c

ch.usi.inf.reveal.parsing.model.java

IfStatementNode

case class IfStatementNode(expression: ExpressionNode, statement: BlockStatementNode, elseStatement: Option[ElseStatementNode], labels: Seq[LabelNode], comments: Seq[CommentNode]) extends BlockStatementNode with Product with Serializable

An if statement

expression

the argument of the conditional statement.

statement

the body of the conditional statement.

elseStatement

the optional else statement.

Linear Supertypes
Serializable, Serializable, BlockStatementNode, JavaASTNode, HASTNode, JsonSerializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. IfStatementNode
  2. Serializable
  3. Serializable
  4. BlockStatementNode
  5. JavaASTNode
  6. HASTNode
  7. JsonSerializable
  8. Product
  9. Equals
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new IfStatementNode(expression: ExpressionNode, statement: BlockStatementNode, elseStatement: Option[ElseStatementNode], labels: Seq[LabelNode], comments: Seq[CommentNode])

    expression

    the argument of the conditional statement.

    statement

    the body of the conditional statement.

    elseStatement

    the optional else statement.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def bindLabel(label: LabelNode): IfStatementNode

    Binds a new label to this block.

    Binds a new label to this block.

    label

    a label.

    returns

    a new node with the label added.

    Definition Classes
    IfStatementNodeBlockStatementNode
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. val comments: Seq[CommentNode]
  8. val elseStatement: Option[ElseStatementNode]
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. val expression: ExpressionNode
  11. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. val labels: Seq[LabelNode]
    Definition Classes
    IfStatementNodeBlockStatementNode
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  18. val statement: BlockStatementNode
  19. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  20. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from BlockStatementNode

Inherited from JavaASTNode

Inherited from HASTNode

Inherited from JsonSerializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped