C# Class Microsoft.Scripting.Runtime.CodeDomCodeGen

Datei anzeigen Open project: jschementi/iron

Protected Properties

Property Type Description
SourceSpanKey object

Public Methods

Method Description
GenerateCode ( CodeMemberMethod codeDom, LanguageContext context, string path, SourceCodeKind kind ) : SourceUnit

Protected Methods

Method Description
QuoteString ( string val ) : string
WriteArgumentReferenceExpression ( CodeArgumentReferenceExpression e ) : void
WriteCallExpression ( CodeMethodInvokeExpression m ) : void
WriteExpressionStatement ( CodeExpressionStatement s ) : void
WriteFunctionDefinition ( CodeMemberMethod func ) : void
WritePrimitiveExpression ( CodePrimitiveExpression e ) : void
WriteSnippetExpression ( CodeSnippetExpression e ) : void
WriteSnippetStatement ( CodeSnippetStatement s ) : void

Private Methods

Method Description
CreateSourceUnit ( LanguageContext context, string path, SourceCodeKind kind ) : SourceUnit
WriteExpression ( System.CodeDom.CodeExpression e ) : void
WriteStatement ( CodeStatement s ) : void

Method Details

GenerateCode() public method

public GenerateCode ( CodeMemberMethod codeDom, LanguageContext context, string path, SourceCodeKind kind ) : SourceUnit
codeDom System.CodeDom.CodeMemberMethod
context LanguageContext
path string
kind SourceCodeKind
return SourceUnit

QuoteString() abstract protected method

abstract protected QuoteString ( string val ) : string
val string
return string

WriteArgumentReferenceExpression() protected method

protected WriteArgumentReferenceExpression ( CodeArgumentReferenceExpression e ) : void
e System.CodeDom.CodeArgumentReferenceExpression
return void

WriteCallExpression() protected method

protected WriteCallExpression ( CodeMethodInvokeExpression m ) : void
m System.CodeDom.CodeMethodInvokeExpression
return void

WriteExpressionStatement() abstract protected method

abstract protected WriteExpressionStatement ( CodeExpressionStatement s ) : void
s System.CodeDom.CodeExpressionStatement
return void

WriteFunctionDefinition() abstract protected method

abstract protected WriteFunctionDefinition ( CodeMemberMethod func ) : void
func System.CodeDom.CodeMemberMethod
return void

WritePrimitiveExpression() protected method

protected WritePrimitiveExpression ( CodePrimitiveExpression e ) : void
e System.CodeDom.CodePrimitiveExpression
return void

WriteSnippetExpression() protected method

protected WriteSnippetExpression ( CodeSnippetExpression e ) : void
e System.CodeDom.CodeSnippetExpression
return void

WriteSnippetStatement() protected method

protected WriteSnippetStatement ( CodeSnippetStatement s ) : void
s System.CodeDom.CodeSnippetStatement
return void

Property Details

SourceSpanKey protected_oe static_oe property

protected static object SourceSpanKey
return object