| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- //
- // System.CodeDom.Compiler ICodeGenerator Interface
- //
- // Author:
- // Miguel de Icaza ([email protected])
- // Daniel Stodden ([email protected])
- //
- // (C) 2001 Ximian, Inc.
- //
- namespace System.CodeDom.Compiler
- {
- using System.CodeDom;
- using System.IO;
- public interface ICodeGenerator
- {
- //
- // Methods
- //
- string CreateEscapedIdentifier( string value );
- string CreateValidIdentifier( string value );
- void GenerateCodeFromCompileUnit( CodeCompileUnit compileUnit,
- TextWriter output,
- CodeGeneratorOptions options );
- void GenerateCodeFromExpression( CodeExpression expression,
- TextWriter output,
- CodeGeneratorOptions options );
- void GenerateCodeFromNamespace( CodeNamespace ns,
- TextWriter output,
- CodeGeneratorOptions options );
- void GenerateCodeFromStatement( CodeStatement statement,
- TextWriter output,
- CodeGeneratorOptions options );
- void GenerateCodeFromType( CodeTypeDeclaration typeDeclaration,
- TextWriter output,
- CodeGeneratorOptions options );
- string GetTypeOutput( CodeTypeReference type );
- bool IsValidIdentifier( string value );
- bool Supports( GeneratorSupport supports );
-
- void ValidateIdentifier( string value );
- }
- }
|