e79aa3c0ed
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
39 lines
1.2 KiB
C#
39 lines
1.2 KiB
C#
//------------------------------------------------------------------------------
|
|
// <copyright file="CodeParser.cs" company="Microsoft">
|
|
//
|
|
// <OWNER>petes</OWNER>
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
// </copyright>
|
|
//------------------------------------------------------------------------------
|
|
|
|
namespace System.CodeDom.Compiler {
|
|
using System.Text;
|
|
|
|
using System.Diagnostics;
|
|
using System;
|
|
using Microsoft.Win32;
|
|
using System.IO;
|
|
using System.Collections;
|
|
using System.Reflection;
|
|
using System.CodeDom;
|
|
using System.Security.Permissions;
|
|
|
|
/// <devdoc>
|
|
/// <para>
|
|
/// Provides a code parsing abstract base class.
|
|
/// </para>
|
|
/// </devdoc>
|
|
[PermissionSet(SecurityAction.LinkDemand, Name="FullTrust")]
|
|
[PermissionSet(SecurityAction.InheritanceDemand, Name="FullTrust")]
|
|
public abstract class CodeParser : ICodeParser {
|
|
|
|
/// <devdoc>
|
|
/// <para>
|
|
/// Compiles the given text stream into a CodeCompile unit.
|
|
/// </para>
|
|
/// </devdoc>
|
|
public abstract CodeCompileUnit Parse(TextReader codeStream);
|
|
}
|
|
|
|
}
|