Method | Description | |
---|---|---|
Generate ( Zetbox ctx, string basePath, |
Method | Description | |
---|---|---|
AbstractBaseGenerator ( IEnumerable |
||
DeleteOldFiles ( ) : void | ||
Generate_AssemblyInfo ( IZetboxContext ctx ) : string | ||
Generate_CollectionEntries ( IZetboxContext ctx ) : string | ||
Generate_CompoundObject ( IZetboxContext ctx, CompoundObject s ) : string | ||
Generate_Enumeration ( IZetboxContext ctx, Enumeration e ) : string | ||
Generate_Interface ( IZetboxContext ctx, Interface i ) : string | ||
Generate_ObjectClass ( IZetboxContext ctx, ObjectClass objClass ) : string | ||
Generate_Objects ( Zetbox ctx ) : List |
||
Generate_Other ( IZetboxContext ctx ) : IEnumerable |
||
Generate_ProjectFile ( IZetboxContext ctx, string projectGuid, List |
||
InitCodeBasePath ( string basePath ) : void | ||
RunTemplate ( IZetboxContext ctx, string templateName, string filename ) : string | ||
RunTemplateWithExtension ( IZetboxContext ctx, string templateName, string targetFolder, string baseFilename, string extension ) : string | ||
SaveKeyFile ( ) : void | ||
Unidecode ( string filename ) : string |
converts the string to ascii using transliteration. uses the _transliterationTable and a nice hack to reduce utf-8 to ASCII. probably works only with western characters. See http://stackoverflow.com/questions/2173825/slugify-and-character-transliteration-in-c/2173922#2173922 |
protected AbstractBaseGenerator ( IEnumerable |
||
schemaProviders | IEnumerable |
|
return | System |
public Generate ( Zetbox ctx, string basePath, |
||
ctx | Zetbox | |
basePath | string | |
compiler | ||
return | void |
protected Generate_AssemblyInfo ( IZetboxContext ctx ) : string | ||
ctx | IZetboxContext | |
return | string |
protected Generate_CollectionEntries ( IZetboxContext ctx ) : string | ||
ctx | IZetboxContext | |
return | string |
protected Generate_CompoundObject ( IZetboxContext ctx, CompoundObject s ) : string | ||
ctx | IZetboxContext | |
s | CompoundObject | |
return | string |
protected Generate_Enumeration ( IZetboxContext ctx, Enumeration e ) : string | ||
ctx | IZetboxContext | |
e | Enumeration | |
return | string |
protected Generate_Interface ( IZetboxContext ctx, Interface i ) : string | ||
ctx | IZetboxContext | |
i | Interface | |
return | string |
protected Generate_ObjectClass ( IZetboxContext ctx, ObjectClass objClass ) : string | ||
ctx | IZetboxContext | |
objClass | ObjectClass | |
return | string |
protected Generate_Objects ( Zetbox ctx ) : List |
||
ctx | Zetbox | |
return | List |
protected Generate_Other ( IZetboxContext ctx ) : IEnumerable |
||
ctx | IZetboxContext | |
return | IEnumerable |
protected Generate_ProjectFile ( IZetboxContext ctx, string projectGuid, List |
||
ctx | IZetboxContext | |
projectGuid | string | |
generatedFileNames | List |
|
schemaProviders | IEnumerable |
|
return | string |
protected InitCodeBasePath ( string basePath ) : void | ||
basePath | string | |
return | void |
protected RunTemplate ( IZetboxContext ctx, string templateName, string filename ) : string | ||
ctx | IZetboxContext | |
templateName | string | |
filename | string | |
return | string |
protected RunTemplateWithExtension ( IZetboxContext ctx, string templateName, string targetFolder, string baseFilename, string extension ) : string | ||
ctx | IZetboxContext | |
templateName | string | |
targetFolder | string | |
baseFilename | string | |
extension | string | |
return | string |
protected static Unidecode ( string filename ) : string | ||
filename | string | |
return | string |