Class Jasic.GotoStatement

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

public class Jasic.GotoStatement extends Object implements Jasic.Statement
A "goto" statement jumps execution to another place in the program.
  • Constructor Details

    • GotoStatement

      public GotoStatement(String label)
  • Method Details

    • 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