Table of Contents

Class CompoundCommand

Namespace
BOOSE
Assembly
BOOSE.dll

CompoundCommand is a building block for shared functionality between CompoundCommands, such as IF, WHILE, FOR ,ELSE and ENDS Classes the inherit from here tend to be "sealed" so that they cnnot be inherited from to manipulate restrictions.

public class CompoundCommand : ConditionalCommand, ICommand
Inheritance
CompoundCommand
Implements
Derived
Inherited Members

Constructors

CompoundCommand()

public CompoundCommand()

Properties

CorrespondingCommand

public ConditionalCommand CorrespondingCommand { get; set; }

Property Value

ConditionalCommand

Methods

CheckParameters(string[])

Does nothing in this case.

public override void CheckParameters(string[] parameter)

Parameters

parameter string[]

Compile()

Override base.compile() because a variable always has variable = expression and this is just expression.

public override void Compile()

Exceptions

VarException

ReduceRestrictions()

protected void ReduceRestrictions()