C# Class Microsoft.Zing.Templates

Show file Open project: ZingModelChecker/Zing

Public Properties

Property Type Description
module System.Compiler.Module

Public Methods

Method Description
GetApplicationTemplate ( System.Compiler.Module targetModule, CompilerParameters options, bool hasGlobals, bool usesHeap ) : System.Compiler.CompilationUnit
GetExpressionTemplate ( string name ) : System.Compiler.Expression
GetMemberByName ( MemberList members, string name ) : System.Compiler.Member
GetMemberIndexByName ( MemberList members, string name ) : int
GetPropertyTemplate ( string name ) : Property
GetStatementTemplate ( string name ) : System.Compiler.Statement
GetStatementsTemplate ( string name ) : StatementList
GetTypeTemplateByName ( ) : System.Compiler.TypeNode
InitializeTemplates ( ) : void
ReleaseTemplates ( ) : void

Private Methods

Method Description
CompileTemplate ( string templateName ) : System.Compiler.CompilationUnit

Method Details

GetApplicationTemplate() public static method

public static GetApplicationTemplate ( System.Compiler.Module targetModule, CompilerParameters options, bool hasGlobals, bool usesHeap ) : System.Compiler.CompilationUnit
targetModule System.Compiler.Module
options System.CodeDom.Compiler.CompilerParameters
hasGlobals bool
usesHeap bool
return System.Compiler.CompilationUnit

GetExpressionTemplate() public static method

public static GetExpressionTemplate ( string name ) : System.Compiler.Expression
name string
return System.Compiler.Expression

GetMemberByName() public static method

public static GetMemberByName ( MemberList members, string name ) : System.Compiler.Member
members MemberList
name string
return System.Compiler.Member

GetMemberIndexByName() public static method

public static GetMemberIndexByName ( MemberList members, string name ) : int
members MemberList
name string
return int

GetPropertyTemplate() public static method

public static GetPropertyTemplate ( string name ) : Property
name string
return Property

GetStatementTemplate() public static method

public static GetStatementTemplate ( string name ) : System.Compiler.Statement
name string
return System.Compiler.Statement

GetStatementsTemplate() public static method

public static GetStatementsTemplate ( string name ) : StatementList
name string
return StatementList

GetTypeTemplateByName() public static method

public static GetTypeTemplateByName ( ) : System.Compiler.TypeNode
return System.Compiler.TypeNode

InitializeTemplates() public static method

public static InitializeTemplates ( ) : void
return void

ReleaseTemplates() public static method

public static ReleaseTemplates ( ) : void
return void

Property Details

module public static property

public static Module,System.Compiler module
return System.Compiler.Module