Package net.sourceforge.plantuml.jasic
Class Jasic.IfThenStatement
java.lang.Object
net.sourceforge.plantuml.jasic.Jasic.IfThenStatement
- All Implemented Interfaces:
Jasic.Statement
- Enclosing class:
- Jasic
An if then statement jumps execution to another place in the program, but
only if an expression evaluates to something other than 0.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute()Statements implement this to actually perform whatever behavior the statement causes.
-
Constructor Details
-
IfThenStatement
-
-
Method Details
-
execute
public void execute()Description copied from interface:Jasic.StatementStatements implement this to actually perform whatever behavior the statement causes. "print" statements will display text here, "goto" statements will change the current statement, etc.- Specified by:
executein interfaceJasic.Statement
-