Files
mono/mcs/class/System/System.CodeDom.Compiler/ICodeGenerator.cs
T
Daniel Stodden 1b4e294c54 big patch:
- System.CodeDom: lotsa corrections
	- System.CodeDom.Compiler: CodeGenerator about 80% complete
	- Microsoft.CSharp: CSharpCodegenerator intro

svn path=/trunk/mcs/; revision=4980
2002-05-28 06:59:57 +00:00

54 lines
1.2 KiB
C#
Executable File

//
// 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 );
}
}