net.sourceforge.plantuml.jasic
Class Jasic.IfThenStatement
java.lang.Object
net.sourceforge.plantuml.jasic.Jasic.IfThenStatement
- All Implemented Interfaces:
- Jasic.Statement
- Enclosing class:
- Jasic
public class Jasic.IfThenStatement
- extends Object
- implements Jasic.Statement
An if then statement jumps execution to another place in the program, but
only if an expression evaluates to something other than 0.
Method Summary |
void |
execute()
Statements implement this to actually perform whatever behavior the
statement causes. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Jasic.IfThenStatement
public Jasic.IfThenStatement(Jasic.Expression condition,
String label)
execute
public void execute()
- Description copied from interface:
Jasic.Statement
- Statements 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:
execute
in interface Jasic.Statement
Copyright © 2012. All Rights Reserved.