Property | Type | Description | |
---|---|---|---|
Compiler |
Method | Description | |
---|---|---|
CanHandleLanguage ( string language ) : bool |
This function checks if the current compiler can compile sources in a given language. By default, the language should match the current compiler's language name exactly, but descendants can override it so that, for example, C# 4.0 compiler could accept C# 2.0 cources.
|
|
Compile ( string sourceCode, |
Compiles given source code
|
|
GetList ( ) : WikiFunctions.CustomModules.CustomModuleCompiler[] |
Returns the list of currently available compiler modules
|
|
ToString ( ) : string |
Enforces that every class derived from this one will be properly displayed in a combo box.
|
Method | Description | |
---|---|---|
Instantiate ( |
||
Instantiate ( |
||
LoadAssembly ( string path, string dependantAssembliesPrefix ) : |
Method | Description | |
---|---|---|
AddToList ( List |
||
CustomModuleCompiler ( ) : System | ||
ResolveAssembly ( Object sender, |
public CanHandleLanguage ( string language ) : bool | ||
language | string | Language name to check |
return | bool |
public Compile ( string sourceCode, |
||
sourceCode | string | Source code to compile. It will be automatically wrapped between /// CodeStart and CodeEnd. |
parameters | Compilation options. | |
return |
public static GetList ( ) : WikiFunctions.CustomModules.CustomModuleCompiler[] | ||
return | WikiFunctions.CustomModules.CustomModuleCompiler[] |
protected static Instantiate ( |
||
asm | ||
typeName | string | |
return | object |
protected static Instantiate ( |
||
type | ||
return | object |
protected static LoadAssembly ( string path, string dependantAssembliesPrefix ) : |
||
path | string | |
dependantAssembliesPrefix | string | |
return |