public interface If extends ConditionalStatement
Statement
subinterface for the if, else if,
else
construct.Modifier and Type | Method and Description |
---|---|
Else |
getElse()
Gets the optional
Else clause. |
List<ElseIf> |
getElseIfs()
Gets the list of else if's as an list of
ElseIf . |
ElseIf |
newElseIf(Expression predicate)
Adds a new
ElseIf to the list of else-if's. |
getPredicate, setPredicate
comment, getLabel, isAbruptCompletionStatement, setLabel
getStatements, insertStatement, insertStatement, newBreak, newContinue, newDeclarationLet, newDoWhile, newEmpty, newFor, newIf, newLet, newLocalBlock, newLocalClass, newLocalClass, newReturn, newStmt, newSwitch, newSynchronized, newThrow, newTry, newWhile, removeStmt
applyStyle, cast, getComment, isActive, isBlockWithAbruptCompletion, setComment, toCode, visit, vm
Else getElse()
Else
clause.ElseIf newElseIf(Expression predicate)
ElseIf
to the list of else-if's.Copyright © 2000–2018 jenesis4java. All rights reserved.