C# 클래스 Microsoft.JScript.JSCodeGenerator

상속: System.CodeDom.Compiler.CodeCompiler
파일 보기 프로젝트 열기: gbarnett/shared-source-cli-2.0 1 사용 예제들

보호된 메소드들

메소드 설명
CmdArgsFromParameters ( CompilerParameters options ) : string
CreateEscapedIdentifier ( string name ) : string
CreateValidIdentifier ( string name ) : string
FromFileBatch ( CompilerParameters options, string fileNames ) : CompilerResults
GenerateArgumentReferenceExpression ( CodeArgumentReferenceExpression e ) : void
GenerateArrayCreateExpression ( CodeArrayCreateExpression e ) : void
GenerateArrayIndexerExpression ( CodeArrayIndexerExpression e ) : void
GenerateAssignStatement ( CodeAssignStatement e ) : void
GenerateAttachEventStatement ( System.CodeDom.CodeAttachEventStatement e ) : void
GenerateAttributeDeclarationsEnd ( CodeAttributeDeclarationCollection attributes ) : void
GenerateAttributeDeclarationsStart ( CodeAttributeDeclarationCollection attributes ) : void
GenerateBaseReferenceExpression ( System.CodeDom.CodeBaseReferenceExpression e ) : void
GenerateCastExpression ( CodeCastExpression e ) : void
GenerateComment ( CodeComment e ) : void
GenerateCompileUnitStart ( CodeCompileUnit e ) : void
GenerateConditionStatement ( CodeConditionStatement e ) : void
GenerateConstructor ( CodeConstructor e, CodeTypeDeclaration c ) : void
GenerateDelegateCreateExpression ( CodeDelegateCreateExpression e ) : void
GenerateDelegateInvokeExpression ( CodeDelegateInvokeExpression e ) : void
GenerateEntryPointMethod ( CodeEntryPointMethod e, CodeTypeDeclaration c ) : void
GenerateEvent ( CodeMemberEvent e, CodeTypeDeclaration c ) : void
GenerateEventReferenceExpression ( CodeEventReferenceExpression e ) : void
GenerateExpressionStatement ( CodeExpressionStatement e ) : void
GenerateField ( CodeMemberField e ) : void
GenerateFieldReferenceExpression ( CodeFieldReferenceExpression e ) : void
GenerateGotoStatement ( CodeGotoStatement e ) : void
GenerateIndexerExpression ( CodeIndexerExpression e ) : void
GenerateIterationStatement ( CodeIterationStatement e ) : void
GenerateLabeledStatement ( CodeLabeledStatement e ) : void
GenerateLinePragmaEnd ( CodeLinePragma e ) : void
GenerateLinePragmaStart ( CodeLinePragma e ) : void
GenerateMethod ( CodeMemberMethod e, CodeTypeDeclaration c ) : void
GenerateMethodInvokeExpression ( CodeMethodInvokeExpression e ) : void
GenerateMethodReferenceExpression ( CodeMethodReferenceExpression e ) : void
GenerateMethodReturnStatement ( CodeMethodReturnStatement e ) : void
GenerateNamespace ( CodeNamespace e ) : void
GenerateNamespaceEnd ( CodeNamespace e ) : void
GenerateNamespaceImport ( CodeNamespaceImport e ) : void
GenerateNamespaceStart ( CodeNamespace e ) : void
GenerateObjectCreateExpression ( CodeObjectCreateExpression e ) : void
GenerateParameterDeclarationExpression ( CodeParameterDeclarationExpression e ) : void
GeneratePrimitiveExpression ( CodePrimitiveExpression e ) : void
GenerateProperty ( CodeMemberProperty e, CodeTypeDeclaration c ) : void
GeneratePropertyReferenceExpression ( CodePropertyReferenceExpression e ) : void
GeneratePropertySetValueReferenceExpression ( System.CodeDom.CodePropertySetValueReferenceExpression e ) : void
GenerateRemoveEventStatement ( CodeRemoveEventStatement e ) : void
GenerateSingleFloatValue ( System.Single s ) : void
GenerateSnippetExpression ( CodeSnippetExpression e ) : void
GenerateSnippetMember ( CodeSnippetTypeMember e ) : void
GenerateSnippetStatement ( CodeSnippetStatement e ) : void
GenerateThisReferenceExpression ( System.CodeDom.CodeThisReferenceExpression e ) : void
GenerateThrowExceptionStatement ( CodeThrowExceptionStatement e ) : void
GenerateTryCatchFinallyStatement ( CodeTryCatchFinallyStatement e ) : void
GenerateTypeConstructor ( CodeTypeConstructor e ) : void
GenerateTypeEnd ( CodeTypeDeclaration e ) : void
GenerateTypeOfExpression ( CodeTypeOfExpression e ) : void
GenerateTypeStart ( CodeTypeDeclaration e ) : void
GenerateVariableDeclarationStatement ( CodeVariableDeclarationStatement e ) : void
GenerateVariableReferenceExpression ( CodeVariableReferenceExpression e ) : void
GetTypeOutput ( CodeTypeReference typeRef ) : string
IsValidIdentifier ( string value ) : bool
OutputAttributeDeclarations ( CodeAttributeDeclarationCollection attributes ) : void
OutputDirection ( FieldDirection dir ) : void
OutputIdentifier ( string ident ) : void
OutputMemberAccessModifier ( MemberAttributes attributes ) : void
OutputMemberScopeModifier ( MemberAttributes attributes ) : void
OutputParameters ( CodeParameterDeclarationExpressionCollection parameters ) : void
OutputType ( CodeTypeReference typeRef ) : void
OutputTypeAttributes ( TypeAttributes attributes, bool isStruct, bool isEnum ) : void
OutputTypeNamePair ( CodeTypeReference typeRef, string name ) : void
ProcessCompilerOutputLine ( CompilerResults results, string line ) : void
QuoteSnippetString ( string value ) : string
Supports ( GeneratorSupport support ) : bool

비공개 메소드들

메소드 설명
GenerateAssemblyAttributes ( CodeAttributeDeclarationCollection attributes ) : void
GeneratePrimitiveChar ( char c ) : void
GetBaseTypeOutput ( string baseType ) : string
IsKeyword ( string value ) : bool
IsSurrogateEnd ( char c ) : bool
IsSurrogateStart ( char c ) : bool
JSCodeGenerator ( ) : System.Diagnostics
OutputMemberVTableModifier ( MemberAttributes attributes ) : void
OutputStartingBrace ( ) : void
OutputTypeVisibility ( TypeAttributes attributes ) : void
QuoteSnippetStringCStyle ( string value ) : string

메소드 상세

CmdArgsFromParameters() 보호된 메소드

protected CmdArgsFromParameters ( CompilerParameters options ) : string
options System.CodeDom.Compiler.CompilerParameters
리턴 string

CreateEscapedIdentifier() 보호된 메소드

protected CreateEscapedIdentifier ( string name ) : string
name string
리턴 string

CreateValidIdentifier() 보호된 메소드

protected CreateValidIdentifier ( string name ) : string
name string
리턴 string

FromFileBatch() 보호된 메소드

protected FromFileBatch ( CompilerParameters options, string fileNames ) : CompilerResults
options System.CodeDom.Compiler.CompilerParameters
fileNames string
리턴 System.CodeDom.Compiler.CompilerResults

GenerateArgumentReferenceExpression() 보호된 메소드

protected GenerateArgumentReferenceExpression ( CodeArgumentReferenceExpression e ) : void
e System.CodeDom.CodeArgumentReferenceExpression
리턴 void

GenerateArrayCreateExpression() 보호된 메소드

protected GenerateArrayCreateExpression ( CodeArrayCreateExpression e ) : void
e System.CodeDom.CodeArrayCreateExpression
리턴 void

GenerateArrayIndexerExpression() 보호된 메소드

protected GenerateArrayIndexerExpression ( CodeArrayIndexerExpression e ) : void
e System.CodeDom.CodeArrayIndexerExpression
리턴 void

GenerateAssignStatement() 보호된 메소드

protected GenerateAssignStatement ( CodeAssignStatement e ) : void
e System.CodeDom.CodeAssignStatement
리턴 void

GenerateAttachEventStatement() 보호된 메소드

protected GenerateAttachEventStatement ( System.CodeDom.CodeAttachEventStatement e ) : void
e System.CodeDom.CodeAttachEventStatement
리턴 void

GenerateAttributeDeclarationsEnd() 보호된 메소드

protected GenerateAttributeDeclarationsEnd ( CodeAttributeDeclarationCollection attributes ) : void
attributes System.CodeDom.CodeAttributeDeclarationCollection
리턴 void

GenerateAttributeDeclarationsStart() 보호된 메소드

protected GenerateAttributeDeclarationsStart ( CodeAttributeDeclarationCollection attributes ) : void
attributes System.CodeDom.CodeAttributeDeclarationCollection
리턴 void

GenerateBaseReferenceExpression() 보호된 메소드

protected GenerateBaseReferenceExpression ( System.CodeDom.CodeBaseReferenceExpression e ) : void
e System.CodeDom.CodeBaseReferenceExpression
리턴 void

GenerateCastExpression() 보호된 메소드

protected GenerateCastExpression ( CodeCastExpression e ) : void
e System.CodeDom.CodeCastExpression
리턴 void

GenerateComment() 보호된 메소드

protected GenerateComment ( CodeComment e ) : void
e System.CodeDom.CodeComment
리턴 void

GenerateCompileUnitStart() 보호된 메소드

protected GenerateCompileUnitStart ( CodeCompileUnit e ) : void
e System.CodeDom.CodeCompileUnit
리턴 void

GenerateConditionStatement() 보호된 메소드

protected GenerateConditionStatement ( CodeConditionStatement e ) : void
e System.CodeDom.CodeConditionStatement
리턴 void

GenerateConstructor() 보호된 메소드

protected GenerateConstructor ( CodeConstructor e, CodeTypeDeclaration c ) : void
e System.CodeDom.CodeConstructor
c System.CodeDom.CodeTypeDeclaration
리턴 void

GenerateDelegateCreateExpression() 보호된 메소드

protected GenerateDelegateCreateExpression ( CodeDelegateCreateExpression e ) : void
e System.CodeDom.CodeDelegateCreateExpression
리턴 void

GenerateDelegateInvokeExpression() 보호된 메소드

protected GenerateDelegateInvokeExpression ( CodeDelegateInvokeExpression e ) : void
e System.CodeDom.CodeDelegateInvokeExpression
리턴 void

GenerateEntryPointMethod() 보호된 메소드

protected GenerateEntryPointMethod ( CodeEntryPointMethod e, CodeTypeDeclaration c ) : void
e System.CodeDom.CodeEntryPointMethod
c System.CodeDom.CodeTypeDeclaration
리턴 void

GenerateEvent() 보호된 메소드

protected GenerateEvent ( CodeMemberEvent e, CodeTypeDeclaration c ) : void
e System.CodeDom.CodeMemberEvent
c System.CodeDom.CodeTypeDeclaration
리턴 void

GenerateEventReferenceExpression() 보호된 메소드

protected GenerateEventReferenceExpression ( CodeEventReferenceExpression e ) : void
e System.CodeDom.CodeEventReferenceExpression
리턴 void

GenerateExpressionStatement() 보호된 메소드

protected GenerateExpressionStatement ( CodeExpressionStatement e ) : void
e System.CodeDom.CodeExpressionStatement
리턴 void

GenerateField() 보호된 메소드

protected GenerateField ( CodeMemberField e ) : void
e System.CodeDom.CodeMemberField
리턴 void

GenerateFieldReferenceExpression() 보호된 메소드

protected GenerateFieldReferenceExpression ( CodeFieldReferenceExpression e ) : void
e System.CodeDom.CodeFieldReferenceExpression
리턴 void

GenerateGotoStatement() 보호된 메소드

protected GenerateGotoStatement ( CodeGotoStatement e ) : void
e System.CodeDom.CodeGotoStatement
리턴 void

GenerateIndexerExpression() 보호된 메소드

protected GenerateIndexerExpression ( CodeIndexerExpression e ) : void
e System.CodeDom.CodeIndexerExpression
리턴 void

GenerateIterationStatement() 보호된 메소드

protected GenerateIterationStatement ( CodeIterationStatement e ) : void
e System.CodeDom.CodeIterationStatement
리턴 void

GenerateLabeledStatement() 보호된 메소드

protected GenerateLabeledStatement ( CodeLabeledStatement e ) : void
e System.CodeDom.CodeLabeledStatement
리턴 void

GenerateLinePragmaEnd() 보호된 메소드

protected GenerateLinePragmaEnd ( CodeLinePragma e ) : void
e System.CodeDom.CodeLinePragma
리턴 void

GenerateLinePragmaStart() 보호된 메소드

protected GenerateLinePragmaStart ( CodeLinePragma e ) : void
e System.CodeDom.CodeLinePragma
리턴 void

GenerateMethod() 보호된 메소드

protected GenerateMethod ( CodeMemberMethod e, CodeTypeDeclaration c ) : void
e System.CodeDom.CodeMemberMethod
c System.CodeDom.CodeTypeDeclaration
리턴 void

GenerateMethodInvokeExpression() 보호된 메소드

protected GenerateMethodInvokeExpression ( CodeMethodInvokeExpression e ) : void
e System.CodeDom.CodeMethodInvokeExpression
리턴 void

GenerateMethodReferenceExpression() 보호된 메소드

protected GenerateMethodReferenceExpression ( CodeMethodReferenceExpression e ) : void
e System.CodeDom.CodeMethodReferenceExpression
리턴 void

GenerateMethodReturnStatement() 보호된 메소드

protected GenerateMethodReturnStatement ( CodeMethodReturnStatement e ) : void
e System.CodeDom.CodeMethodReturnStatement
리턴 void

GenerateNamespace() 보호된 메소드

protected GenerateNamespace ( CodeNamespace e ) : void
e System.CodeDom.CodeNamespace
리턴 void

GenerateNamespaceEnd() 보호된 메소드

protected GenerateNamespaceEnd ( CodeNamespace e ) : void
e System.CodeDom.CodeNamespace
리턴 void

GenerateNamespaceImport() 보호된 메소드

protected GenerateNamespaceImport ( CodeNamespaceImport e ) : void
e System.CodeDom.CodeNamespaceImport
리턴 void

GenerateNamespaceStart() 보호된 메소드

protected GenerateNamespaceStart ( CodeNamespace e ) : void
e System.CodeDom.CodeNamespace
리턴 void

GenerateObjectCreateExpression() 보호된 메소드

protected GenerateObjectCreateExpression ( CodeObjectCreateExpression e ) : void
e System.CodeDom.CodeObjectCreateExpression
리턴 void

GenerateParameterDeclarationExpression() 보호된 메소드

protected GenerateParameterDeclarationExpression ( CodeParameterDeclarationExpression e ) : void
e System.CodeDom.CodeParameterDeclarationExpression
리턴 void

GeneratePrimitiveExpression() 보호된 메소드

protected GeneratePrimitiveExpression ( CodePrimitiveExpression e ) : void
e System.CodeDom.CodePrimitiveExpression
리턴 void

GenerateProperty() 보호된 메소드

protected GenerateProperty ( CodeMemberProperty e, CodeTypeDeclaration c ) : void
e System.CodeDom.CodeMemberProperty
c System.CodeDom.CodeTypeDeclaration
리턴 void

GeneratePropertyReferenceExpression() 보호된 메소드

protected GeneratePropertyReferenceExpression ( CodePropertyReferenceExpression e ) : void
e System.CodeDom.CodePropertyReferenceExpression
리턴 void

GeneratePropertySetValueReferenceExpression() 보호된 메소드

protected GeneratePropertySetValueReferenceExpression ( System.CodeDom.CodePropertySetValueReferenceExpression e ) : void
e System.CodeDom.CodePropertySetValueReferenceExpression
리턴 void

GenerateRemoveEventStatement() 보호된 메소드

protected GenerateRemoveEventStatement ( CodeRemoveEventStatement e ) : void
e System.CodeDom.CodeRemoveEventStatement
리턴 void

GenerateSingleFloatValue() 보호된 메소드

protected GenerateSingleFloatValue ( System.Single s ) : void
s System.Single
리턴 void

GenerateSnippetExpression() 보호된 메소드

protected GenerateSnippetExpression ( CodeSnippetExpression e ) : void
e System.CodeDom.CodeSnippetExpression
리턴 void

GenerateSnippetMember() 보호된 메소드

protected GenerateSnippetMember ( CodeSnippetTypeMember e ) : void
e System.CodeDom.CodeSnippetTypeMember
리턴 void

GenerateSnippetStatement() 보호된 메소드

protected GenerateSnippetStatement ( CodeSnippetStatement e ) : void
e System.CodeDom.CodeSnippetStatement
리턴 void

GenerateThisReferenceExpression() 보호된 메소드

protected GenerateThisReferenceExpression ( System.CodeDom.CodeThisReferenceExpression e ) : void
e System.CodeDom.CodeThisReferenceExpression
리턴 void

GenerateThrowExceptionStatement() 보호된 메소드

protected GenerateThrowExceptionStatement ( CodeThrowExceptionStatement e ) : void
e System.CodeDom.CodeThrowExceptionStatement
리턴 void

GenerateTryCatchFinallyStatement() 보호된 메소드

protected GenerateTryCatchFinallyStatement ( CodeTryCatchFinallyStatement e ) : void
e System.CodeDom.CodeTryCatchFinallyStatement
리턴 void

GenerateTypeConstructor() 보호된 메소드

protected GenerateTypeConstructor ( CodeTypeConstructor e ) : void
e System.CodeDom.CodeTypeConstructor
리턴 void

GenerateTypeEnd() 보호된 메소드

protected GenerateTypeEnd ( CodeTypeDeclaration e ) : void
e System.CodeDom.CodeTypeDeclaration
리턴 void

GenerateTypeOfExpression() 보호된 메소드

protected GenerateTypeOfExpression ( CodeTypeOfExpression e ) : void
e System.CodeDom.CodeTypeOfExpression
리턴 void

GenerateTypeStart() 보호된 메소드

protected GenerateTypeStart ( CodeTypeDeclaration e ) : void
e System.CodeDom.CodeTypeDeclaration
리턴 void

GenerateVariableDeclarationStatement() 보호된 메소드

protected GenerateVariableDeclarationStatement ( CodeVariableDeclarationStatement e ) : void
e System.CodeDom.CodeVariableDeclarationStatement
리턴 void

GenerateVariableReferenceExpression() 보호된 메소드

protected GenerateVariableReferenceExpression ( CodeVariableReferenceExpression e ) : void
e System.CodeDom.CodeVariableReferenceExpression
리턴 void

GetTypeOutput() 보호된 메소드

protected GetTypeOutput ( CodeTypeReference typeRef ) : string
typeRef System.CodeDom.CodeTypeReference
리턴 string

IsValidIdentifier() 보호된 메소드

protected IsValidIdentifier ( string value ) : bool
value string
리턴 bool

OutputAttributeDeclarations() 보호된 메소드

protected OutputAttributeDeclarations ( CodeAttributeDeclarationCollection attributes ) : void
attributes System.CodeDom.CodeAttributeDeclarationCollection
리턴 void

OutputDirection() 보호된 메소드

protected OutputDirection ( FieldDirection dir ) : void
dir FieldDirection
리턴 void

OutputIdentifier() 보호된 메소드

protected OutputIdentifier ( string ident ) : void
ident string
리턴 void

OutputMemberAccessModifier() 보호된 메소드

protected OutputMemberAccessModifier ( MemberAttributes attributes ) : void
attributes MemberAttributes
리턴 void

OutputMemberScopeModifier() 보호된 메소드

protected OutputMemberScopeModifier ( MemberAttributes attributes ) : void
attributes MemberAttributes
리턴 void

OutputParameters() 보호된 메소드

protected OutputParameters ( CodeParameterDeclarationExpressionCollection parameters ) : void
parameters System.CodeDom.CodeParameterDeclarationExpressionCollection
리턴 void

OutputType() 보호된 메소드

protected OutputType ( CodeTypeReference typeRef ) : void
typeRef System.CodeDom.CodeTypeReference
리턴 void

OutputTypeAttributes() 보호된 메소드

protected OutputTypeAttributes ( TypeAttributes attributes, bool isStruct, bool isEnum ) : void
attributes TypeAttributes
isStruct bool
isEnum bool
리턴 void

OutputTypeNamePair() 보호된 메소드

protected OutputTypeNamePair ( CodeTypeReference typeRef, string name ) : void
typeRef System.CodeDom.CodeTypeReference
name string
리턴 void

ProcessCompilerOutputLine() 보호된 메소드

protected ProcessCompilerOutputLine ( CompilerResults results, string line ) : void
results System.CodeDom.Compiler.CompilerResults
line string
리턴 void

QuoteSnippetString() 보호된 메소드

protected QuoteSnippetString ( string value ) : string
value string
리턴 string

Supports() 보호된 메소드

protected Supports ( GeneratorSupport support ) : bool
support GeneratorSupport
리턴 bool