All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class simple.CommandIf

java.lang.Object
   |
   +----simple.Domain
           |
           +----simple.SyntaxDomain
                   |
                   +----simple.Command
                           |
                           +----simple.CommandIf

public class CommandIf
extends Command
Formal Semantics of Programming Languages SS 99 1. Exercise Class represents syntax domain If-Command. C ::= if B then K

Version:
1.0 (JDK 1.1.7)
Author:
Jürgen Hartl, 9756179 / 881

Variable Index

 o bexp
 o block

Constructor Index

 o CommandIf(BooleanExpr, Block)

Method Index

 o execute(Environment, Store)
 o intendPrint(PrintStream, String)
 o toString()

Variables

 o bexp
 BooleanExpr bexp
 o block
 Block block

Constructors

 o CommandIf
 public CommandIf(BooleanExpr bexp,
                  Block block)

Methods

 o toString
 public String toString()
Overrides:
toString in class Object
 o intendPrint
 public void intendPrint(PrintStream out,
                         String intend)
Overrides:
intendPrint in class SyntaxDomain
 o execute
 Poststore execute(Environment e,
                   Store s)
Overrides:
execute in class Command

All Packages  Class Hierarchy  This Package  Previous  Next  Index