The StaDyn Programming Language
Source code documentation of StaDyn, a hybrid static and dynamic typing language.
CodeGeneration.ILReservedWords Class Reference

Public Member Functions

bool CheckReserved (string word)
 Checks wether parameter word is a reserved word More...
 
string MakeILComplaint (String word)
 Receives a parameter to use en IL. If this parameter is tmpName word in IL it's surrounded by a pair of 's. Otherwise it returns the parameter itself More...
 

Detailed Description

Definition at line 27 of file ILReservedWords.cs.

Member Function Documentation

bool CodeGeneration.ILReservedWords.CheckReserved ( string  word)

Checks wether parameter word is a reserved word

Parameters
wordstring to find out if it is a reserved word
Returns
True if 'word' is a reserfed word, false it not

Definition at line 37 of file ILReservedWords.cs.

string CodeGeneration.ILReservedWords.MakeILComplaint ( String  word)

Receives a parameter to use en IL. If this parameter is tmpName word in IL it's surrounded by a pair of 's. Otherwise it returns the parameter itself

Parameters
worda candidate parameter to use en IL
Returns
If parameter word is tmpName word in IL it's surrounded by a pair of 's. Otherwise it returns the parameter itself

Definition at line 48 of file ILReservedWords.cs.


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