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.
- Alphabetic
- By Inheritance
- IfStatementNode
- Serializable
- Serializable
- BlockStatementNode
- JavaASTNode
- HASTNode
- JsonSerializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
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
-
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
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
- IfStatementNode → BlockStatementNode
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- val comments: Seq[CommentNode]
- val elseStatement: Option[ElseStatementNode]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val expression: ExpressionNode
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
val
labels: Seq[LabelNode]
- Definition Classes
- IfStatementNode → BlockStatementNode
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- val statement: BlockStatementNode
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )