List of all members.
Public Member Functions |
| | Context () |
| DTCodeType | getSubroutine (String v) |
| DTCodeType | getFunction (String v) |
| DTDataType | getVariable (String var) |
| int | getVariableDimension (String var) |
| int | getVariableType (String var) |
| boolean | isArrayVariable (String s) |
| Scope | getPrev () |
| void | pushScope (Scope scope) |
| Scope | popScope () |
| Scope | getCurrentScope () |
| Scope | getGlobalScope () |
| void | setProgramScope (Scope scope) |
| void | setDimension (String s, DTDataType i1) |
| void | initialize () |
| void | setDimension (String s, DTDataType i1, DTDataType i2) |
| void | setDimension (String s, DTDataType i1, DTDataType i2, DTDataType i3) |
| DTDataType | getDTDataType (String s, DTDataType i1) |
| DTDataType | getDTDataType (String s, DTDataType i1, DTDataType i2) |
| DTDataType | getDTDataType (String s, DTDataType i1, DTDataType i2, DTDataType i3) |
| DTDataType | ensureVariable (String s, int t) |
Protected Member Functions |
| Scope | getProgramScope () |
Protected Attributes |
| Scope | theGlobalScope = null |
| Scope | theProgramScope = null |
| Stack | theScopeStack |
Package Functions |
| void | insertSubroutine (String v, DTCodeType t) |
| void | insertFunction (String v, DTCodeType t) |
| void | insertGlobalVariable (String v, DTDataType t) |
| void | insertVariable (String v, DTDataType t) |
Package Attributes |
| Hashtable | subroutineTable |
| Hashtable | functionTable |
Constructor & Destructor Documentation
| tinybasic.Context.Context |
( |
|
) |
|
Member Function Documentation
| DTDataType tinybasic.Context.ensureVariable |
( |
String |
s, |
|
|
int |
t | |
|
) |
| | |
| Scope tinybasic.Context.getCurrentScope |
( |
|
) |
|
| DTCodeType tinybasic.Context.getFunction |
( |
String |
v |
) |
|
| Scope tinybasic.Context.getGlobalScope |
( |
|
) |
|
| Scope tinybasic.Context.getPrev |
( |
|
) |
|
| Scope tinybasic.Context.getProgramScope |
( |
|
) |
[protected] |
| DTCodeType tinybasic.Context.getSubroutine |
( |
String |
v |
) |
|
| DTDataType tinybasic.Context.getVariable |
( |
String |
var |
) |
|
| int tinybasic.Context.getVariableDimension |
( |
String |
var |
) |
|
| int tinybasic.Context.getVariableType |
( |
String |
var |
) |
|
| void tinybasic.Context.initialize |
( |
|
) |
|
| void tinybasic.Context.insertFunction |
( |
String |
v, |
|
|
DTCodeType |
t | |
|
) |
| | [package] |
| void tinybasic.Context.insertGlobalVariable |
( |
String |
v, |
|
|
DTDataType |
t | |
|
) |
| | [package] |
| void tinybasic.Context.insertSubroutine |
( |
String |
v, |
|
|
DTCodeType |
t | |
|
) |
| | [package] |
| void tinybasic.Context.insertVariable |
( |
String |
v, |
|
|
DTDataType |
t | |
|
) |
| | [package] |
| boolean tinybasic.Context.isArrayVariable |
( |
String |
s |
) |
|
| Scope tinybasic.Context.popScope |
( |
|
) |
|
| void tinybasic.Context.pushScope |
( |
Scope |
scope |
) |
|
| void tinybasic.Context.setDimension |
( |
String |
s, |
|
|
DTDataType |
i1 | |
|
) |
| | |
| void tinybasic.Context.setProgramScope |
( |
Scope |
scope |
) |
|
Member Data Documentation
The documentation for this class was generated from the following file: