|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Scope | |
|---|---|
| org.problets.domain.model.control.abstraction | |
| org.problets.domain.model.implement | |
| org.problets.domain.model.variable | |
| Uses of Scope in org.problets.domain.model.control.abstraction |
|---|
| Subclasses of Scope in org.problets.domain.model.control.abstraction | |
|---|---|
class |
Block
Processes a block of code, automatically ends scope upon exiting. |
class |
CPPProgram
To model a C++ program |
class |
CProgram
To model a C program |
class |
CSProgram
To model a C# program that handles ONLY imperative constructs (i.e., template does not contain a class declaration). |
class |
Function
Processes a function, which is a "callable" block. |
class |
JProgram
To model a Java program that handles ONLY imperative constructs (i.e., template does not contain a class declaration). |
class |
Program
Processes a program consisting of one or more functions, and accounts for partial referencing environments of global variables. |
class |
Statement
Processes ONE statement, creates activation record for it. |
class |
StatementSequence
Processes a sequence of statements which are NOT enclosed in braces, creates activation record for them. |
class |
VBProgram
To model a VB program |
| Uses of Scope in org.problets.domain.model.implement |
|---|
| Methods in org.problets.domain.model.implement that return Scope | |
|---|---|
Scope |
ActivationRecord.getScopeModel()
Returns a reference to the Scope of which this is the activation record |
| Constructors in org.problets.domain.model.implement with parameters of type Scope | |
|---|---|
ActivationRecord(ActivationRecord parentActivationRecord,
Scope inScope)
Initializes the vectors to hold the variables and pointers in this scope; initializes the vector to hold the activation records of embedded scopes; save a reference to the scope of which this is the activation record; saves a reference to the activation record of the parent scope, and adds self as a child of parent's activation record, if one exists |
|
| Uses of Scope in org.problets.domain.model.variable |
|---|
| Methods in org.problets.domain.model.variable that return Scope | |
|---|---|
Scope |
PtrModel.getAssignScope()
Returns a reference to the scope where the pointer was assigned |
| Methods in org.problets.domain.model.variable with parameters of type Scope | |
|---|---|
void |
PtrModel.setValue(AbstractVarModel in_value,
Scope in_scope)
Sets the value of the pointer - value may be either a VarModel or AnonVarModel object - hence AbstractVarModel parameter |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||