Interface Jasic.Statement

All Known Implementing Classes:
Jasic.AssignStatement, Jasic.GotoStatement, Jasic.IfThenStatement, Jasic.InputStatement, Jasic.PrintStatement
Enclosing class:
Jasic

public static interface Jasic.Statement
Base interface for a Jasic statement. The different supported statement types like "print" and "goto" implement this.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Statements implement this to actually perform whatever behavior the statement causes.
  • Method Details

    • execute

      void execute()
      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.