The StaDyn Programming Language
Source code documentation of StaDyn, a hybrid static and dynamic typing language.
|
Implementation of a table of variables. thist tables search for an id according to its string type representation More...
Public Member Functions | |
TemporalVariablesTable () | |
void | Insert (string type, string id) |
Insert a new temporal var. If the variable exists it. the new pair is not inserted More... | |
string | SearchId (string type) |
Searches the temporal variable.whose type is represented in type More... | |
void | Clear () |
Deletes all the values in the table More... | |
Properties | |
static TemporalVariablesTable | Instance [get] |
Gets the unique instance of TemporalVariablesTable More... | |
Implementation of a table of variables. thist tables search for an id according to its string type representation
Definition at line 27 of file TemporalVariablesTable.cs.
CodeGeneration.TemporalVariablesTable.TemporalVariablesTable | ( | ) |
Definition at line 62 of file TemporalVariablesTable.cs.
void CodeGeneration.TemporalVariablesTable.Clear | ( | ) |
Deletes all the values in the table
Definition at line 104 of file TemporalVariablesTable.cs.
void CodeGeneration.TemporalVariablesTable.Insert | ( | string | type, |
string | id | ||
) |
Insert a new temporal var. If the variable exists it. the new pair is not inserted
type | String representing the type to map. |
id | identifier of the variable. |
if the type exists it raises and exception
Definition at line 76 of file TemporalVariablesTable.cs.
string CodeGeneration.TemporalVariablesTable.SearchId | ( | string | type | ) |
Searches the temporal variable.whose type is represented in type
type | type of of the auxiliar variable. |
Definition at line 91 of file TemporalVariablesTable.cs.
|
staticget |
Gets the unique instance of TemporalVariablesTable
Definition at line 50 of file TemporalVariablesTable.cs.