System.CodeDom.Compiler.ICodeParser Interface

Assembly: System.dll
Namespace: System.CodeDom.Compiler
Summary
Specifies an interface for parsing code into a CodeCompileUnit.
C# Syntax:
public interface ICodeParser
Remarks
Developers of compilers can implement this interface to support code parsing by designers.
See also:
System.CodeDom.Compiler Namespace

System.CodeDom.Compiler.ICodeParser Member List:

Public Methods
Parse Compiles the specified text stream into a CodeCompileUnit.

System.CodeDom.Compiler.ICodeParser Member Details

Method: Parse(
   TextReader codeStream
)
Summary
Compiles the specified text stream into a CodeCompileUnit.
C# Syntax:
CodeCompileUnit Parse(
   TextReader codeStream
);
Parameters:

codeStream

A TextReader that can be used to read the code to be compiled.

Return Value:
A CodeCompileUnit that contains a representation of the parsed code.
See also:
CodeCompileUnit

Return to top


Top of page

Copyright (c) 2002 Microsoft Corporation. All rights reserved.