The StaDyn Programming Language
Source code documentation of StaDyn, a hybrid static and dynamic typing language.
Inference.Core.Program Class Reference

Public Member Functions

 Program ()
 Constructor of Program More...
 
string LoadFile (FileInfo f, IDictionary< string, string > directories)
 Starts the parsing process More...
 
void Run (IDictionary< string, string > directories, string outputFileName, string debugFilePath, string ilasmFileName, string typeTableFileName, TargetPlatform targetPlatform, bool run, bool serverOptimization)
 Runs the application

Parameters
directoriesA filename : directoryname map
outputFileNameThe output file name. A null value means no executable generation.
debugFilePathPath where files with debug info will be created (does not include filename).
typeTableFileNamePath to file with types table info that will be created (includes filename).
ilasmFileNamePath to the ilasm.exe executable file (includes filename).
runIf the program must be executed after compilation
targetPlatformThe target platform to compile the code
More...
 

Static Public Member Functions

static void SetEntryPointFound (Location location)
 Sets the information of entry point. More...
 
static void ClearMemory ()
 Frees information in memory More...
 

Detailed Description

Definition at line 33 of file Program.cs.

Constructor & Destructor Documentation

Inference.Core.Program.Program ( )

Constructor of Program

Definition at line 104 of file Program.cs.

Member Function Documentation

static void Inference.Core.Program.ClearMemory ( )
static

Frees information in memory

Definition at line 334 of file Program.cs.

string Inference.Core.Program.LoadFile ( FileInfo  f,
IDictionary< string, string >  directories 
)

Starts the parsing process

Parameters
fFileInfo with path information.
directoriesA filename : directoryname map

Definition at line 119 of file Program.cs.

void Inference.Core.Program.Run ( IDictionary< string, string >  directories,
string  outputFileName,
string  debugFilePath,
string  ilasmFileName,
string  typeTableFileName,
TargetPlatform  targetPlatform,
bool  run,
bool  serverOptimization 
)

Runs the application

Parameters
directoriesA filename : directoryname map
outputFileNameThe output file name. A null value means no executable generation.
debugFilePathPath where files with debug info will be created (does not include filename).
typeTableFileNamePath to file with types table info that will be created (includes filename).
ilasmFileNamePath to the ilasm.exe executable file (includes filename).
runIf the program must be executed after compilation
targetPlatformThe target platform to compile the code

Definition at line 229 of file Program.cs.

static void Inference.Core.Program.SetEntryPointFound ( Location  location)
static

Sets the information of entry point.

Parameters
fileFile name in which the entry point is located.
lineLine number in which the entry point is located.
columColumn number in which the entry point is located.

Definition at line 92 of file Program.cs.


The documentation for this class was generated from the following file: