The StaDyn Programming Language
Source code documentation of StaDyn, a hybrid static and dynamic typing language.
|
Public Member Functions | |
ILStatementsCodeGeneration (TextWriter output) | |
virtual void | WriteComment (string msg) |
Writes the specified message. More... | |
virtual void | WriteComment (int indent, string msg) |
void | WriteLine (int indent, string format, params Object[] obj) |
Writes a line terminator in the text stream More... | |
void | WriteLine (string format, params Object[] obj) |
void | Write (string format, params Object[] obj) |
void | Write (int indent, string format, params Object[] obj) |
void | Write (int indent, string str) |
void | Write (string str) |
void | WriteLine (int indent, string str) |
void | WriteLine (string str) |
void | WriteLine () |
void | WriteIndentation (int indent) |
void | WriteLNAssemblyDirective (string fileName) |
virtual void | WriteClassVisibility (int indent, string name, ClassType type) |
void | WriteModule (string fileName) |
void | WriteEndOfClass (string className) |
virtual void | WriteLNInterfaceHeader (int indent, string name, InterfaceType type) |
Writes the interface header More... | |
void | WriteNamespace (string name) |
Writes the namespace header. More... | |
void | WriteCloseBrace (int indent) |
Writes the termination token. Requires the output text would be formatted, with tabs for example. More... | |
void | WriteCloseBrace () |
void | WriteLineCloseBrace (int indent) |
void | WriteOpenBrace (int indent) |
void | WriteOpenBrace () |
void | WriteLineOpenBrace (int indent) |
virtual void | WriteEntryPoint () |
virtual void | WriteAuxiliarLocalVariable (string id, string type) |
Writes the information of local variables. More... | |
Protected Attributes | |
TextWriter | output |
StringBuilder | debugMemoryLog |
Definition at line 7 of file ILStatementsCodeGeneration.cs.
CodeGeneration.ILStatementsCodeGeneration.ILStatementsCodeGeneration | ( | TextWriter | output | ) |
Definition at line 10 of file ILStatementsCodeGeneration.cs.
void CodeGeneration.ILStatementsCodeGeneration.Write | ( | string | format, |
params Object[] | obj | ||
) |
Definition at line 52 of file ILStatementsCodeGeneration.cs.
void CodeGeneration.ILStatementsCodeGeneration.Write | ( | int | indent, |
string | format, | ||
params Object[] | obj | ||
) |
Definition at line 60 of file ILStatementsCodeGeneration.cs.
void CodeGeneration.ILStatementsCodeGeneration.Write | ( | int | indent, |
string | str | ||
) |
Definition at line 65 of file ILStatementsCodeGeneration.cs.
void CodeGeneration.ILStatementsCodeGeneration.Write | ( | string | str | ) |
Definition at line 71 of file ILStatementsCodeGeneration.cs.
|
virtual |
Writes the information of local variables.
id | Auxiliar local variable identifier. |
type | Auxiliar local variable type expression. |
Definition at line 332 of file ILStatementsCodeGeneration.cs.
|
virtual |
Definition at line 112 of file ILStatementsCodeGeneration.cs.
void CodeGeneration.ILStatementsCodeGeneration.WriteCloseBrace | ( | int | indent | ) |
Writes the termination token. Requires the output text would be formatted, with tabs for example.
Definition at line 291 of file ILStatementsCodeGeneration.cs.
void CodeGeneration.ILStatementsCodeGeneration.WriteCloseBrace | ( | ) |
Definition at line 295 of file ILStatementsCodeGeneration.cs.
|
virtual |
Writes the specified message.
msg | Message to write. |
Definition at line 24 of file ILStatementsCodeGeneration.cs.
|
virtual |
Definition at line 28 of file ILStatementsCodeGeneration.cs.
void CodeGeneration.ILStatementsCodeGeneration.WriteEndOfClass | ( | string | className | ) |
Definition at line 136 of file ILStatementsCodeGeneration.cs.
|
virtual |
Definition at line 319 of file ILStatementsCodeGeneration.cs.
void CodeGeneration.ILStatementsCodeGeneration.WriteIndentation | ( | int | indent | ) |
Definition at line 96 of file ILStatementsCodeGeneration.cs.
void CodeGeneration.ILStatementsCodeGeneration.WriteLine | ( | int | indent, |
string | format, | ||
params Object[] | obj | ||
) |
Writes a line terminator in the text stream
Definition at line 38 of file ILStatementsCodeGeneration.cs.
void CodeGeneration.ILStatementsCodeGeneration.WriteLine | ( | string | format, |
params Object[] | obj | ||
) |
Definition at line 43 of file ILStatementsCodeGeneration.cs.
void CodeGeneration.ILStatementsCodeGeneration.WriteLine | ( | int | indent, |
string | str | ||
) |
Definition at line 78 of file ILStatementsCodeGeneration.cs.
void CodeGeneration.ILStatementsCodeGeneration.WriteLine | ( | string | str | ) |
Definition at line 83 of file ILStatementsCodeGeneration.cs.
void CodeGeneration.ILStatementsCodeGeneration.WriteLine | ( | ) |
Definition at line 88 of file ILStatementsCodeGeneration.cs.
void CodeGeneration.ILStatementsCodeGeneration.WriteLineCloseBrace | ( | int | indent | ) |
Definition at line 298 of file ILStatementsCodeGeneration.cs.
void CodeGeneration.ILStatementsCodeGeneration.WriteLineOpenBrace | ( | int | indent | ) |
Definition at line 310 of file ILStatementsCodeGeneration.cs.
void CodeGeneration.ILStatementsCodeGeneration.WriteLNAssemblyDirective | ( | string | fileName | ) |
Definition at line 105 of file ILStatementsCodeGeneration.cs.
|
virtual |
Writes the interface header
indent | Indentation to use. |
name | Interface name. |
type | Interface type expression. |
Definition at line 160 of file ILStatementsCodeGeneration.cs.
void CodeGeneration.ILStatementsCodeGeneration.WriteModule | ( | string | fileName | ) |
Definition at line 132 of file ILStatementsCodeGeneration.cs.
void CodeGeneration.ILStatementsCodeGeneration.WriteNamespace | ( | string | name | ) |
Writes the namespace header.
indent | Indentation to use. |
name | Namespace name. |
Definition at line 279 of file ILStatementsCodeGeneration.cs.
void CodeGeneration.ILStatementsCodeGeneration.WriteOpenBrace | ( | int | indent | ) |
Definition at line 303 of file ILStatementsCodeGeneration.cs.
void CodeGeneration.ILStatementsCodeGeneration.WriteOpenBrace | ( | ) |
Definition at line 307 of file ILStatementsCodeGeneration.cs.
|
protected |
Definition at line 9 of file ILStatementsCodeGeneration.cs.
|
protected |
Definition at line 8 of file ILStatementsCodeGeneration.cs.