Méthode | Description | |
---|---|---|
CompileCommonScripts ( ) : bool | ||
CompileScript ( string filename, bool batch ) : |
||
ConditionalPreProcessingOnly ( string name ) : bool | ||
CreateInput ( string name ) : ICompilerInput | ||
CreateJSGenerator ( IRailsEngineContext context ) : object | ||
GenerateJS ( |
||
GetCompiledScriptInstance ( string file, |
||
HasTemplate ( string templateName ) : bool | ||
Initialize ( ) : void | ||
NormalizeName ( string filename ) : string | ||
Process ( IRailsEngineContext context, Controller controller, string templateName ) : void | ||
Process ( |
||
ProcessContents ( IRailsEngineContext context, Controller controller, string contents ) : void | ||
ProcessPartial ( |
||
Service ( IServiceProvider serviceProvider ) : void |
Méthode | Description | |
---|---|---|
ResolveTemplateName ( string templateName, string extention ) : string |
Resolves the template name into a file name.
|
Méthode | Description | |
---|---|---|
CreateBrailBase ( IRailsEngineContext context, Controller controller, |
||
DoCompile ( ICollection |
Perform the actual compilation of the scripts Things to note here: * The generated assembly reference the Castle.MonoRail.MonoRailBrail and Castle.MonoRail.Framework assemblies * If a common scripts assembly exist, it is also referenced * The AddBrailBaseClassStep compiler step is added - to create a class from the view's code * The ProcessMethodBodiesWithDuckTyping is replaced with ReplaceUknownWithParameters this allows to use naked parameters such as (output context.IsLocal) without using any special syntax * The ExpandDuckTypedExpressions is replace with a derived step that allows the use of Dynamic Proxy assemblies * The IntroduceGlobalNamespaces step is removed, to allow to use common variables such as date and list without accidently using the Boo.Lang.BuiltIn versions
|
|
GetInput ( string filename, bool batch ) : string>.IDictionary |
||
GetOutput ( |
||
InitializeConfig ( ) : void | ||
InitializeConfig ( string sectionName ) : void | ||
Log ( string msg ) : void | ||
OnViewChanged ( object sender, |
||
SetupCompiler ( ICompilerInput files ) : |
||
WaitForFileToBecomeAvailableForReading ( |
public CompileScript ( string filename, bool batch ) : |
||
filename | string | |
batch | bool | |
Résultat |
public ConditionalPreProcessingOnly ( string name ) : bool | ||
name | string | |
Résultat | bool |
public CreateInput ( string name ) : ICompilerInput | ||
name | string | |
Résultat | ICompilerInput |
public CreateJSGenerator ( IRailsEngineContext context ) : object | ||
context | IRailsEngineContext | |
Résultat | object |
public GenerateJS ( |
||
output | ||
context | IRailsEngineContext | |
controller | Controller | |
templateName | string | |
Résultat | void |
public GetCompiledScriptInstance ( string file, |
||
file | string | |
output | ||
context | IRailsEngineContext | |
controller | Controller | |
Résultat |
public HasTemplate ( string templateName ) : bool | ||
templateName | string | |
Résultat | bool |
public NormalizeName ( string filename ) : string | ||
filename | string | |
Résultat | string |
public Process ( IRailsEngineContext context, Controller controller, string templateName ) : void | ||
context | IRailsEngineContext | |
controller | Controller | |
templateName | string | |
Résultat | void |
public Process ( |
||
output | ||
context | IRailsEngineContext | |
controller | Controller | |
templateName | string | |
Résultat | void |
public ProcessContents ( IRailsEngineContext context, Controller controller, string contents ) : void | ||
context | IRailsEngineContext | |
controller | Controller | |
contents | string | |
Résultat | void |
public ProcessPartial ( |
||
output | ||
context | IRailsEngineContext | |
controller | Controller | |
partialName | string | |
Résultat | void |
protected static ResolveTemplateName ( string templateName, string extention ) : string | ||
templateName | string | |
extention | string | |
Résultat | string |
public Service ( IServiceProvider serviceProvider ) : void | ||
serviceProvider | IServiceProvider | |
Résultat | void |