net.sourceforge.plantuml.jasic
Class Jasic.PrintStatement

java.lang.Object
  extended by net.sourceforge.plantuml.jasic.Jasic.PrintStatement
All Implemented Interfaces:
Jasic.Statement
Enclosing class:
Jasic

public class Jasic.PrintStatement
extends Object
implements Jasic.Statement

A "print" statement evaluates an expression, converts the result to a string, and displays it to the user.


Constructor Summary
Jasic.PrintStatement(Jasic.Expression expression)
           
 
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
 

Constructor Detail

Jasic.PrintStatement

public Jasic.PrintStatement(Jasic.Expression expression)
Method Detail

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 © 2013. All Rights Reserved.