migration to new build system (#3241)
* converting project files into sdk style * new build commands * adding new dll into nsis * removing unused .cs files
This commit is contained in:
parent
1fd348ec3c
commit
d491e88aa7
10
.gitignore
vendored
10
.gitignore
vendored
|
|
@ -98,6 +98,16 @@
|
|||
/bin/WeifenLuo.WinFormsUI.DockingLinux.dll
|
||||
/bin/WeifenLuo.WinFormsUI.Docking.ThemeVS2005.dll
|
||||
/bin/WeifenLuo.WinFormsUI.Docking.ThemeVS2005Linux.dll
|
||||
/bin/Microsoft.Bcl.HashCode.dll
|
||||
/bin/System.Buffers.dll
|
||||
/bin/System.Collections.Immutable.dll
|
||||
/bin/System.Formats.Nrbf.dll
|
||||
/bin/System.Memory.dll
|
||||
/bin/System.Numerics.Vectors.dll
|
||||
/bin/System.Reflection.Metadata.dll
|
||||
/bin/System.Resources.Extensions.dll
|
||||
/bin/System.Runtime.CompilerServices.Unsafe.dll
|
||||
/bin/System.ValueTuple.dll
|
||||
#TODO копируется только при сборке pabcnetc.sln - это норм?
|
||||
# - в самом проекте написано что его надо удалить...
|
||||
/bin/YieldConversionSyntax.dll
|
||||
|
|
|
|||
|
|
@ -1,140 +1,22 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>9.0.30729</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{1AB15F6E-C22E-499A-A7ED-54BA7DE5CFA6}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>CodeCompletion</RootNamespace>
|
||||
<AssemblyName>CodeCompletion</AssemblyName>
|
||||
<FileUpgradeFlags>
|
||||
</FileUpgradeFlags>
|
||||
<OldToolsVersion>4.0</OldToolsVersion>
|
||||
<UpgradeBackupLocation>
|
||||
</UpgradeBackupLocation>
|
||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||
<TargetFrameworkProfile />
|
||||
<PublishUrl>publish\</PublishUrl>
|
||||
<Install>true</Install>
|
||||
<InstallFrom>Disk</InstallFrom>
|
||||
<UpdateEnabled>false</UpdateEnabled>
|
||||
<UpdateMode>Foreground</UpdateMode>
|
||||
<UpdateInterval>7</UpdateInterval>
|
||||
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
|
||||
<UpdatePeriodically>false</UpdatePeriodically>
|
||||
<UpdateRequired>false</UpdateRequired>
|
||||
<MapFileExtensions>true</MapFileExtensions>
|
||||
<ApplicationRevision>0</ApplicationRevision>
|
||||
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
||||
<IsWebBootstrapper>false</IsWebBootstrapper>
|
||||
<UseApplicationTrust>false</UseApplicationTrust>
|
||||
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<TargetFramework>net40</TargetFramework>
|
||||
|
||||
<OutputPath>..\bin\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<UseVSHostingProcess>true</UseVSHostingProcess>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>..\bin\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
||||
|
||||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Reference Include="Microsoft.VisualBasic" />
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Xml" />
|
||||
<ProjectReference Include="..\Compiler\Compiler.csproj" />
|
||||
<ProjectReference Include="..\Errors\Errors.csproj" />
|
||||
<ProjectReference Include="..\LanguageIntegrator\LanguageIntegrator.csproj" />
|
||||
<ProjectReference Include="..\ParserTools\ParserTools.csproj" />
|
||||
<ProjectReference Include="..\SemanticTree\SemanticTree.csproj" />
|
||||
<ProjectReference Include="..\StringConstants\StringConstants.csproj" />
|
||||
<ProjectReference Include="..\SyntaxTree\SyntaxTree.csproj" />
|
||||
<ProjectReference Include="..\TreeConverter\TreeConverter.csproj" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="CodeCompletion.cs" />
|
||||
<Compile Include="CodeCompletionPCUReader.cs" />
|
||||
<Compile Include="CodeFormatter.cs" />
|
||||
<Compile Include="DomConverter.cs" />
|
||||
<Compile Include="DomSyntaxTreeVisitor.cs" />
|
||||
<Compile Include="ExpressionEvaluator.cs" />
|
||||
<Compile Include="ExpressionVisitor.cs" />
|
||||
<Compile Include="FindReferences.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="SemanticTreeWalker.cs" />
|
||||
<Compile Include="SymTable.cs" />
|
||||
<Compile Include="Testing.cs" />
|
||||
<Compile Include="TypeTable.cs" />
|
||||
<Compile Include="UnitXmlDocs.cs" />
|
||||
<Compile Include="XmlDocs.cs">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\Compiler\Compiler.csproj">
|
||||
<Project>{1E42361A-EDA3-4872-88AF-A3AAF600D36D}</Project>
|
||||
<Name>Compiler</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Errors\Errors.csproj">
|
||||
<Project>{44A01F9E-DCE7-470C-AAE5-C3DE0CCBEE3B}</Project>
|
||||
<Name>Errors</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\LanguageIntegrator\LanguageIntegrator.csproj">
|
||||
<Project>{a48d9069-d569-4110-9252-a10f139b669b}</Project>
|
||||
<Name>LanguageIntegrator</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\ParserTools\ParserTools.csproj">
|
||||
<Project>{AF2EFD7B-69DD-4B43-AF65-B59B29349C23}</Project>
|
||||
<Name>ParserTools</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\SemanticTree\SemanticTree.csproj">
|
||||
<Project>{613E0DDA-AA8A-437C-AC45-507B47429FF9}</Project>
|
||||
<Name>SemanticTree</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\StringConstants\StringConstants.csproj">
|
||||
<Project>{e8aefbf9-0113-4fa4-be45-6cda555498b7}</Project>
|
||||
<Name>StringConstants</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\SyntaxTree\SyntaxTree.csproj">
|
||||
<Project>{C2CAC65A-B2AE-4CCC-B067-E6B8E75DF73A}</Project>
|
||||
<Name>SyntaxTree</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\TreeConverter\TreeConverter.csproj">
|
||||
<Project>{1C9C945A-586D-42A2-A06B-65D84FA7FF78}</Project>
|
||||
<Name>TreeConverter</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>Клиентский профиль .NET Framework 3.5 SP1</ProductName>
|
||||
<Install>false</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>Установщик Windows 3.1</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
</Project>
|
||||
|
|
@ -1,100 +1,34 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<ProjectType>Local</ProjectType>
|
||||
<ProductVersion>8.0.50727</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{1E42361A-EDA3-4872-88AF-A3AAF600D36D}</ProjectGuid>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ApplicationIcon>
|
||||
</ApplicationIcon>
|
||||
<AssemblyKeyContainerName>
|
||||
</AssemblyKeyContainerName>
|
||||
<AssemblyName>Compiler</AssemblyName>
|
||||
<AssemblyOriginatorKeyFile>
|
||||
</AssemblyOriginatorKeyFile>
|
||||
<DefaultClientScript>JScript</DefaultClientScript>
|
||||
<DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout>
|
||||
<DefaultTargetSchema>IE50</DefaultTargetSchema>
|
||||
<DelaySign>false</DelaySign>
|
||||
<OutputType>Library</OutputType>
|
||||
<RootNamespace>Compiler</RootNamespace>
|
||||
<RunPostBuildEvent>OnBuildSuccess</RunPostBuildEvent>
|
||||
<StartupObject>
|
||||
</StartupObject>
|
||||
<FileUpgradeFlags>
|
||||
</FileUpgradeFlags>
|
||||
<UpgradeBackupLocation>
|
||||
</UpgradeBackupLocation>
|
||||
<OldToolsVersion>4.0</OldToolsVersion>
|
||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||
<TargetFrameworkProfile />
|
||||
<PublishUrl>publish\</PublishUrl>
|
||||
<Install>true</Install>
|
||||
<InstallFrom>Disk</InstallFrom>
|
||||
<UpdateEnabled>false</UpdateEnabled>
|
||||
<UpdateMode>Foreground</UpdateMode>
|
||||
<UpdateInterval>7</UpdateInterval>
|
||||
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
|
||||
<UpdatePeriodically>false</UpdatePeriodically>
|
||||
<UpdateRequired>false</UpdateRequired>
|
||||
<MapFileExtensions>true</MapFileExtensions>
|
||||
<ApplicationRevision>0</ApplicationRevision>
|
||||
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
||||
<IsWebBootstrapper>false</IsWebBootstrapper>
|
||||
<UseApplicationTrust>false</UseApplicationTrust>
|
||||
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<TargetFramework>net40</TargetFramework>
|
||||
|
||||
<OutputPath>..\bin\</OutputPath>
|
||||
<AllowUnsafeBlocks>false</AllowUnsafeBlocks>
|
||||
<BaseAddress>285212672</BaseAddress>
|
||||
<CheckForOverflowUnderflow>false</CheckForOverflowUnderflow>
|
||||
<ConfigurationOverrideFile>
|
||||
</ConfigurationOverrideFile>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<DocumentationFile>
|
||||
</DocumentationFile>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<FileAlignment>4096</FileAlignment>
|
||||
<NoStdLib>false</NoStdLib>
|
||||
<NoWarn>
|
||||
</NoWarn>
|
||||
<Optimize>false</Optimize>
|
||||
<RegisterForComInterop>false</RegisterForComInterop>
|
||||
<RemoveIntegerChecks>false</RemoveIntegerChecks>
|
||||
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<DebugType>full</DebugType>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<UseVSHostingProcess>true</UseVSHostingProcess>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<OutputPath>..\bin\</OutputPath>
|
||||
<AllowUnsafeBlocks>false</AllowUnsafeBlocks>
|
||||
<BaseAddress>285212672</BaseAddress>
|
||||
<CheckForOverflowUnderflow>false</CheckForOverflowUnderflow>
|
||||
<ConfigurationOverrideFile>
|
||||
</ConfigurationOverrideFile>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<DocumentationFile>
|
||||
</DocumentationFile>
|
||||
<DebugSymbols>false</DebugSymbols>
|
||||
<FileAlignment>4096</FileAlignment>
|
||||
<NoStdLib>false</NoStdLib>
|
||||
<NoWarn>
|
||||
</NoWarn>
|
||||
<Optimize>true</Optimize>
|
||||
<RegisterForComInterop>false</RegisterForComInterop>
|
||||
<RemoveIntegerChecks>false</RemoveIntegerChecks>
|
||||
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<DebugType>none</DebugType>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
||||
|
||||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Compile Include="..\Configuration\GlobalAssemblyInfo.cs">
|
||||
<Link>Config\GlobalAssemblyInfo.cs</Link>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\Errors\Errors.csproj" />
|
||||
<ProjectReference Include="..\LanguageIntegrator\LanguageIntegrator.csproj" />
|
||||
<ProjectReference Include="..\Localization\Localization.csproj" />
|
||||
<ProjectReference Include="..\NETGenerator\NETGenerator.csproj" />
|
||||
<ProjectReference Include="..\CompilerTools\CompilerTools.csproj" />
|
||||
<ProjectReference Include="..\ParserTools\ParserTools.csproj" />
|
||||
<ProjectReference Include="..\SemanticTree\SemanticTree.csproj" />
|
||||
<ProjectReference Include="..\StringConstants\StringConstants.csproj" />
|
||||
<ProjectReference Include="..\SyntaxTree\SyntaxTree.csproj" />
|
||||
<ProjectReference Include="..\SyntaxVisitors\SyntaxVisitors.csproj" />
|
||||
<ProjectReference Include="..\TreeConverter\TreeConverter.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Reference Include="ICSharpCode.NRefactory">
|
||||
<HintPath>..\Libraries\ICSharpCode.NRefactory.dll</HintPath>
|
||||
|
|
@ -104,107 +38,5 @@
|
|||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\Libraries\Microsoft.Scripting.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System">
|
||||
<Name>System</Name>
|
||||
</Reference>
|
||||
<Reference Include="System.Data">
|
||||
<Name>System.Data</Name>
|
||||
</Reference>
|
||||
<Reference Include="System.Xml">
|
||||
<Name>System.XML</Name>
|
||||
</Reference>
|
||||
<ProjectReference Include="..\Errors\Errors.csproj">
|
||||
<Project>{44A01F9E-DCE7-470C-AAE5-C3DE0CCBEE3B}</Project>
|
||||
<Name>Errors</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\LanguageIntegrator\LanguageIntegrator.csproj">
|
||||
<Project>{a48d9069-d569-4110-9252-a10f139b669b}</Project>
|
||||
<Name>LanguageIntegrator</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Localization\Localization.csproj">
|
||||
<Project>{2DE2842F-0912-4251-BC0F-480854C44A13}</Project>
|
||||
<Name>Localization</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\NETGenerator\NETGenerator.csproj">
|
||||
<Name>NETGenerator</Name>
|
||||
<Project>{7FE7173B-22EB-46E5-897B-02F422662E51}</Project>
|
||||
<Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\CompilerTools\CompilerTools.csproj">
|
||||
<Project>{A25D26FB-3043-4BCF-833E-E3F4C3BE795E}</Project>
|
||||
<Name>CompilerTools</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\ParserTools\ParserTools.csproj">
|
||||
<Project>{AF2EFD7B-69DD-4B43-AF65-B59B29349C23}</Project>
|
||||
<Name>ParserTools</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\SemanticTree\SemanticTree.csproj">
|
||||
<Name>SemanticTree</Name>
|
||||
<Project>{613E0DDA-AA8A-437C-AC45-507B47429FF9}</Project>
|
||||
<Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\StringConstants\StringConstants.csproj">
|
||||
<Project>{e8aefbf9-0113-4fa4-be45-6cda555498b7}</Project>
|
||||
<Name>StringConstants</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\SyntaxTree\SyntaxTree.csproj">
|
||||
<Name>SyntaxTree</Name>
|
||||
<Project>{C2CAC65A-B2AE-4CCC-B067-E6B8E75DF73A}</Project>
|
||||
<Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\SyntaxVisitors\SyntaxVisitors.csproj">
|
||||
<Project>{a9ab4282-83b4-41a7-86c3-e5bf6a45e7e2}</Project>
|
||||
<Name>SyntaxVisitors</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\TreeConverter\TreeConverter.csproj">
|
||||
<Name>TreeConverter</Name>
|
||||
<Project>{1C9C945A-586D-42A2-A06B-65D84FA7FF78}</Project>
|
||||
<Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Compiler.cs" />
|
||||
<Compile Include="Errors.cs" />
|
||||
<Compile Include="Config\AssemblyInfo.cs" />
|
||||
<Compile Include="ConsoleCompilerCommands.cs" />
|
||||
<Compile Include="DocXml.cs" />
|
||||
<Compile Include="ICompiler.cs" />
|
||||
<Compile Include="IProjectInfo.cs" />
|
||||
<Compile Include="ProjectInfo.cs" />
|
||||
<Compile Include="RemoteCompiler.cs" />
|
||||
<Compile Include="SemanticTreeConverters\ISemanticTreeConverter.cs" />
|
||||
<Compile Include="SemanticTreeConverters\SemanticTreeConvertersController.cs" />
|
||||
<Compile Include="PCU\PCUFileFormatVersion.cs" />
|
||||
<Compile Include="PCU\PCUWriter.cs" />
|
||||
<Compile Include="PCU\PCUReader.cs" />
|
||||
<Compile Include="PCU\PCUWrappers.cs" />
|
||||
<Compile Include="..\Configuration\GlobalAssemblyInfo.cs">
|
||||
<Link>Config\GlobalAssemblyInfo.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="SyntaxTreeToSemanticTreeConverter.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>Клиентский профиль .NET Framework 3.5 SP1</ProductName>
|
||||
<Install>false</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>Установщик Windows 3.1</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
<PropertyGroup>
|
||||
<PreBuildEvent>
|
||||
</PreBuildEvent>
|
||||
<PostBuildEvent>
|
||||
</PostBuildEvent>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
|
|
@ -1,121 +1,27 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>8.0.50727</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{A25D26FB-3043-4BCF-833E-E3F4C3BE795E}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>PAscalABCCompiler</RootNamespace>
|
||||
<AssemblyName>CompilerTools</AssemblyName>
|
||||
<FileUpgradeFlags>
|
||||
</FileUpgradeFlags>
|
||||
<OldToolsVersion>4.0</OldToolsVersion>
|
||||
<UpgradeBackupLocation>
|
||||
</UpgradeBackupLocation>
|
||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||
<TargetFrameworkProfile />
|
||||
<PublishUrl>publish\</PublishUrl>
|
||||
<Install>true</Install>
|
||||
<InstallFrom>Disk</InstallFrom>
|
||||
<UpdateEnabled>false</UpdateEnabled>
|
||||
<UpdateMode>Foreground</UpdateMode>
|
||||
<UpdateInterval>7</UpdateInterval>
|
||||
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
|
||||
<UpdatePeriodically>false</UpdatePeriodically>
|
||||
<UpdateRequired>false</UpdateRequired>
|
||||
<MapFileExtensions>true</MapFileExtensions>
|
||||
<ApplicationRevision>0</ApplicationRevision>
|
||||
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
||||
<IsWebBootstrapper>false</IsWebBootstrapper>
|
||||
<UseApplicationTrust>false</UseApplicationTrust>
|
||||
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<TargetFramework>net40</TargetFramework>
|
||||
|
||||
<RootNamespace>PascalABCCompiler</RootNamespace>
|
||||
|
||||
<OutputPath>..\bin\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<UseVSHostingProcess>true</UseVSHostingProcess>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>..\bin\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
||||
|
||||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Conf\AssemblyInfo.cs" />
|
||||
<Compile Include="CRC32.cs" />
|
||||
<Compile Include="Errors\ErrorsStrategy.cs" />
|
||||
<Compile Include="EventedStreamReaderList.cs" />
|
||||
<Compile Include="Tools.cs" />
|
||||
<Compile Include="..\Configuration\GlobalAssemblyInfo.cs">
|
||||
<Link>Conf\GlobalAssemblyInfo.cs</Link>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\Errors\Errors.csproj">
|
||||
<Project>{44A01F9E-DCE7-470C-AAE5-C3DE0CCBEE3B}</Project>
|
||||
<Name>Errors</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Localization\Localization.csproj">
|
||||
<Project>{2DE2842F-0912-4251-BC0F-480854C44A13}</Project>
|
||||
<Name>Localization</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\ParserTools\ParserTools.csproj">
|
||||
<Project>{AF2EFD7B-69DD-4B43-AF65-B59B29349C23}</Project>
|
||||
<Name>ParserTools</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\SemanticTree\SemanticTree.csproj">
|
||||
<Project>{613E0DDA-AA8A-437C-AC45-507B47429FF9}</Project>
|
||||
<Name>SemanticTree</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\SyntaxTree\SyntaxTree.csproj">
|
||||
<Project>{C2CAC65A-B2AE-4CCC-B067-E6B8E75DF73A}</Project>
|
||||
<Name>SyntaxTree</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Errors\Errors.csproj" />
|
||||
<ProjectReference Include="..\Localization\Localization.csproj" />
|
||||
<ProjectReference Include="..\SyntaxTree\SyntaxTree.csproj" />
|
||||
<ProjectReference Include="..\SemanticTree\SemanticTree.csproj" />
|
||||
<ProjectReference Include="..\ParserTools\ParserTools.csproj" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Folder Include="Properties\" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>Клиентский профиль .NET Framework 3.5 SP1</ProductName>
|
||||
<Install>false</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>Установщик Windows 3.1</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
</Project>
|
||||
|
|
@ -1,17 +0,0 @@
|
|||
// Copyright (c) Ivan Bondarev, Stanislav Mikhalkovich (for details please see \doc\copyright.txt)
|
||||
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
[assembly: AssemblyTitle("PascalABCCompiler.CompilerTools")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("Localization")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2005-2021 by Ivan Bondarev, Stanislav Mikhalkovich")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
[assembly: ComVisible(false)]
|
||||
|
||||
|
|
@ -1,111 +1,23 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>8.0.50727</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{44A01F9E-DCE7-470C-AAE5-C3DE0CCBEE3B}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>Errors</RootNamespace>
|
||||
<AssemblyName>Errors</AssemblyName>
|
||||
<FileUpgradeFlags>
|
||||
</FileUpgradeFlags>
|
||||
<OldToolsVersion>4.0</OldToolsVersion>
|
||||
<UpgradeBackupLocation>
|
||||
</UpgradeBackupLocation>
|
||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||
<TargetFrameworkProfile />
|
||||
<PublishUrl>publish\</PublishUrl>
|
||||
<Install>true</Install>
|
||||
<InstallFrom>Disk</InstallFrom>
|
||||
<UpdateEnabled>false</UpdateEnabled>
|
||||
<UpdateMode>Foreground</UpdateMode>
|
||||
<UpdateInterval>7</UpdateInterval>
|
||||
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
|
||||
<UpdatePeriodically>false</UpdatePeriodically>
|
||||
<UpdateRequired>false</UpdateRequired>
|
||||
<MapFileExtensions>true</MapFileExtensions>
|
||||
<ApplicationRevision>0</ApplicationRevision>
|
||||
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
||||
<IsWebBootstrapper>false</IsWebBootstrapper>
|
||||
<UseApplicationTrust>false</UseApplicationTrust>
|
||||
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<TargetFramework>net40</TargetFramework>
|
||||
|
||||
<OutputPath>..\bin\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<UseVSHostingProcess>true</UseVSHostingProcess>
|
||||
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
||||
|
||||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>..\bin\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Compile Include="..\Configuration\GlobalAssemblyInfo.cs">
|
||||
<Link>Config\globalassemblyinfo.cs</Link>
|
||||
<Link>Config\GlobalAssemblyInfo.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="Config\AssemblyInfo.cs" />
|
||||
<Compile Include="BaseErrors.cs" />
|
||||
<Compile Include="SourceLocation.cs" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\Localization\Localization.csproj">
|
||||
<Project>{2DE2842F-0912-4251-BC0F-480854C44A13}</Project>
|
||||
<Name>Localization</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\SemanticTree\SemanticTree.csproj">
|
||||
<Project>{613e0dda-aa8a-437c-ac45-507b47429ff9}</Project>
|
||||
<Name>SemanticTree</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\SyntaxTree\SyntaxTree.csproj">
|
||||
<Project>{C2CAC65A-B2AE-4CCC-B067-E6B8E75DF73A}</Project>
|
||||
<Name>SyntaxTree</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Localization\Localization.csproj" />
|
||||
<ProjectReference Include="..\SemanticTree\SemanticTree.csproj" />
|
||||
<ProjectReference Include="..\SyntaxTree\SyntaxTree.csproj" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Folder Include="Properties\" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>Клиентский профиль .NET Framework 3.5 SP1</ProductName>
|
||||
<Install>false</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>Установщик Windows 3.1</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
</Project>
|
||||
|
|
@ -1,210 +1,27 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>9.0.30729</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{2D18BE89-D210-49EB-A9DD-2246FBB3DF6D}</ProjectGuid>
|
||||
<AssemblyName>ICSharpCode.TextEditorLinux</AssemblyName>
|
||||
<OutputTarget>Library</OutputTarget>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<NoStdLib>False</NoStdLib>
|
||||
<NoConfig>False</NoConfig>
|
||||
<RunPostBuildEvent>OnSuccessfulBuild</RunPostBuildEvent>
|
||||
<OutputType>Library</OutputType>
|
||||
<SignAssembly>true</SignAssembly>
|
||||
<AssemblyOriginatorKeyFile>Resources\ICSharpCode.TextEditor.snk</AssemblyOriginatorKeyFile>
|
||||
<TargetFramework>net40</TargetFramework>
|
||||
|
||||
<OutputPath>..\bin\</OutputPath>
|
||||
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
||||
|
||||
<UseWindowsForms>true</UseWindowsForms>
|
||||
|
||||
<RootNamespace>ICSharpCode.TextEditor</RootNamespace>
|
||||
<RegisterForComInterop>False</RegisterForComInterop>
|
||||
|
||||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- секция требует дополнительного внимания -->
|
||||
<PropertyGroup>
|
||||
<SignAssembly>true</SignAssembly>
|
||||
<AssemblyOriginatorKeyFile>Resources/ICSharpCode.TextEditor.snk</AssemblyOriginatorKeyFile>
|
||||
<GenerateSerializationAssemblies>Auto</GenerateSerializationAssemblies>
|
||||
<BaseAddress>98041856</BaseAddress>
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<FileAlignment>4096</FileAlignment>
|
||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||
<PublishUrl>publish\</PublishUrl>
|
||||
<Install>true</Install>
|
||||
<InstallFrom>Disk</InstallFrom>
|
||||
<UpdateEnabled>false</UpdateEnabled>
|
||||
<UpdateMode>Foreground</UpdateMode>
|
||||
<UpdateInterval>7</UpdateInterval>
|
||||
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
|
||||
<UpdatePeriodically>false</UpdatePeriodically>
|
||||
<UpdateRequired>false</UpdateRequired>
|
||||
<MapFileExtensions>true</MapFileExtensions>
|
||||
<ApplicationRevision>0</ApplicationRevision>
|
||||
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
||||
<IsWebBootstrapper>false</IsWebBootstrapper>
|
||||
<UseApplicationTrust>false</UseApplicationTrust>
|
||||
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||
<TargetFrameworkProfile />
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<Optimize>False</Optimize>
|
||||
<AllowUnsafeBlocks>False</AllowUnsafeBlocks>
|
||||
<CheckForOverflowUnderflow>True</CheckForOverflowUnderflow>
|
||||
<OutputPath>..\bin\</OutputPath>
|
||||
<DefineConstants>DEBUG</DefineConstants>
|
||||
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
|
||||
<CodeAnalysisRules>-Microsoft.Design#CA1012;-Microsoft.Design#CA2210;-Microsoft.Design#CA1040;-Microsoft.Design#CA1005;-Microsoft.Design#CA1020;-Microsoft.Design#CA1021;-Microsoft.Design#CA1010;-Microsoft.Design#CA1011;-Microsoft.Design#CA1009;-Microsoft.Design#CA1050;-Microsoft.Design#CA1026;-Microsoft.Design#CA1019;-Microsoft.Design#CA1031;-Microsoft.Design#CA1047;-Microsoft.Design#CA1000;-Microsoft.Design#CA1048;-Microsoft.Design#CA1051;-Microsoft.Design#CA1002;-Microsoft.Design#CA1061;-Microsoft.Design#CA1006;-Microsoft.Design#CA1046;-Microsoft.Design#CA1045;-Microsoft.Design#CA1038;-Microsoft.Design#CA1008;-Microsoft.Design#CA1028;-Microsoft.Design#CA1004;-Microsoft.Design#CA1035;-Microsoft.Design#CA1063;-Microsoft.Design#CA1032;-Microsoft.Design#CA1023;-Microsoft.Design#CA1033;-Microsoft.Design#CA1039;-Microsoft.Design#CA1016;-Microsoft.Design#CA1014;-Microsoft.Design#CA1017;-Microsoft.Design#CA1018;-Microsoft.Design#CA1027;-Microsoft.Design#CA1059;-Microsoft.Design#CA1060;-Microsoft.Design#CA1034;-Microsoft.Design#CA1013;-Microsoft.Design#CA1036;-Microsoft.Design#CA1044;-Microsoft.Design#CA1041;-Microsoft.Design#CA1025;-Microsoft.Design#CA1052;-Microsoft.Design#CA1053;-Microsoft.Design#CA1057;-Microsoft.Design#CA1058;-Microsoft.Design#CA1001;-Microsoft.Design#CA1049;-Microsoft.Design#CA1054;-Microsoft.Design#CA1056;-Microsoft.Design#CA1055;-Microsoft.Design#CA1030;-Microsoft.Design#CA1003;-Microsoft.Design#CA1007;-Microsoft.Design#CA1043;-Microsoft.Design#CA1024;-Microsoft.Design#CA1062;-Microsoft.Globalization#CA1301;-Microsoft.Globalization#CA1302;-Microsoft.Globalization#CA1303;-Microsoft.Globalization#CA1306;-Microsoft.Globalization#CA1304;-Microsoft.Globalization#CA1305;-Microsoft.Globalization#CA1300;-Microsoft.Mobility#CA1600;-Microsoft.Mobility#CA1601;-Microsoft.Naming#CA1718;-Microsoft.Naming#CA1720;-Microsoft.Naming#CA1700;-Microsoft.Naming#CA1712;-Microsoft.Naming#CA1713;-Microsoft.Naming#CA1709;-Microsoft.Naming#CA1708;-Microsoft.Naming#CA1715;-Microsoft.Naming#CA1710;-Microsoft.Naming#CA1707;-Microsoft.Naming#CA1722;-Microsoft.Naming#CA1711;-Microsoft.Naming#CA1716;-Microsoft.Naming#CA1705;-Microsoft.Naming#CA1725;-Microsoft.Naming#CA1719;-Microsoft.Naming#CA1721;-Microsoft.Naming#CA1706;-Microsoft.Naming#CA1724;-Microsoft.Naming#CA1726;-Microsoft.Performance#CA1809;-Microsoft.Performance#CA1811;-Microsoft.Performance#CA1812;-Microsoft.Performance#CA1807;-Microsoft.Performance#CA1813;-Microsoft.Performance#CA1823;-Microsoft.Performance#CA1816;-Microsoft.Performance#CA1817;-Microsoft.Performance#CA1800;-Microsoft.Performance#CA1818;-Microsoft.Performance#CA1805;-Microsoft.Performance#CA1810;-Microsoft.Performance#CA1822;-Microsoft.Performance#CA1815;-Microsoft.Performance#CA1814;-Microsoft.Performance#CA1819;-Microsoft.Performance#CA1804;-Microsoft.Performance#CA1820;-Microsoft.Performance#CA1802;-Microsoft.Security#CA2116;-Microsoft.Security#CA2117;-Microsoft.Security#CA2105;-Microsoft.Security#CA2115;-Microsoft.Security#CA2104;-Microsoft.Security#CA2122;-Microsoft.Security#CA2114;-Microsoft.Security#CA2123;-Microsoft.Security#CA2111;-Microsoft.Security#CA2108;-Microsoft.Security#CA2107;-Microsoft.Security#CA2103;-Microsoft.Security#CA2100;-Microsoft.Security#CA2118;-Microsoft.Security#CA2109;-Microsoft.Security#CA2119;-Microsoft.Security#CA2106;-Microsoft.Security#CA2112;-Microsoft.Security#CA2110;-Microsoft.Security#CA2120;-Microsoft.Security#CA2101;-Microsoft.Security#CA2121;-Microsoft.Security#CA2126;-Microsoft.Security#CA2124;-Microsoft.Usage#CA2209;-Microsoft.Usage#CA2236;-Microsoft.Usage#CA2227;-Microsoft.Usage#CA2213;-Microsoft.Usage#CA2216;-Microsoft.Usage#CA2215;-Microsoft.Usage#CA2214;-Microsoft.Usage#CA2222;-Microsoft.Usage#CA2202;-Microsoft.Usage#CA1806;-Microsoft.Usage#CA2217;-Microsoft.Usage#CA2212;-Microsoft.Usage#CA2219;-Microsoft.Usage#CA2201;-Microsoft.Usage#CA2228;-Microsoft.Usage#CA2221;-Microsoft.Usage#CA2220;-Microsoft.Usage#CA2240;-Microsoft.Usage#CA2229;-Microsoft.Usage#CA2238;-Microsoft.Usage#CA2207;-Microsoft.Usage#CA2208;-Microsoft.Usage#CA2235;-Microsoft.Usage#CA2237;-Microsoft.Usage#CA2232;-Microsoft.Usage#CA2223;-Microsoft.Usage#CA2211;-Microsoft.Usage#CA2233;-Microsoft.Usage#CA2225;-Microsoft.Usage#CA2226;-Microsoft.Usage#CA2231;-Microsoft.Usage#CA2224;-Microsoft.Usage#CA2218;-Microsoft.Usage#CA2234;-Microsoft.Usage#CA2241;-Microsoft.Usage#CA2239;-Microsoft.Usage#CA2200;-Microsoft.Usage#CA1801;-Microsoft.Usage#CA2205;-Microsoft.Usage#CA2230</CodeAnalysisRules>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<Optimize>True</Optimize>
|
||||
<AllowUnsafeBlocks>False</AllowUnsafeBlocks>
|
||||
<CheckForOverflowUnderflow>False</CheckForOverflowUnderflow>
|
||||
<OutputPath>..\bin\</OutputPath>
|
||||
<TreatWarningsAsErrors>False</TreatWarningsAsErrors>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
|
||||
<DebugType>Full</DebugType>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
|
||||
<DebugType>None</DebugType>
|
||||
<DebugSymbols>False</DebugSymbols>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core">
|
||||
<RequiredTargetFramework>3.5</RequiredTargetFramework>
|
||||
</Reference>
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Xml" />
|
||||
<Reference Include="System.Xml.Linq">
|
||||
<RequiredTargetFramework>3.5</RequiredTargetFramework>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Src\Document\DefaultDocument.cs" />
|
||||
<Compile Include="Src\Document\DocumentEventArgs.cs" />
|
||||
<Compile Include="Src\Document\DocumentFactory.cs" />
|
||||
<Compile Include="Src\Document\HighlightingStrategy\HighlightingDefinitionInvalidException.cs" />
|
||||
<Compile Include="Src\Document\IDocument.cs" />
|
||||
<Compile Include="Src\Document\ISegment.cs" />
|
||||
<Compile Include="Src\Document\LineManager\LineSegmentTree.cs" />
|
||||
<Compile Include="Src\Document\TextAnchor.cs" />
|
||||
<Compile Include="Src\Document\TextLocation.cs" />
|
||||
<Compile Include="Src\Document\TextUtilities.cs" />
|
||||
<Compile Include="Src\Document\BookmarkManager\BookmarkManager.cs" />
|
||||
<Compile Include="Src\Document\CustomLineManager\CustomLineManager.cs" />
|
||||
<Compile Include="Src\Document\CustomLineManager\ICustomLineManager.cs" />
|
||||
<Compile Include="Src\Document\BookmarkManager\BookmarkManagerMemento.cs" />
|
||||
<Compile Include="Src\Document\FormattingStrategy\DefaultFormattingStrategy.cs" />
|
||||
<Compile Include="Src\Document\FormattingStrategy\IFormattingStrategy.cs" />
|
||||
<Compile Include="Src\Document\HighlightingStrategy\DefaultHighlightingStrategy.cs" />
|
||||
<Compile Include="Src\Document\HighlightingStrategy\FontContainer.cs" />
|
||||
<Compile Include="Src\Document\HighlightingStrategy\HighlightBackground.cs" />
|
||||
<Compile Include="Src\Document\HighlightingStrategy\HighlightColor.cs" />
|
||||
<Compile Include="Src\Document\HighlightingStrategy\HighlightInfo.cs" />
|
||||
<Compile Include="Src\Document\HighlightingStrategy\HighlightingColorNotFoundException.cs" />
|
||||
<Compile Include="Src\Document\HighlightingStrategy\HighlightingDefinitionParser.cs" />
|
||||
<Compile Include="Src\Document\HighlightingStrategy\HighlightingManager.cs" />
|
||||
<Compile Include="Src\Document\HighlightingStrategy\HighlightingStrategyFactory.cs" />
|
||||
<Compile Include="Src\Document\HighlightingStrategy\HighlightRuleSet.cs" />
|
||||
<Compile Include="Src\Document\HighlightingStrategy\IHighlightingStrategy.cs" />
|
||||
<Compile Include="Src\Document\HighlightingStrategy\NextMarker.cs" />
|
||||
<Compile Include="Src\Document\HighlightingStrategy\PrevMarker.cs" />
|
||||
<Compile Include="Src\Document\HighlightingStrategy\Span.cs" />
|
||||
<Compile Include="Src\Document\HighlightingStrategy\TextWord.cs" />
|
||||
<Compile Include="Src\Document\LineManager\LineManager.cs" />
|
||||
<Compile Include="Src\Document\LineManager\LineSegment.cs" />
|
||||
<Compile Include="Src\Document\LineManager\LineManagerEventArgs.cs" />
|
||||
<Compile Include="Src\Document\TextBufferStrategy\GapTextBufferStrategy.cs" />
|
||||
<Compile Include="Src\Document\TextBufferStrategy\ITextBufferStrategy.cs" />
|
||||
<Compile Include="Src\Document\TextBufferStrategy\StringTextBufferStrategy.cs" />
|
||||
<Compile Include="Src\Util\AugmentableRedBlackTree.cs" />
|
||||
<Compile Include="Src\Util\LookupTable.cs" />
|
||||
<Compile Include="Src\Util\RedBlackTreeIterator.cs" />
|
||||
<Compile Include="Src\Util\TextUtility.cs" />
|
||||
<Compile Include="Src\Undo\UndoableDelete.cs" />
|
||||
<Compile Include="Src\Undo\UndoableInsert.cs" />
|
||||
<Compile Include="Src\Undo\UndoableReplace.cs" />
|
||||
<Compile Include="Src\Actions\ClipBoardActions.cs" />
|
||||
<Compile Include="Src\Actions\CaretActions.cs" />
|
||||
<Compile Include="Src\Actions\HomeEndActions.cs" />
|
||||
<Compile Include="Src\Actions\IEditAction.cs" />
|
||||
<Compile Include="Src\Actions\MiscActions.cs" />
|
||||
<Compile Include="Src\Actions\SelectionActions.cs" />
|
||||
<Compile Include="Src\Document\Selection\ISelection.cs" />
|
||||
<Compile Include="Src\Document\Selection\DefaultSelection.cs" />
|
||||
<Compile Include="Src\Document\FoldingStrategy\IFoldingStrategy.cs" />
|
||||
<Compile Include="Src\Document\FoldingStrategy\IndentFoldingStrategy.cs" />
|
||||
<Compile Include="Src\Gui\Ime.cs" />
|
||||
<Compile Include="Src\Gui\TextAreaUpdate.cs" />
|
||||
<Compile Include="Src\Document\Selection\SelectionManager.cs" />
|
||||
<Compile Include="Src\Gui\CompletionWindow\ICompletionData.cs" />
|
||||
<Compile Include="Src\Gui\CompletionWindow\ICompletionDataProvider.cs" />
|
||||
<Compile Include="Src\Gui\CompletionWindow\CodeCompletionWindow.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Src\Gui\CompletionWindow\DeclarationViewWindow.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Src\Gui\InsightWindow\IInsightDataProvider.cs" />
|
||||
<Compile Include="Src\Gui\InsightWindow\InsightWindow.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Src\Util\RtfWriter.cs" />
|
||||
<Compile Include="Src\Document\FoldingStrategy\FoldingManager.cs" />
|
||||
<Compile Include="Src\Document\AbstractSegment.cs" />
|
||||
<Compile Include="Src\Document\FoldingStrategy\FoldMarker.cs" />
|
||||
<Compile Include="Src\Util\TipPainter.cs" />
|
||||
<Compile Include="Src\Util\TipSection.cs" />
|
||||
<Compile Include="Src\Util\TipText.cs" />
|
||||
<Compile Include="Src\Util\TipSplitter.cs" />
|
||||
<Compile Include="Src\Util\TipSpacer.cs" />
|
||||
<Compile Include="Src\Util\TipPainterTools.cs" />
|
||||
<Compile Include="Src\Document\ITextEditorProperties.cs" />
|
||||
<Compile Include="Src\Gui\Caret.cs" />
|
||||
<Compile Include="Src\Gui\TextArea.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Src\Gui\TextEditorControl.cs">
|
||||
<SubType>UserControl</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Src\Gui\TextEditorControlBase.cs">
|
||||
<SubType>UserControl</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Src\Gui\TextAreaClipboardHandler.cs" />
|
||||
<Compile Include="Src\Gui\TextView.cs" />
|
||||
<Compile Include="Src\Gui\GutterMargin.cs" />
|
||||
<Compile Include="Src\Gui\AbstractMargin.cs" />
|
||||
<Compile Include="Src\Undo\IUndoableOperation.cs" />
|
||||
<Compile Include="Src\Undo\UndoQueue.cs" />
|
||||
<Compile Include="Src\Undo\UndoStack.cs" />
|
||||
<Compile Include="Src\Gui\TextAreaControl.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Src\Gui\TextAreaMouseHandler.cs" />
|
||||
<Compile Include="Src\Document\HighlightingStrategy\SyntaxModes\ISyntaxModeFileProvider.cs" />
|
||||
<Compile Include="Src\Document\HighlightingStrategy\SyntaxModes\SyntaxMode.cs" />
|
||||
<Compile Include="Src\Document\HighlightingStrategy\SyntaxModes\ResourceSyntaxModeProvider.cs" />
|
||||
<Compile Include="Src\Gui\IconBarMargin.cs" />
|
||||
<Compile Include="Src\Gui\FoldMargin.cs" />
|
||||
<Compile Include="Src\Document\HighlightingStrategy\SyntaxModes\FileSyntaxModeProvider.cs" />
|
||||
<Compile Include="Src\Document\Selection\ColumnRange.cs" />
|
||||
<Compile Include="Src\Gui\TextAreaDragDropHandler.cs" />
|
||||
<Compile Include="Src\Gui\BracketHighlighter.cs" />
|
||||
<Compile Include="Src\Actions\BookmarkActions.cs" />
|
||||
<Compile Include="Src\Actions\FoldActions.cs" />
|
||||
<Compile Include="Src\Actions\FormatActions.cs" />
|
||||
<Compile Include="Src\Document\DefaultTextEditorProperties.cs" />
|
||||
<Compile Include="Src\Document\MarkerStrategy\MarkerStrategy.cs" />
|
||||
<Compile Include="Src\Document\MarkerStrategy\TextMarker.cs" />
|
||||
<Compile Include="Src\Gui\CompletionWindow\AbstractCompletionWindow.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Src\Gui\CompletionWindow\CodeCompletionListView.cs">
|
||||
<SubType>UserControl</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Src\Gui\BrushRegistry.cs" />
|
||||
<Compile Include="Src\Gui\HRuler.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Src\Document\BookmarkManager\Bookmark.cs" />
|
||||
<Compile Include="Src\Document\BookmarkManager\BookmarkEventHandler.cs" />
|
||||
<Compile Include="Configuration\AssemblyInfo.cs" />
|
||||
<EmbeddedResource Include="Resources\ASPX.xshd" />
|
||||
<EmbeddedResource Include="Resources\BAT-Mode.xshd" />
|
||||
<EmbeddedResource Include="Resources\CPP-Mode.xshd" />
|
||||
|
|
@ -215,7 +32,6 @@
|
|||
<EmbeddedResource Include="Resources\Breakpoint32x32.png" />
|
||||
<EmbeddedResource Include="Resources\Breakpoint24x24.png" />
|
||||
<EmbeddedResource Include="Resources\ConditionBreakpoint24x24.png" />
|
||||
<None Include="Resources\ICSharpCode.TextEditor.snk" />
|
||||
<EmbeddedResource Include="Resources\TextEditorControl.bmp" />
|
||||
<EmbeddedResource Include="Resources\Java-Mode.xshd" />
|
||||
<EmbeddedResource Include="Resources\JavaScript-Mode.xshd" />
|
||||
|
|
@ -226,34 +42,9 @@
|
|||
<EmbeddedResource Include="Resources\Tex-Mode.xshd" />
|
||||
<EmbeddedResource Include="Resources\VBNET-Mode.xshd" />
|
||||
<EmbeddedResource Include="Resources\XML-Mode.xshd" />
|
||||
<Compile Include="Src\Util\FileReader.cs" />
|
||||
<EmbeddedResource Include="Resources\Boo.xshd" />
|
||||
<Compile Include="Src\Gui\DrawableLine.cs" />
|
||||
<Compile Include="Src\Gui\ToolTipRequestEventArgs.cs" />
|
||||
<Compile Include="Src\Document\HighlightingStrategy\SpanStack.cs" />
|
||||
<Compile Include="Src\Util\WeakCollection.cs" />
|
||||
<EmbeddedResource Include="Resources\Patch-Mode.xshd" />
|
||||
|
||||
<None Include="Resources\ICSharpCode.TextEditor.snk" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Framework.2.0">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 2.0 %28x86%29</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Framework.3.0">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.0 %28x86%29</ProductName>
|
||||
<Install>false</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.5</ProductName>
|
||||
<Install>false</Install>
|
||||
</BootstrapperPackage>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSHARP.Targets" />
|
||||
<PropertyGroup>
|
||||
<PreBuildEvent>
|
||||
</PreBuildEvent>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
|
|
@ -1,66 +1,18 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{27D9800E-2689-4AA1-A2D6-128E4A9BAE98}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>LambdaAnySynToSemConverter</RootNamespace>
|
||||
<AssemblyName>LambdaAnySynToSemConverter</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<Deterministic>true</Deterministic>
|
||||
<TargetFrameworkProfile />
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<TargetFramework>net40</TargetFramework>
|
||||
|
||||
<OutputPath>..\bin\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>1</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>..\bin\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
||||
|
||||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Xml" />
|
||||
<ProjectReference Include="..\SemanticTree\SemanticTree.csproj" />
|
||||
<ProjectReference Include="..\SyntaxTree\SyntaxTree.csproj"/>
|
||||
<ProjectReference Include="..\SyntaxVisitors\SyntaxVisitors.csproj" />
|
||||
<ProjectReference Include="..\TreeConverter\TreeConverter.csproj" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="LambdaAnyConverter.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\SemanticTree\SemanticTree.csproj">
|
||||
<Project>{613e0dda-aa8a-437c-ac45-507b47429ff9}</Project>
|
||||
<Name>SemanticTree</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\SyntaxTree\SyntaxTree.csproj">
|
||||
<Project>{c2cac65a-b2ae-4ccc-b067-e6b8e75df73a}</Project>
|
||||
<Name>SyntaxTree</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\SyntaxVisitors\SyntaxVisitors.csproj">
|
||||
<Project>{a9ab4282-83b4-41a7-86c3-e5bf6a45e7e2}</Project>
|
||||
<Name>SyntaxVisitors</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\TreeConverter\TreeConverter.csproj">
|
||||
<Project>{1c9c945a-586d-42a2-a06b-65d84fa7ff78}</Project>
|
||||
<Name>TreeConverter</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
</Project>
|
||||
|
|
@ -1,76 +1,21 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{A48D9069-D569-4110-9252-A10F139B669B}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<TargetFramework>net40</TargetFramework>
|
||||
<RootNamespace>Languages.Facade</RootNamespace>
|
||||
<AssemblyName>LanguageIntegrator</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<Deterministic>true</Deterministic>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
|
||||
<OutputPath>..\bin\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>..\bin\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
||||
|
||||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Xml" />
|
||||
<ProjectReference Include="..\Errors\Errors.csproj" />
|
||||
<ProjectReference Include="..\ParserTools\ParserTools.csproj" />
|
||||
<ProjectReference Include="..\StringConstants\StringConstants.csproj" />
|
||||
<ProjectReference Include="..\SyntaxTree\SyntaxTree.csproj" />
|
||||
<ProjectReference Include="..\SyntaxVisitors\SyntaxVisitors.csproj" />
|
||||
<ProjectReference Include="..\TreeConverter\TreeConverter.csproj" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="BaseLanguage.cs" />
|
||||
<Compile Include="ILanguage.cs" />
|
||||
<Compile Include="LanguageIntegrator.cs" />
|
||||
<Compile Include="LanguageProvider.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\Errors\Errors.csproj">
|
||||
<Project>{44a01f9e-dce7-470c-aae5-c3de0ccbee3b}</Project>
|
||||
<Name>Errors</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\ParserTools\ParserTools.csproj">
|
||||
<Project>{af2efd7b-69dd-4b43-af65-b59b29349c23}</Project>
|
||||
<Name>ParserTools</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\StringConstants\StringConstants.csproj">
|
||||
<Project>{e8aefbf9-0113-4fa4-be45-6cda555498b7}</Project>
|
||||
<Name>StringConstants</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\SyntaxTree\SyntaxTree.csproj">
|
||||
<Project>{c2cac65a-b2ae-4ccc-b067-e6b8e75df73a}</Project>
|
||||
<Name>SyntaxTree</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\SyntaxVisitors\SyntaxVisitors.csproj">
|
||||
<Project>{a9ab4282-83b4-41a7-86c3-e5bf6a45e7e2}</Project>
|
||||
<Name>SyntaxVisitors</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\TreeConverter\TreeConverter.csproj">
|
||||
<Project>{1c9c945a-586d-42a2-a06b-65d84fa7ff78}</Project>
|
||||
<Name>TreeConverter</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
</Project>
|
||||
|
|
@ -1,95 +1,21 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>8.0.50727</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{2DE2842F-0912-4251-BC0F-480854C44A13}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<TargetFramework>net40</TargetFramework>
|
||||
|
||||
<RootNamespace>PascalABCCompiler</RootNamespace>
|
||||
<AssemblyName>Localization</AssemblyName>
|
||||
<FileUpgradeFlags>
|
||||
</FileUpgradeFlags>
|
||||
<OldToolsVersion>4.0</OldToolsVersion>
|
||||
<UpgradeBackupLocation>
|
||||
</UpgradeBackupLocation>
|
||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||
<TargetFrameworkProfile />
|
||||
<PublishUrl>publish\</PublishUrl>
|
||||
<Install>true</Install>
|
||||
<InstallFrom>Disk</InstallFrom>
|
||||
<UpdateEnabled>false</UpdateEnabled>
|
||||
<UpdateMode>Foreground</UpdateMode>
|
||||
<UpdateInterval>7</UpdateInterval>
|
||||
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
|
||||
<UpdatePeriodically>false</UpdatePeriodically>
|
||||
<UpdateRequired>false</UpdateRequired>
|
||||
<MapFileExtensions>true</MapFileExtensions>
|
||||
<ApplicationRevision>0</ApplicationRevision>
|
||||
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
||||
<IsWebBootstrapper>false</IsWebBootstrapper>
|
||||
<UseApplicationTrust>false</UseApplicationTrust>
|
||||
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
|
||||
<OutputPath>..\bin\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<UseVSHostingProcess>true</UseVSHostingProcess>
|
||||
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
||||
|
||||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>..\bin\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="StringResources.cs" />
|
||||
<Compile Include="StringResourcesLanguage.cs" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="DefaultLang.resources" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>Клиентский профиль .NET Framework 3.5 SP1</ProductName>
|
||||
<Install>false</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>Установщик Windows 3.1</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
</Project>
|
||||
|
|
@ -1,179 +1,27 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<ProjectType>Local</ProjectType>
|
||||
<ProductVersion>8.0.50727</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{7FE7173B-22EB-46E5-897B-02F422662E51}</ProjectGuid>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ApplicationIcon>
|
||||
</ApplicationIcon>
|
||||
<AssemblyKeyContainerName>
|
||||
</AssemblyKeyContainerName>
|
||||
<AssemblyName>NETGenerator</AssemblyName>
|
||||
<AssemblyOriginatorKeyFile>
|
||||
</AssemblyOriginatorKeyFile>
|
||||
<DefaultClientScript>JScript</DefaultClientScript>
|
||||
<DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout>
|
||||
<DefaultTargetSchema>IE50</DefaultTargetSchema>
|
||||
<DelaySign>false</DelaySign>
|
||||
<OutputType>Library</OutputType>
|
||||
<RootNamespace>NETGenerator</RootNamespace>
|
||||
<RunPostBuildEvent>OnBuildSuccess</RunPostBuildEvent>
|
||||
<StartupObject>
|
||||
</StartupObject>
|
||||
<FileUpgradeFlags>
|
||||
</FileUpgradeFlags>
|
||||
<UpgradeBackupLocation>
|
||||
</UpgradeBackupLocation>
|
||||
<OldToolsVersion>4.0</OldToolsVersion>
|
||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||
<TargetFrameworkProfile />
|
||||
<PublishUrl>publish\</PublishUrl>
|
||||
<Install>true</Install>
|
||||
<InstallFrom>Disk</InstallFrom>
|
||||
<UpdateEnabled>false</UpdateEnabled>
|
||||
<UpdateMode>Foreground</UpdateMode>
|
||||
<UpdateInterval>7</UpdateInterval>
|
||||
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
|
||||
<UpdatePeriodically>false</UpdatePeriodically>
|
||||
<UpdateRequired>false</UpdateRequired>
|
||||
<MapFileExtensions>true</MapFileExtensions>
|
||||
<ApplicationRevision>0</ApplicationRevision>
|
||||
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
||||
<IsWebBootstrapper>false</IsWebBootstrapper>
|
||||
<UseApplicationTrust>false</UseApplicationTrust>
|
||||
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<TargetFramework>net40</TargetFramework>
|
||||
|
||||
<RootNamespace>PascalABCCompiler</RootNamespace>
|
||||
|
||||
<OutputPath>..\bin\</OutputPath>
|
||||
<AllowUnsafeBlocks>false</AllowUnsafeBlocks>
|
||||
<BaseAddress>285212672</BaseAddress>
|
||||
<CheckForOverflowUnderflow>false</CheckForOverflowUnderflow>
|
||||
<ConfigurationOverrideFile>
|
||||
</ConfigurationOverrideFile>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<FileAlignment>4096</FileAlignment>
|
||||
<NoStdLib>false</NoStdLib>
|
||||
<Optimize>false</Optimize>
|
||||
<RegisterForComInterop>false</RegisterForComInterop>
|
||||
<RemoveIntegerChecks>false</RemoveIntegerChecks>
|
||||
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<DebugType>Full</DebugType>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<DefineConstants>DEBUG</DefineConstants>
|
||||
<UseVSHostingProcess>true</UseVSHostingProcess>
|
||||
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
||||
|
||||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<OutputPath>..\bin\</OutputPath>
|
||||
<AllowUnsafeBlocks>false</AllowUnsafeBlocks>
|
||||
<BaseAddress>285212672</BaseAddress>
|
||||
<CheckForOverflowUnderflow>false</CheckForOverflowUnderflow>
|
||||
<ConfigurationOverrideFile>
|
||||
</ConfigurationOverrideFile>
|
||||
<DefineConstants>
|
||||
</DefineConstants>
|
||||
<DocumentationFile>
|
||||
</DocumentationFile>
|
||||
<DebugSymbols>false</DebugSymbols>
|
||||
<FileAlignment>4096</FileAlignment>
|
||||
<NoStdLib>false</NoStdLib>
|
||||
<NoWarn>
|
||||
</NoWarn>
|
||||
<Optimize>true</Optimize>
|
||||
<RegisterForComInterop>false</RegisterForComInterop>
|
||||
<RemoveIntegerChecks>false</RemoveIntegerChecks>
|
||||
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<DebugType>none</DebugType>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Platform)' == 'AnyCPU' ">
|
||||
<GenerateSerializationAssemblies>Auto</GenerateSerializationAssemblies>
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System">
|
||||
<Name>System</Name>
|
||||
</Reference>
|
||||
<Reference Include="System.Data">
|
||||
<Name>System.Data</Name>
|
||||
</Reference>
|
||||
<Reference Include="System.Drawing">
|
||||
<Name>System.Drawing</Name>
|
||||
</Reference>
|
||||
<Reference Include="System.Windows.Forms">
|
||||
<Name>System.Windows.Forms</Name>
|
||||
</Reference>
|
||||
<Reference Include="System.Xml">
|
||||
<Name>System.XML</Name>
|
||||
</Reference>
|
||||
<ProjectReference Include="..\CompilerTools\CompilerTools.csproj">
|
||||
<Project>{A25D26FB-3043-4BCF-833E-E3F4C3BE795E}</Project>
|
||||
<Name>CompilerTools</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Errors\Errors.csproj">
|
||||
<Project>{44A01F9E-DCE7-470C-AAE5-C3DE0CCBEE3B}</Project>
|
||||
<Name>Errors</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\SemanticTree\SemanticTree.csproj">
|
||||
<Name>SemanticTree</Name>
|
||||
<Project>{613E0DDA-AA8A-437C-AC45-507B47429FF9}</Project>
|
||||
<Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\StringConstants\StringConstants.csproj">
|
||||
<Project>{e8aefbf9-0113-4fa4-be45-6cda555498b7}</Project>
|
||||
<Name>StringConstants</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\TreeConverter\TreeConverter.csproj">
|
||||
<Project>{1C9C945A-586D-42A2-A06B-65D84FA7FF78}</Project>
|
||||
<Name>TreeConverter</Name>
|
||||
</ProjectReference>
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Compile Include="..\Configuration\GlobalAssemblyInfo.cs">
|
||||
<Link>Config\GlobalAssemblyInfo.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="AppConfigUtil.cs" />
|
||||
<Compile Include="Config\AssemblyInfo.cs" />
|
||||
<Compile Include="NETGenegratorTools.cs" />
|
||||
<Compile Include="CodeGenerator.cs">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Helpers.cs">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="NETGenerator.cs">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>Клиентский профиль .NET Framework 3.5 SP1</ProductName>
|
||||
<Install>false</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>Установщик Windows 3.1</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
<ProjectReference Include="..\CompilerTools\CompilerTools.csproj" />
|
||||
<ProjectReference Include="..\Errors\Errors.csproj" />
|
||||
<ProjectReference Include="..\SemanticTree\SemanticTree.csproj" />
|
||||
<ProjectReference Include="..\StringConstants\StringConstants.csproj" />
|
||||
<ProjectReference Include="..\TreeConverter\TreeConverter.csproj" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
<PropertyGroup>
|
||||
<PreBuildEvent>
|
||||
</PreBuildEvent>
|
||||
<PostBuildEvent>
|
||||
</PostBuildEvent>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
|
|
@ -1,119 +1,21 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>8.0.50727</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{10679470-FE1B-4193-A203-D940CF0AEA54}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>Optimizer</RootNamespace>
|
||||
<TargetFramework>net40</TargetFramework>
|
||||
|
||||
<OutputPath>..\bin\</OutputPath>
|
||||
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
||||
<AssemblyName>OptimizerConversion</AssemblyName>
|
||||
<FileUpgradeFlags>
|
||||
</FileUpgradeFlags>
|
||||
<OldToolsVersion>4.0</OldToolsVersion>
|
||||
<UpgradeBackupLocation>
|
||||
</UpgradeBackupLocation>
|
||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||
<TargetFrameworkProfile />
|
||||
<PublishUrl>publish\</PublishUrl>
|
||||
<Install>true</Install>
|
||||
<InstallFrom>Disk</InstallFrom>
|
||||
<UpdateEnabled>false</UpdateEnabled>
|
||||
<UpdateMode>Foreground</UpdateMode>
|
||||
<UpdateInterval>7</UpdateInterval>
|
||||
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
|
||||
<UpdatePeriodically>false</UpdatePeriodically>
|
||||
<UpdateRequired>false</UpdateRequired>
|
||||
<MapFileExtensions>true</MapFileExtensions>
|
||||
<ApplicationRevision>0</ApplicationRevision>
|
||||
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
||||
<IsWebBootstrapper>false</IsWebBootstrapper>
|
||||
<UseApplicationTrust>false</UseApplicationTrust>
|
||||
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>..\bin\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<UseVSHostingProcess>true</UseVSHostingProcess>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>..\bin\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
|
||||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Xml" />
|
||||
<ProjectReference Include="..\Compiler\Compiler.csproj" />
|
||||
<ProjectReference Include="..\Errors\Errors.csproj" />
|
||||
<ProjectReference Include="..\Localization\Localization.csproj" />
|
||||
<ProjectReference Include="..\SemanticTree\SemanticTree.csproj" />
|
||||
<ProjectReference Include="..\TreeConverter\TreeConverter.csproj" />
|
||||
<ProjectReference Include="..\StringConstants\StringConstants.csproj" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Optimizer.cs" />
|
||||
<Compile Include="OptimizerTools.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="SemanticTreeConverter.cs" />
|
||||
<Compile Include="Warnings.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\Compiler\Compiler.csproj">
|
||||
<Project>{1E42361A-EDA3-4872-88AF-A3AAF600D36D}</Project>
|
||||
<Name>Compiler</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Errors\Errors.csproj">
|
||||
<Project>{44A01F9E-DCE7-470C-AAE5-C3DE0CCBEE3B}</Project>
|
||||
<Name>Errors</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Localization\Localization.csproj">
|
||||
<Project>{2DE2842F-0912-4251-BC0F-480854C44A13}</Project>
|
||||
<Name>Localization</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\SemanticTree\SemanticTree.csproj">
|
||||
<Project>{613E0DDA-AA8A-437C-AC45-507B47429FF9}</Project>
|
||||
<Name>SemanticTree</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\StringConstants\StringConstants.csproj">
|
||||
<Project>{e8aefbf9-0113-4fa4-be45-6cda555498b7}</Project>
|
||||
<Name>StringConstants</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\TreeConverter\TreeConverter.csproj">
|
||||
<Project>{1C9C945A-586D-42A2-A06B-65D84FA7FF78}</Project>
|
||||
<Name>TreeConverter</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>Клиентский профиль .NET Framework 3.5 SP1</ProductName>
|
||||
<Install>false</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>Установщик Windows 3.1</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
</Project>
|
||||
|
|
@ -1,130 +1,23 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>9.0.21022</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{AF2EFD7B-69DD-4B43-AF65-B59B29349C23}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>ParserTools</RootNamespace>
|
||||
<AssemblyName>ParserTools</AssemblyName>
|
||||
<FileUpgradeFlags>
|
||||
</FileUpgradeFlags>
|
||||
<OldToolsVersion>4.0</OldToolsVersion>
|
||||
<UpgradeBackupLocation>
|
||||
</UpgradeBackupLocation>
|
||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||
<TargetFrameworkProfile />
|
||||
<PublishUrl>publish\</PublishUrl>
|
||||
<Install>true</Install>
|
||||
<InstallFrom>Disk</InstallFrom>
|
||||
<UpdateEnabled>false</UpdateEnabled>
|
||||
<UpdateMode>Foreground</UpdateMode>
|
||||
<UpdateInterval>7</UpdateInterval>
|
||||
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
|
||||
<UpdatePeriodically>false</UpdatePeriodically>
|
||||
<UpdateRequired>false</UpdateRequired>
|
||||
<MapFileExtensions>true</MapFileExtensions>
|
||||
<ApplicationRevision>0</ApplicationRevision>
|
||||
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
||||
<IsWebBootstrapper>false</IsWebBootstrapper>
|
||||
<UseApplicationTrust>false</UseApplicationTrust>
|
||||
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<TargetFramework>net40</TargetFramework>
|
||||
|
||||
<OutputPath>..\bin\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<UseVSHostingProcess>true</UseVSHostingProcess>
|
||||
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
||||
|
||||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>..\bin\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Compile Include="..\Configuration\GlobalAssemblyInfo.cs">
|
||||
<Link>Config\globalassemblyinfo.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="Config\AssemblyInfo.cs" />
|
||||
<Compile Include="DocumentationConstructor.cs" />
|
||||
<Compile Include="FileReader.cs" />
|
||||
<Compile Include="ParserTools\BaseParser.cs" />
|
||||
<Compile Include="ParserTools\BaseParserTools.cs" />
|
||||
<Compile Include="ParserTools\DirectiveHelper.cs" />
|
||||
<Compile Include="ParserTools\IDocParser.cs" />
|
||||
<Compile Include="ParserTools\IParser.cs" />
|
||||
<Compile Include="ParserTools\CommentBinder.cs" />
|
||||
<Compile Include="ParserTools\DefaultLanguageInformation.cs" />
|
||||
<Compile Include="ParserTools\Errors.cs" />
|
||||
<Compile Include="ParserTools\Keywords\BaseKeywords.cs" />
|
||||
<Compile Include="ParserTools\ILanguageInformation.cs" />
|
||||
<Compile Include="ParserTools\Keywords\KeywordKind.cs" />
|
||||
<Compile Include="ParserTools\ParserTools.cs" />
|
||||
<Compile Include="ParserTools\ShiftReduceParserCode.cs" />
|
||||
<Compile Include="ParserTools\SourceContextMap.cs" />
|
||||
<Compile Include="ParserTools\UnionStruct.cs" />
|
||||
<Compile Include="SyntaxTreeVisitors\ConstantExpressionToConstantConvertor.cs" />
|
||||
<Compile Include="SyntaxTreeVisitors\SyntaxTreeComparer.cs" />
|
||||
<Compile Include="Tools.cs" />
|
||||
<Compile Include="XmlDocs.cs">
|
||||
<SubType>Code</SubType>
|
||||
<Link>Config\GlobalAssemblyInfo.cs</Link>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\Errors\Errors.csproj">
|
||||
<Project>{44A01F9E-DCE7-470C-AAE5-C3DE0CCBEE3B}</Project>
|
||||
<Name>Errors</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Localization\Localization.csproj">
|
||||
<Project>{2DE2842F-0912-4251-BC0F-480854C44A13}</Project>
|
||||
<Name>Localization</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\SyntaxTree\SyntaxTree.csproj">
|
||||
<Project>{C2CAC65A-B2AE-4CCC-B067-E6B8E75DF73A}</Project>
|
||||
<Name>SyntaxTree</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Errors\Errors.csproj" />
|
||||
<ProjectReference Include="..\Localization\Localization.csproj" />
|
||||
<ProjectReference Include="..\SyntaxTree\SyntaxTree.csproj" />
|
||||
</ItemGroup>
|
||||
<ItemGroup />
|
||||
<ItemGroup>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>Клиентский профиль .NET Framework 3.5 SP1</ProductName>
|
||||
<Install>false</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>Установщик Windows 3.1</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
</Project>
|
||||
|
|
@ -1,151 +1,25 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>9.0.30729</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{0ED020FF-D28E-4791-BBDD-B8B9BA714096}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<TargetFramework>net40</TargetFramework>
|
||||
|
||||
<RootNamespace>Languages.Pascal.Frontend</RootNamespace>
|
||||
|
||||
<OutputPath>..\..\bin\</OutputPath>
|
||||
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
||||
<AssemblyName>PascalABCParser</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<StartupObject>
|
||||
</StartupObject>
|
||||
<PublishUrl>publish\</PublishUrl>
|
||||
<Install>true</Install>
|
||||
<InstallFrom>Disk</InstallFrom>
|
||||
<UpdateEnabled>false</UpdateEnabled>
|
||||
<UpdateMode>Foreground</UpdateMode>
|
||||
<UpdateInterval>7</UpdateInterval>
|
||||
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
|
||||
<UpdatePeriodically>false</UpdatePeriodically>
|
||||
<UpdateRequired>false</UpdateRequired>
|
||||
<MapFileExtensions>true</MapFileExtensions>
|
||||
<ApplicationRevision>0</ApplicationRevision>
|
||||
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
||||
<IsWebBootstrapper>false</IsWebBootstrapper>
|
||||
<UseApplicationTrust>false</UseApplicationTrust>
|
||||
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||
<FileUpgradeFlags>
|
||||
</FileUpgradeFlags>
|
||||
<UpgradeBackupLocation>
|
||||
</UpgradeBackupLocation>
|
||||
<OldToolsVersion>3.5</OldToolsVersion>
|
||||
<TargetFrameworkProfile>
|
||||
</TargetFrameworkProfile>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>..\..\bin\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>3</WarningLevel>
|
||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<UseVSHostingProcess>true</UseVSHostingProcess>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>..\..\bin\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
|
||||
<EnableDefaultNoneItems>false</EnableDefaultNoneItems>
|
||||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core">
|
||||
<RequiredTargetFramework>3.5</RequiredTargetFramework>
|
||||
</Reference>
|
||||
<Reference Include="System.Numerics" />
|
||||
<Reference Include="System.Xml.Linq">
|
||||
<RequiredTargetFramework>3.5</RequiredTargetFramework>
|
||||
</Reference>
|
||||
<Reference Include="System.Data.DataSetExtensions">
|
||||
<RequiredTargetFramework>3.5</RequiredTargetFramework>
|
||||
</Reference>
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Xml" />
|
||||
<ProjectReference Include="..\..\Errors\Errors.csproj" />
|
||||
<ProjectReference Include="..\..\LanguageIntegrator\LanguageIntegrator.csproj" />
|
||||
<ProjectReference Include="..\..\Localization\Localization.csproj" />
|
||||
<ProjectReference Include="..\..\ParserTools\ParserTools.csproj" />
|
||||
<ProjectReference Include="..\..\StringConstants\StringConstants.csproj" />
|
||||
<ProjectReference Include="..\..\SyntaxTree\SyntaxTree.csproj" />
|
||||
<ProjectReference Include="..\..\SyntaxVisitors\SyntaxVisitors.csproj" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Framework.2.0">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 2.0 %28x86%29</ProductName>
|
||||
<Install>false</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Framework.3.0">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.0 %28x86%29</ProductName>
|
||||
<Install>false</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.5</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>Windows Installer 3.1</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Folder Include="Properties\" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="ABCPascal.cs" />
|
||||
<Compile Include="ABCPascalParserTools.cs" />
|
||||
<Compile Include="ABCPascalYacc.cs" />
|
||||
<Compile Include="DocTagsParser\Parser.cs" />
|
||||
<Compile Include="Errors.cs" />
|
||||
<Compile Include="Keywords.cs" />
|
||||
<Compile Include="Parser.cs" />
|
||||
<Compile Include="ParserLambdaHelper.cs" />
|
||||
<Compile Include="SemanticRulesForYacc.cs" />
|
||||
<Compile Include="StringResources.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\Errors\Errors.csproj">
|
||||
<Project>{44A01F9E-DCE7-470C-AAE5-C3DE0CCBEE3B}</Project>
|
||||
<Name>Errors</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\LanguageIntegrator\LanguageIntegrator.csproj">
|
||||
<Project>{a48d9069-d569-4110-9252-a10f139b669b}</Project>
|
||||
<Name>LanguageIntegrator</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\Localization\Localization.csproj">
|
||||
<Project>{2DE2842F-0912-4251-BC0F-480854C44A13}</Project>
|
||||
<Name>Localization</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\ParserTools\ParserTools.csproj">
|
||||
<Project>{AF2EFD7B-69DD-4B43-AF65-B59B29349C23}</Project>
|
||||
<Name>ParserTools</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\StringConstants\StringConstants.csproj">
|
||||
<Project>{e8aefbf9-0113-4fa4-be45-6cda555498b7}</Project>
|
||||
<Name>StringConstants</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\SyntaxTree\SyntaxTree.csproj">
|
||||
<Project>{C2CAC65A-B2AE-4CCC-B067-E6B8E75DF73A}</Project>
|
||||
<Name>SyntaxTree</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\SyntaxVisitors\SyntaxVisitors.csproj">
|
||||
<Project>{a9ab4282-83b4-41a7-86c3-e5bf6a45e7e2}</Project>
|
||||
<Name>SyntaxVisitors</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
</Project>
|
||||
|
|
@ -1,118 +1,21 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<ProjectGuid>{1D51D03C-FB74-4AB2-84B4-09EB077BEAFE}</ProjectGuid>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<OutputType>Library</OutputType>
|
||||
<RootNamespace>VBNETParser</RootNamespace>
|
||||
<AssemblyName>VBNETParser</AssemblyName>
|
||||
<AllowUnsafeBlocks>False</AllowUnsafeBlocks>
|
||||
<NoStdLib>False</NoStdLib>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
|
||||
<FileUpgradeFlags>
|
||||
</FileUpgradeFlags>
|
||||
<OldToolsVersion>4.0</OldToolsVersion>
|
||||
<UpgradeBackupLocation>
|
||||
</UpgradeBackupLocation>
|
||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||
<TargetFrameworkProfile />
|
||||
<PublishUrl>publish\</PublishUrl>
|
||||
<Install>true</Install>
|
||||
<InstallFrom>Disk</InstallFrom>
|
||||
<UpdateEnabled>false</UpdateEnabled>
|
||||
<UpdateMode>Foreground</UpdateMode>
|
||||
<UpdateInterval>7</UpdateInterval>
|
||||
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
|
||||
<UpdatePeriodically>false</UpdatePeriodically>
|
||||
<UpdateRequired>false</UpdateRequired>
|
||||
<MapFileExtensions>true</MapFileExtensions>
|
||||
<ApplicationRevision>0</ApplicationRevision>
|
||||
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
||||
<IsWebBootstrapper>false</IsWebBootstrapper>
|
||||
<UseApplicationTrust>false</UseApplicationTrust>
|
||||
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
|
||||
<TargetFramework>net40</TargetFramework>
|
||||
|
||||
<OutputPath>..\..\bin\</OutputPath>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>Full</DebugType>
|
||||
<Optimize>False</Optimize>
|
||||
<CheckForOverflowUnderflow>True</CheckForOverflowUnderflow>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
||||
|
||||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
||||
<Deterministic>false</Deterministic>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DebugSymbols>False</DebugSymbols>
|
||||
<DebugType>None</DebugType>
|
||||
<Optimize>True</Optimize>
|
||||
<CheckForOverflowUnderflow>False</CheckForOverflowUnderflow>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Platform)' == 'AnyCPU' ">
|
||||
<RegisterForComInterop>False</RegisterForComInterop>
|
||||
<GenerateSerializationAssemblies>Auto</GenerateSerializationAssemblies>
|
||||
<BaseAddress>4194304</BaseAddress>
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<FileAlignment>4096</FileAlignment>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'">
|
||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<UseVSHostingProcess>true</UseVSHostingProcess>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|AnyCPU'">
|
||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.Targets" />
|
||||
|
||||
<ItemGroup>
|
||||
<Reference Include="ICSharpCode.NRefactory">
|
||||
<HintPath>..\..\Libraries\ICSharpCode.NRefactory.dll</HintPath>
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="AssemblyInfo.cs" />
|
||||
<Compile Include="ASTConverter.cs" />
|
||||
<Compile Include="DocTagsParser\DocParser.cs" />
|
||||
<Compile Include="LanguageInformation.cs" />
|
||||
<Compile Include="Parser.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\..\Errors\Errors.csproj">
|
||||
<Project>{44A01F9E-DCE7-470C-AAE5-C3DE0CCBEE3B}</Project>
|
||||
<Name>Errors</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\..\Localization\Localization.csproj">
|
||||
<Project>{2DE2842F-0912-4251-BC0F-480854C44A13}</Project>
|
||||
<Name>Localization</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\..\ParserTools\ParserTools.csproj">
|
||||
<Project>{AF2EFD7B-69DD-4B43-AF65-B59B29349C23}</Project>
|
||||
<Name>ParserTools</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\..\SyntaxTree\SyntaxTree.csproj">
|
||||
<Project>{C2CAC65A-B2AE-4CCC-B067-E6B8E75DF73A}</Project>
|
||||
<Name>SyntaxTree</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>Клиентский профиль .NET Framework 3.5 SP1</ProductName>
|
||||
<Install>false</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>Установщик Windows 3.1</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
<ProjectReference Include="..\..\Errors\Errors.csproj" />
|
||||
<ProjectReference Include="..\..\Localization\Localization.csproj" />
|
||||
<ProjectReference Include="..\..\ParserTools\ParserTools.csproj" />
|
||||
<ProjectReference Include="..\..\SyntaxTree\SyntaxTree.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
|
||||
</Project>
|
||||
|
|
@ -1,85 +1,25 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{BD902586-E0D5-407A-904A-32249B8B709E}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<TargetFramework>net40</TargetFramework>
|
||||
|
||||
<RootNamespace>Languages.Pascal</RootNamespace>
|
||||
<AssemblyName>PascalABCLanguageInfo</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<Deterministic>true</Deterministic>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
|
||||
<OutputPath>..\bin\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>..\bin\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
||||
|
||||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Xml" />
|
||||
<ProjectReference Include="..\LambdaAnySynToSemConverter\LambdaAnySynToSemConverter.csproj" />
|
||||
<ProjectReference Include="..\LanguageIntegrator\LanguageIntegrator.csproj" />
|
||||
<ProjectReference Include="..\Parsers\PascalABCParserNewSaushkin\PascalABCSaushkinParser.csproj" />
|
||||
<ProjectReference Include="..\ParserTools\ParserTools.csproj" />
|
||||
<ProjectReference Include="..\StringConstants\StringConstants.csproj" />
|
||||
<ProjectReference Include="..\SyntaxTreeConverters\SyntaxTreeConverters.csproj" />
|
||||
<ProjectReference Include="..\SyntaxTree\SyntaxTree.csproj" />
|
||||
<ProjectReference Include="..\SyntaxVisitors\SyntaxVisitors.csproj" />
|
||||
<ProjectReference Include="..\TreeConverter\TreeConverter.csproj" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="PascalABCLanguage.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\LambdaAnySynToSemConverter\LambdaAnySynToSemConverter.csproj">
|
||||
<Project>{27d9800e-2689-4aa1-a2d6-128e4a9bae98}</Project>
|
||||
<Name>LambdaAnySynToSemConverter</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\LanguageIntegrator\LanguageIntegrator.csproj">
|
||||
<Project>{a48d9069-d569-4110-9252-a10f139b669b}</Project>
|
||||
<Name>LanguageIntegrator</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Parsers\PascalABCParserNewSaushkin\PascalABCSaushkinParser.csproj">
|
||||
<Project>{0ed020ff-d28e-4791-bbdd-b8b9ba714096}</Project>
|
||||
<Name>PascalABCSaushkinParser</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\ParserTools\ParserTools.csproj">
|
||||
<Project>{af2efd7b-69dd-4b43-af65-b59b29349c23}</Project>
|
||||
<Name>ParserTools</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\StringConstants\StringConstants.csproj">
|
||||
<Project>{e8aefbf9-0113-4fa4-be45-6cda555498b7}</Project>
|
||||
<Name>StringConstants</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\SyntaxTreeConverters\SyntaxTreeConverters.csproj">
|
||||
<Project>{f10a5330-dcf4-4533-877c-7b1b1be23884}</Project>
|
||||
<Name>SyntaxTreeConverters</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\SyntaxTree\SyntaxTree.csproj">
|
||||
<Project>{c2cac65a-b2ae-4ccc-b067-e6b8e75df73a}</Project>
|
||||
<Name>SyntaxTree</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\SyntaxVisitors\SyntaxVisitors.csproj">
|
||||
<Project>{A9AB4282-83B4-41A7-86C3-E5BF6A45E7E2}</Project>
|
||||
<Name>SyntaxVisitors</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\TreeConverter\TreeConverter.csproj">
|
||||
<Project>{1c9c945a-586d-42a2-a06b-65d84fa7ff78}</Project>
|
||||
<Name>TreeConverter</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
</Project>
|
||||
|
|
@ -1,122 +1,29 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>9.0.30729</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{CFC683F8-0165-4A9F-9C3F-BB8C5BAB507F}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<TargetFramework>net40</TargetFramework>
|
||||
|
||||
<RootNamespace>VisualPascalABCPlugins</RootNamespace>
|
||||
<AssemblyName>PluginsSupport</AssemblyName>
|
||||
<FileUpgradeFlags>
|
||||
</FileUpgradeFlags>
|
||||
<OldToolsVersion>4.0</OldToolsVersion>
|
||||
<UpgradeBackupLocation>
|
||||
</UpgradeBackupLocation>
|
||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||
<TargetFrameworkProfile />
|
||||
<PublishUrl>publish\</PublishUrl>
|
||||
<Install>true</Install>
|
||||
<InstallFrom>Disk</InstallFrom>
|
||||
<UpdateEnabled>false</UpdateEnabled>
|
||||
<UpdateMode>Foreground</UpdateMode>
|
||||
<UpdateInterval>7</UpdateInterval>
|
||||
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
|
||||
<UpdatePeriodically>false</UpdatePeriodically>
|
||||
<UpdateRequired>false</UpdateRequired>
|
||||
<MapFileExtensions>true</MapFileExtensions>
|
||||
<ApplicationRevision>0</ApplicationRevision>
|
||||
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
||||
<IsWebBootstrapper>false</IsWebBootstrapper>
|
||||
<UseApplicationTrust>false</UseApplicationTrust>
|
||||
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
|
||||
<OutputPath>..\bin\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<UseVSHostingProcess>true</UseVSHostingProcess>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>..\bin\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
||||
|
||||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\CompilerTools\CompilerTools.csproj" />
|
||||
<ProjectReference Include="..\Compiler\Compiler.csproj" />
|
||||
<ProjectReference Include="..\Errors\Errors.csproj" />
|
||||
<ProjectReference Include="..\ParserTools\ParserTools.csproj" />
|
||||
<ProjectReference Include="..\SyntaxTree\SyntaxTree.csproj" />
|
||||
<ProjectReference Include="..\TreeConverter\TreeConverter.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Reference Include="ICSharpCode.TextEditor, Version=0.0.0.0, Culture=neutral, PublicKeyToken=4d61825e8dd49f1a, processorArchitecture=MSIL">
|
||||
<HintPath>..\Libraries\ICSharpCode.TextEditor.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Classes.cs" />
|
||||
<Compile Include="Interfaces.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\CompilerTools\CompilerTools.csproj">
|
||||
<Project>{A25D26FB-3043-4BCF-833E-E3F4C3BE795E}</Project>
|
||||
<Name>CompilerTools</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Compiler\Compiler.csproj">
|
||||
<Project>{1e42361a-eda3-4872-88af-a3aaf600d36d}</Project>
|
||||
<Name>Compiler</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Errors\Errors.csproj">
|
||||
<Project>{44A01F9E-DCE7-470C-AAE5-C3DE0CCBEE3B}</Project>
|
||||
<Name>Errors</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\ParserTools\ParserTools.csproj">
|
||||
<Project>{af2efd7b-69dd-4b43-af65-b59b29349c23}</Project>
|
||||
<Name>ParserTools</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\SyntaxTree\SyntaxTree.csproj">
|
||||
<Project>{c2cac65a-b2ae-4ccc-b067-e6b8e75df73a}</Project>
|
||||
<Name>SyntaxTree</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\TreeConverter\TreeConverter.csproj">
|
||||
<Project>{1c9c945a-586d-42a2-a06b-65d84fa7ff78}</Project>
|
||||
<Name>TreeConverter</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>Клиентский профиль .NET Framework 3.5 SP1</ProductName>
|
||||
<Install>false</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>Установщик Windows 3.1</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
</Project>
|
||||
|
|
@ -1,123 +1,27 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>9.0.30729</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{E009E776-9280-4061-B5CA-7F0C3E2D3C2A}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<TargetFramework>net40</TargetFramework>
|
||||
|
||||
<RootNamespace>VisualPascalABCPlugins</RootNamespace>
|
||||
<AssemblyName>PluginsSupportLinux</AssemblyName>
|
||||
<FileUpgradeFlags>
|
||||
</FileUpgradeFlags>
|
||||
<OldToolsVersion>4.0</OldToolsVersion>
|
||||
<UpgradeBackupLocation>
|
||||
</UpgradeBackupLocation>
|
||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||
<TargetFrameworkProfile />
|
||||
<PublishUrl>publish\</PublishUrl>
|
||||
<Install>true</Install>
|
||||
<InstallFrom>Disk</InstallFrom>
|
||||
<UpdateEnabled>false</UpdateEnabled>
|
||||
<UpdateMode>Foreground</UpdateMode>
|
||||
<UpdateInterval>7</UpdateInterval>
|
||||
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
|
||||
<UpdatePeriodically>false</UpdatePeriodically>
|
||||
<UpdateRequired>false</UpdateRequired>
|
||||
<MapFileExtensions>true</MapFileExtensions>
|
||||
<ApplicationRevision>0</ApplicationRevision>
|
||||
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
||||
<IsWebBootstrapper>false</IsWebBootstrapper>
|
||||
<UseApplicationTrust>false</UseApplicationTrust>
|
||||
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
|
||||
<OutputPath>..\bin\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<UseVSHostingProcess>true</UseVSHostingProcess>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>..\bin\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
||||
|
||||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\CompilerTools\CompilerTools.csproj" />
|
||||
<ProjectReference Include="..\Compiler\Compiler.csproj" />
|
||||
<ProjectReference Include="..\Errors\Errors.csproj" />
|
||||
<ProjectReference Include="..\ICSharpCode.TextEditorLinux\ICSharpCode.TextEditorLinux.csproj" />
|
||||
<ProjectReference Include="..\ParserTools\ParserTools.csproj" />
|
||||
<ProjectReference Include="..\SyntaxTree\SyntaxTree.csproj" />
|
||||
<ProjectReference Include="..\TreeConverter\TreeConverter.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Classes.cs" />
|
||||
<Compile Include="Interfaces.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\CompilerTools\CompilerTools.csproj">
|
||||
<Project>{A25D26FB-3043-4BCF-833E-E3F4C3BE795E}</Project>
|
||||
<Name>CompilerTools</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Compiler\Compiler.csproj">
|
||||
<Project>{1e42361a-eda3-4872-88af-a3aaf600d36d}</Project>
|
||||
<Name>Compiler</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Errors\Errors.csproj">
|
||||
<Project>{44A01F9E-DCE7-470C-AAE5-C3DE0CCBEE3B}</Project>
|
||||
<Name>Errors</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\ICSharpCode.TextEditorLinux\ICSharpCode.TextEditorLinux.csproj">
|
||||
<Project>{2d18be89-d210-49eb-a9dd-2246fbb3df6d}</Project>
|
||||
<Name>ICSharpCode.TextEditorLinux</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\ParserTools\ParserTools.csproj">
|
||||
<Project>{af2efd7b-69dd-4b43-af65-b59b29349c23}</Project>
|
||||
<Name>ParserTools</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\SyntaxTree\SyntaxTree.csproj">
|
||||
<Project>{c2cac65a-b2ae-4ccc-b067-e6b8e75df73a}</Project>
|
||||
<Name>SyntaxTree</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\TreeConverter\TreeConverter.csproj">
|
||||
<Project>{1c9c945a-586d-42a2-a06b-65d84fa7ff78}</Project>
|
||||
<Name>TreeConverter</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>Клиентский профиль .NET Framework 3.5 SP1</ProductName>
|
||||
<Install>false</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>Установщик Windows 3.1</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
</Project>
|
||||
|
|
@ -30,6 +30,18 @@
|
|||
File "..\bin\Mono.Cecil.dll"
|
||||
File "..\bin\TeacherControlPlugin.dll"
|
||||
File "..\bin\LambdaAnySynToSemConverter.dll"
|
||||
|
||||
File "..\bin\Microsoft.Bcl.HashCode.dll"
|
||||
File "..\bin\System.Buffers.dll"
|
||||
File "..\bin\System.Collections.Immutable.dll"
|
||||
File "..\bin\System.Formats.Nrbf.dll"
|
||||
File "..\bin\System.Memory.dll"
|
||||
File "..\bin\System.Numerics.Vectors.dll"
|
||||
File "..\bin\System.Reflection.Metadata.dll"
|
||||
File "..\bin\System.Resources.Extensions.dll"
|
||||
File "..\bin\System.Runtime.CompilerServices.Unsafe.dll"
|
||||
File "..\bin\System.ValueTuple.dll"
|
||||
|
||||
;File "libs\System.Core.dll"
|
||||
File "gacutil.exe"
|
||||
File "gacutil.exe.config"
|
||||
|
|
|
|||
|
|
@ -1,149 +1,17 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<ProjectType>Local</ProjectType>
|
||||
<ProductVersion>8.0.50727</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{613E0DDA-AA8A-437C-AC45-507B47429FF9}</ProjectGuid>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ApplicationIcon>
|
||||
</ApplicationIcon>
|
||||
<AssemblyKeyContainerName>
|
||||
</AssemblyKeyContainerName>
|
||||
<AssemblyName>SemanticTree</AssemblyName>
|
||||
<AssemblyOriginatorKeyFile>
|
||||
</AssemblyOriginatorKeyFile>
|
||||
<DefaultClientScript>JScript</DefaultClientScript>
|
||||
<DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout>
|
||||
<DefaultTargetSchema>IE50</DefaultTargetSchema>
|
||||
<DelaySign>false</DelaySign>
|
||||
<OutputType>Library</OutputType>
|
||||
<RootNamespace>SemanticTree</RootNamespace>
|
||||
<RunPostBuildEvent>OnBuildSuccess</RunPostBuildEvent>
|
||||
<StartupObject>
|
||||
</StartupObject>
|
||||
<FileUpgradeFlags>
|
||||
</FileUpgradeFlags>
|
||||
<UpgradeBackupLocation>
|
||||
</UpgradeBackupLocation>
|
||||
<OldToolsVersion>4.0</OldToolsVersion>
|
||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||
<TargetFrameworkProfile />
|
||||
<PublishUrl>publish\</PublishUrl>
|
||||
<Install>true</Install>
|
||||
<InstallFrom>Disk</InstallFrom>
|
||||
<UpdateEnabled>false</UpdateEnabled>
|
||||
<UpdateMode>Foreground</UpdateMode>
|
||||
<UpdateInterval>7</UpdateInterval>
|
||||
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
|
||||
<UpdatePeriodically>false</UpdatePeriodically>
|
||||
<UpdateRequired>false</UpdateRequired>
|
||||
<MapFileExtensions>true</MapFileExtensions>
|
||||
<ApplicationRevision>0</ApplicationRevision>
|
||||
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
||||
<IsWebBootstrapper>false</IsWebBootstrapper>
|
||||
<UseApplicationTrust>false</UseApplicationTrust>
|
||||
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<TargetFramework>net40</TargetFramework>
|
||||
|
||||
<OutputPath>..\bin\</OutputPath>
|
||||
<AllowUnsafeBlocks>false</AllowUnsafeBlocks>
|
||||
<BaseAddress>285212672</BaseAddress>
|
||||
<CheckForOverflowUnderflow>false</CheckForOverflowUnderflow>
|
||||
<ConfigurationOverrideFile>
|
||||
</ConfigurationOverrideFile>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<DocumentationFile>
|
||||
</DocumentationFile>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<FileAlignment>4096</FileAlignment>
|
||||
<NoStdLib>false</NoStdLib>
|
||||
<NoWarn>
|
||||
</NoWarn>
|
||||
<Optimize>false</Optimize>
|
||||
<RegisterForComInterop>false</RegisterForComInterop>
|
||||
<RemoveIntegerChecks>false</RemoveIntegerChecks>
|
||||
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<DebugType>full</DebugType>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<UseVSHostingProcess>true</UseVSHostingProcess>
|
||||
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
||||
|
||||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<OutputPath>..\bin\</OutputPath>
|
||||
<AllowUnsafeBlocks>false</AllowUnsafeBlocks>
|
||||
<BaseAddress>285212672</BaseAddress>
|
||||
<CheckForOverflowUnderflow>false</CheckForOverflowUnderflow>
|
||||
<ConfigurationOverrideFile>
|
||||
</ConfigurationOverrideFile>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<DocumentationFile>
|
||||
</DocumentationFile>
|
||||
<DebugSymbols>false</DebugSymbols>
|
||||
<FileAlignment>4096</FileAlignment>
|
||||
<NoStdLib>false</NoStdLib>
|
||||
<NoWarn>
|
||||
</NoWarn>
|
||||
<Optimize>true</Optimize>
|
||||
<RegisterForComInterop>false</RegisterForComInterop>
|
||||
<RemoveIntegerChecks>false</RemoveIntegerChecks>
|
||||
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<DebugType>none</DebugType>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System">
|
||||
<Name>System</Name>
|
||||
</Reference>
|
||||
<Reference Include="System.Data">
|
||||
<Name>System.Data</Name>
|
||||
</Reference>
|
||||
<Reference Include="System.Numerics" />
|
||||
<Reference Include="System.Xml">
|
||||
<Name>System.XML</Name>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Compile Include="..\Configuration\GlobalAssemblyInfo.cs">
|
||||
<Link>Config\globalassemblyinfo.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="AbstractVisitor.cs">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Config\AssemblyInfo.cs" />
|
||||
<Compile Include="IVisitor.cs">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="SemanticTree.cs">
|
||||
<SubType>Code</SubType>
|
||||
<Link>Config\GlobalAssemblyInfo.cs</Link>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>Клиентский профиль .NET Framework 3.5 SP1</ProductName>
|
||||
<Install>false</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>Установщик Windows 3.1</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
<PropertyGroup>
|
||||
<PreBuildEvent>
|
||||
</PreBuildEvent>
|
||||
<PostBuildEvent>
|
||||
</PostBuildEvent>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
|
|
@ -1,47 +1,11 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{E8AEFBF9-0113-4FA4-BE45-6CDA555498B7}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>StringConstants</RootNamespace>
|
||||
<AssemblyName>StringConstants</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<Deterministic>true</Deterministic>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<TargetFramework>net40</TargetFramework>
|
||||
|
||||
<OutputPath>..\bin\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
||||
|
||||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>..\bin\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="StringConstants.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
</Project>
|
||||
37
Studio.bat
37
Studio.bat
|
|
@ -1,37 +0,0 @@
|
|||
|
||||
|
||||
|
||||
if exist "%ProgramFiles(x86)%\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\msbuild.exe" (
|
||||
"%ProgramFiles(x86)%\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\msbuild.exe" %1 %2 %3 %4
|
||||
|
||||
) else if exist "%ProgramFiles(x86)%\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\Bin\msbuild.exe" (
|
||||
"%ProgramFiles(x86)%\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\Bin\msbuild.exe" %1 %2 %3 %4
|
||||
|
||||
) else if exist "%ProgramFiles(x86)%\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\msbuild.exe" (
|
||||
"%ProgramFiles(x86)%\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\msbuild.exe" %1 %2 %3 %4
|
||||
|
||||
|
||||
|
||||
) else if exist "%ProgramFiles(x86)%\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\msbuild.exe" (
|
||||
"%ProgramFiles(x86)%\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\msbuild.exe" %1 %2 %3 %4
|
||||
|
||||
) else if exist "%ProgramFiles(x86)%\Microsoft Visual Studio\2019\Professional\MSBuild\Current\Bin\msbuild.exe" (
|
||||
"%ProgramFiles(x86)%\Microsoft Visual Studio\2019\Professional\MSBuild\Current\Bin\msbuild.exe" %1 %2 %3 %4
|
||||
|
||||
) else if exist "%ProgramFiles(x86)%\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\msbuild.exe" (
|
||||
"%ProgramFiles(x86)%\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\msbuild.exe" %1 %2 %3 %4
|
||||
|
||||
|
||||
|
||||
rem Если хотите добавить другой путь к Visual Studio, можете записать его в переменную среды MSBUILD_PATH
|
||||
) else if exist "%MSBUILD_PATH%" (
|
||||
"%MSBUILD_PATH%" %1 %2 %3 %4
|
||||
|
||||
|
||||
|
||||
) else (
|
||||
ECHO Visual Studio not found
|
||||
SET ERRORLEVEL=1
|
||||
)
|
||||
|
||||
|
||||
|
|
@ -1,164 +1,24 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<ProjectType>Local</ProjectType>
|
||||
<ProductVersion>9.0.30729</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{C2CAC65A-B2AE-4CCC-B067-E6B8E75DF73A}</ProjectGuid>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ApplicationIcon>
|
||||
</ApplicationIcon>
|
||||
<AssemblyKeyContainerName>
|
||||
</AssemblyKeyContainerName>
|
||||
<AssemblyName>SyntaxTree</AssemblyName>
|
||||
<AssemblyOriginatorKeyFile>
|
||||
</AssemblyOriginatorKeyFile>
|
||||
<DefaultClientScript>JScript</DefaultClientScript>
|
||||
<DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout>
|
||||
<DefaultTargetSchema>IE50</DefaultTargetSchema>
|
||||
<DelaySign>false</DelaySign>
|
||||
<OutputType>Library</OutputType>
|
||||
<RootNamespace>SyntaxTree</RootNamespace>
|
||||
<RunPostBuildEvent>OnBuildSuccess</RunPostBuildEvent>
|
||||
<StartupObject>
|
||||
</StartupObject>
|
||||
<FileUpgradeFlags>
|
||||
</FileUpgradeFlags>
|
||||
<UpgradeBackupLocation>
|
||||
</UpgradeBackupLocation>
|
||||
<OldToolsVersion>4.0</OldToolsVersion>
|
||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||
<TargetFrameworkProfile />
|
||||
<PublishUrl>publish\</PublishUrl>
|
||||
<Install>true</Install>
|
||||
<InstallFrom>Disk</InstallFrom>
|
||||
<UpdateEnabled>false</UpdateEnabled>
|
||||
<UpdateMode>Foreground</UpdateMode>
|
||||
<UpdateInterval>7</UpdateInterval>
|
||||
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
|
||||
<UpdatePeriodically>false</UpdatePeriodically>
|
||||
<UpdateRequired>false</UpdateRequired>
|
||||
<MapFileExtensions>true</MapFileExtensions>
|
||||
<ApplicationRevision>0</ApplicationRevision>
|
||||
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
||||
<IsWebBootstrapper>false</IsWebBootstrapper>
|
||||
<UseApplicationTrust>false</UseApplicationTrust>
|
||||
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<TargetFramework>net40</TargetFramework>
|
||||
|
||||
<OutputPath>..\bin\</OutputPath>
|
||||
<AllowUnsafeBlocks>false</AllowUnsafeBlocks>
|
||||
<BaseAddress>285212672</BaseAddress>
|
||||
<CheckForOverflowUnderflow>false</CheckForOverflowUnderflow>
|
||||
<ConfigurationOverrideFile>
|
||||
</ConfigurationOverrideFile>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<DocumentationFile>
|
||||
</DocumentationFile>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<FileAlignment>4096</FileAlignment>
|
||||
<NoStdLib>false</NoStdLib>
|
||||
<NoWarn>
|
||||
</NoWarn>
|
||||
<Optimize>false</Optimize>
|
||||
<RegisterForComInterop>false</RegisterForComInterop>
|
||||
<RemoveIntegerChecks>false</RemoveIntegerChecks>
|
||||
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<DebugType>full</DebugType>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<UseVSHostingProcess>false</UseVSHostingProcess>
|
||||
<RunCodeAnalysis>false</RunCodeAnalysis>
|
||||
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
||||
|
||||
<EnableDefaultNoneItems>false</EnableDefaultNoneItems>
|
||||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<OutputPath>..\bin\</OutputPath>
|
||||
<AllowUnsafeBlocks>false</AllowUnsafeBlocks>
|
||||
<BaseAddress>285212672</BaseAddress>
|
||||
<CheckForOverflowUnderflow>false</CheckForOverflowUnderflow>
|
||||
<ConfigurationOverrideFile>
|
||||
</ConfigurationOverrideFile>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<DocumentationFile>
|
||||
</DocumentationFile>
|
||||
<DebugSymbols>false</DebugSymbols>
|
||||
<FileAlignment>4096</FileAlignment>
|
||||
<NoStdLib>false</NoStdLib>
|
||||
<NoWarn>
|
||||
</NoWarn>
|
||||
<Optimize>true</Optimize>
|
||||
<RegisterForComInterop>false</RegisterForComInterop>
|
||||
<RemoveIntegerChecks>false</RemoveIntegerChecks>
|
||||
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<DebugType>none</DebugType>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Data">
|
||||
<Name>System.Data</Name>
|
||||
</Reference>
|
||||
<Reference Include="System.Xml">
|
||||
<Name>System.XML</Name>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Compile Include="..\Configuration\GlobalAssemblyInfo.cs">
|
||||
<Link>Config\globalassemblyinfo.cs</Link>
|
||||
<Link>Config\GlobalAssemblyInfo.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="Config\AssemblyInfo.cs" />
|
||||
<Compile Include="tree\FillParentNodeVisitor.cs" />
|
||||
<Compile Include="tree\AbstractVisitor.cs" />
|
||||
<Compile Include="tree\BaseChangeVisitor.cs" />
|
||||
<Compile Include="tree\BaseEnterExitVisitor.cs" />
|
||||
<Compile Include="tree\CollectUpperNodesVisitor.cs" />
|
||||
<Compile Include="tree\TreeHelper.cs" />
|
||||
<Compile Include="tree\LambdaVisitMode.cs" />
|
||||
<Compile Include="tree\NodesBuilder.cs" />
|
||||
<Compile Include="tree\SyntaxTreeStreamReader.cs" />
|
||||
<Compile Include="tree\SyntaxTreeStreamWriter.cs" />
|
||||
<Compile Include="tree\Tree.cs">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="tree\TreeSubsidiary.cs">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="tree\Visitor.cs">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="tree\WalkingVisitorNew.cs" />
|
||||
|
||||
<Compile Remove="tree\HierarchyVisitor.cs" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>Клиентский профиль .NET Framework 3.5 SP1</ProductName>
|
||||
<Install>false</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>Установщик Windows 3.1</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
<ProjectReference Include="..\StringConstants\StringConstants.csproj" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\StringConstants\StringConstants.csproj">
|
||||
<Project>{e8aefbf9-0113-4fa4-be45-6cda555498b7}</Project>
|
||||
<Name>StringConstants</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
<PropertyGroup>
|
||||
<PreBuildEvent>
|
||||
</PreBuildEvent>
|
||||
<PostBuildEvent>
|
||||
</PostBuildEvent>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
|
|
@ -1,71 +1,21 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{F10A5330-DCF4-4533-877C-7B1B1BE23884}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<TargetFramework>net40</TargetFramework>
|
||||
|
||||
<RootNamespace>Languages.Pascal.Frontend.Converters</RootNamespace>
|
||||
<AssemblyName>SyntaxTreeConverters</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
|
||||
<OutputPath>..\bin\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<UseVSHostingProcess>true</UseVSHostingProcess>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>..\bin\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
||||
|
||||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core" />
|
||||
<ProjectReference Include="..\Errors\Errors.csproj" />
|
||||
<ProjectReference Include="..\Localization\Localization.csproj" />
|
||||
<ProjectReference Include="..\SyntaxTree\SyntaxTree.csproj" />
|
||||
<ProjectReference Include="..\SyntaxVisitors\SyntaxVisitors.csproj" />
|
||||
<ProjectReference Include="..\TreeConverter\TreeConverter.csproj" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="StandardSyntaxConverter.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\Errors\Errors.csproj">
|
||||
<Project>{44a01f9e-dce7-470c-aae5-c3de0ccbee3b}</Project>
|
||||
<Name>Errors</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Localization\Localization.csproj">
|
||||
<Project>{2de2842f-0912-4251-bc0f-480854c44a13}</Project>
|
||||
<Name>Localization</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\SyntaxTree\SyntaxTree.csproj">
|
||||
<Project>{c2cac65a-b2ae-4ccc-b067-e6b8e75df73a}</Project>
|
||||
<Name>SyntaxTree</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\SyntaxVisitors\SyntaxVisitors.csproj">
|
||||
<Project>{a9ab4282-83b4-41a7-86c3-e5bf6a45e7e2}</Project>
|
||||
<Name>SyntaxVisitors</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\TreeConverter\TreeConverter.csproj">
|
||||
<Project>{1c9c945a-586d-42a2-a06b-65d84fa7ff78}</Project>
|
||||
<Name>TreeConverter</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
</Project>
|
||||
|
|
@ -1,148 +1,19 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{A9AB4282-83B4-41A7-86C3-E5BF6A45E7E2}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>SyntaxVisitors</RootNamespace>
|
||||
<AssemblyName>SyntaxVisitors</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<TargetFrameworkProfile />
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<TargetFramework>net40</TargetFramework>
|
||||
|
||||
<OutputPath>..\bin\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<UseVSHostingProcess>true</UseVSHostingProcess>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<StartupObject />
|
||||
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
||||
|
||||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Xml" />
|
||||
<ProjectReference Include="..\Errors\Errors.csproj" />
|
||||
<ProjectReference Include="..\Localization\Localization.csproj" />
|
||||
<ProjectReference Include="..\SyntaxTree\SyntaxTree.csproj" />
|
||||
<ProjectReference Include="..\Yield\YieldHelpers\YieldHelpers.csproj" />
|
||||
<ProjectReference Include="..\ParserTools\ParserTools.csproj" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="AllVarsInProcYieldsProba.cs" />
|
||||
<Compile Include="BaseSyntaxTreeConverter.cs" />
|
||||
<Compile Include="BaseVisitors\CollectNamespaces.cs" />
|
||||
<Compile Include="BaseVisitors\HasStatementVisitor.cs" />
|
||||
<Compile Include="ISyntaxTreeConverter.cs" />
|
||||
<Compile Include="LightSymInfoVisitors\BindCollectLightSymInfo.cs" />
|
||||
<Compile Include="LightSymInfoVisitors\CollectFullLightSymInfoVisitor.cs" />
|
||||
<Compile Include="LightSymInfoVisitors\CollectLightSymInfoVisitor.cs" />
|
||||
<Compile Include="LightSymInfoVisitors\LightScopeCreator.cs" />
|
||||
<Compile Include="LightSymInfoVisitors\LightScopeHelperClasses.cs" />
|
||||
<Compile Include="SugarVisitors\AssignTuplesDesugarVisitor\desugarAlgoritm\Assign.cs" />
|
||||
<Compile Include="SugarVisitors\AssignTuplesDesugarVisitor\desugarAlgoritm\AssignGraph.cs" />
|
||||
<Compile Include="SugarVisitors\AssignTuplesDesugarVisitor\desugarAlgoritm\Cycle.cs" />
|
||||
<Compile Include="SugarVisitors\AssignTuplesDesugarVisitor\desugarAlgoritm\Edge.cs" />
|
||||
<Compile Include="SugarVisitors\AssignTuplesDesugarVisitor\desugarAlgoritm\GraphUtils.cs" />
|
||||
<Compile Include="SugarVisitors\AssignTuplesDesugarVisitor\desugarAlgoritm\Symbol.cs" />
|
||||
<Compile Include="SugarVisitors\AssignTuplesDesugarVisitor\desugarAlgoritm\SymbolNode.cs" />
|
||||
<Compile Include="SugarVisitors\AssignTuplesDesugarVisitor\NewAssignTuplesDesugarVisitor.cs" />
|
||||
<Compile Include="SugarVisitors\CacheFunctionVisitor.cs" />
|
||||
<Compile Include="SugarVisitors\ToExprVisitor.cs" />
|
||||
<Compile Include="SugarVisitors\LetExprVisitor.cs" />
|
||||
<Compile Include="SugarVisitors\TestAssignIsDefVisitor.cs" />
|
||||
<Compile Include="SugarVisitors\UnpackLambdaParametersVisitor.cs" />
|
||||
<Compile Include="TeacherControl\TeacherControl.cs" />
|
||||
<Compile Include="UniversalVisitors\ABCStatisticsVisitors.cs" />
|
||||
<Compile Include="BaseVisitors\SmallHelperVisitors.cs" />
|
||||
<Compile Include="ChangeWhileVisitor.cs" />
|
||||
<Compile Include="CheckingVisitors\UnnamedRecordsCheckErrorsVisitor.cs" />
|
||||
<Compile Include="PatternsVisitors\ExtendedIsDesugaringVisitor.cs" />
|
||||
<Compile Include="PatternsVisitors\PatternsDesugaringVisitor.cs" />
|
||||
<Compile Include="PatternsVisitors\ReplaceNamesInIsVarVisitor.cs" />
|
||||
<Compile Include="PatternsVisitors\SingleDeconstructChecker.cs" />
|
||||
<Compile Include="SugarVisitors\AssignTuplesDesugarVisitor\AssignTuplesDesugarVisitor.cs" />
|
||||
<Compile Include="SugarVisitors\DoubleQuestionDesugarVisitor.cs" />
|
||||
<Compile Include="SugarVisitors\IndexVisitor.cs" />
|
||||
<Compile Include="SugarVisitors\LoopDesugarVisitor.cs" />
|
||||
<Compile Include="SugarVisitors\PropertyDesugarVisitor.cs" />
|
||||
<Compile Include="SugarVisitors\QuestionPointDesugarVisitor.cs" />
|
||||
<Compile Include="SugarVisitors\NewRangeDesugarVisitor.cs" />
|
||||
<Compile Include="SugarVisitors\SliceDesugarVisitor.cs" />
|
||||
<Compile Include="SugarVisitors\TupleVisitor.cs" />
|
||||
<Compile Include="VisitorsForLambdas\RenameOnExceptVarsVisitor.cs" />
|
||||
<Compile Include="VisitorsForLambdas\RenameSameVarNamesVisitor.cs" />
|
||||
<Compile Include="VisitorsForLambdas\StandOutExprWithLambdaInForeachSequenceVisitor.cs" />
|
||||
<Compile Include="YieldVisitors\CapturedLambdaInYieldVisitor.cs" />
|
||||
<Compile Include="YieldVisitors\ObjectCopier\ObjectCopier.cs" />
|
||||
<Compile Include="Optimization\CalcConstExprs.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="SyntaxTreeVisitorsErrors.cs" />
|
||||
<Compile Include="UniversalVisitors\AddBeginEndsVisitor.cs" />
|
||||
<Compile Include="UniversalVisitors\CountNodesVisitor.cs" />
|
||||
<Compile Include="UniversalVisitors\DeleteRedundantBeginEnds.cs" />
|
||||
<Compile Include="UniversalVisitors\SimplePrettyPrinterVisitor.cs" />
|
||||
<Compile Include="YieldVisitors\CheckVariablesRedefenitionVisitor.cs" />
|
||||
<Compile Include="YieldVisitors\CollectClassMethodsVisitor.cs" />
|
||||
<Compile Include="YieldVisitors\CollectClassPropertiesVisitor.cs" />
|
||||
<Compile Include="YieldVisitors\CollectUnitGlobalsVisitor.cs" />
|
||||
<Compile Include="YieldVisitors\DeleteAllLocalDefs.cs" />
|
||||
<Compile Include="YieldVisitors\DeleteLocalDefs.cs" />
|
||||
<Compile Include="YieldVisitors\CollectClassFieldsVisitor.cs" />
|
||||
<Compile Include="YieldVisitors\LoweringVisitor.cs" />
|
||||
<Compile Include="YieldVisitors\LocalVariablesTypeDetectorHelperVisior.cs" />
|
||||
<Compile Include="YieldVisitors\LoweringYieldSequenceVisitor.cs" />
|
||||
<Compile Include="YieldVisitors\MarkMethodHasYieldVisitor.cs" />
|
||||
<Compile Include="YieldVisitors\ProcessYieldsCapturedVars.cs" />
|
||||
<Compile Include="YieldVisitors\RenameSameBlockLocalVarsVisitor.cs" />
|
||||
<Compile Include="YieldVisitors\ReplaceBreakContinueWithGotoLabelVisitor.cs" />
|
||||
<Compile Include="YieldVisitors\ReplaceCapturedVariablesVisitor.cs" />
|
||||
<Compile Include="YieldVisitors\ReplaceFormalParametersRefsVisitor.cs" />
|
||||
<Compile Include="YieldVisitors\ReplaceVariableNameVisitor.cs" />
|
||||
<Compile Include="YieldVisitors\ReplaceYieldWithLamdasVisitor.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\Errors\Errors.csproj">
|
||||
<Project>{44a01f9e-dce7-470c-aae5-c3de0ccbee3b}</Project>
|
||||
<Name>Errors</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Localization\Localization.csproj">
|
||||
<Project>{2de2842f-0912-4251-bc0f-480854c44a13}</Project>
|
||||
<Name>Localization</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\ParserTools\ParserTools.csproj">
|
||||
<Project>{af2efd7b-69dd-4b43-af65-b59b29349c23}</Project>
|
||||
<Name>ParserTools</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\SyntaxTree\SyntaxTree.csproj">
|
||||
<Project>{c2cac65a-b2ae-4ccc-b067-e6b8e75df73a}</Project>
|
||||
<Name>SyntaxTree</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Yield\YieldHelpers\YieldHelpers.csproj">
|
||||
<Project>{ce5c55c2-a11c-4e94-a9fa-3fc6ca3e4c09}</Project>
|
||||
<Name>YieldHelpers</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup />
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
</Project>
|
||||
|
|
@ -1,150 +0,0 @@
|
|||
// Copyright (c) Ivan Bondarev, Stanislav Mikhalkovich (for details please see \doc\copyright.txt)
|
||||
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
using PascalABCCompiler;
|
||||
using PascalABCCompiler.SyntaxTree;
|
||||
|
||||
namespace SyntaxVisitors
|
||||
{
|
||||
public class JustTestVisitor : BaseChangeVisitor
|
||||
{
|
||||
private void CollectFormalParams(procedure_definition pd, ISet<var_def_statement> collectedFormalParams)
|
||||
{
|
||||
if ((object)pd.proc_header.parameters != null)
|
||||
collectedFormalParams.UnionWith(pd.proc_header.parameters.params_list.Select(tp => new var_def_statement(tp.idents, tp.vars_type)));
|
||||
}
|
||||
|
||||
private void CollectFormalParamsNames(procedure_definition pd, ISet<string> collectedFormalParamsNames)
|
||||
{
|
||||
if ((object)pd.proc_header.parameters != null)
|
||||
collectedFormalParamsNames.UnionWith(pd.proc_header.parameters.params_list.SelectMany(tp => tp.idents.idents).Select(id => id.name));
|
||||
}
|
||||
|
||||
private void CollectClassFieldsNames(procedure_definition pd, ISet<string> collectedFields, out bool isInClassMethod)
|
||||
{
|
||||
isInClassMethod = false;
|
||||
|
||||
ident className = null;
|
||||
if ((object)pd.proc_header.name.class_name != null)
|
||||
{
|
||||
// Объявление вне класса его метода
|
||||
className = pd.proc_header.name.class_name;
|
||||
}
|
||||
else
|
||||
{
|
||||
// Объявление функции в классе?
|
||||
var classDef = UpperNode(3) as class_definition;
|
||||
if ((object)(UpperNode(3) as class_definition) != null)
|
||||
{
|
||||
var td = UpperNode(4) as type_declaration;
|
||||
if ((object)td != null)
|
||||
{
|
||||
className = td.type_name;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if ((object)className != null)
|
||||
{
|
||||
isInClassMethod = true;
|
||||
|
||||
CollectClassFieldsVisitor fieldsVis = new CollectClassFieldsVisitor(className);
|
||||
var cu = UpperTo<compilation_unit>();
|
||||
if ((object)cu != null)
|
||||
{
|
||||
cu.visit(fieldsVis);
|
||||
// Collect
|
||||
collectedFields.UnionWith(fieldsVis.CollectedFields.Select(id => id.name));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void CollectUnitGlobalsNames(procedure_definition pd, ISet<string> collectedUnitGlobalsName)
|
||||
{
|
||||
var cu = UpperTo<compilation_unit>();
|
||||
if ((object)cu != null)
|
||||
{
|
||||
var ugVis = new CollectUnitGlobalsVisitor();
|
||||
cu.visit(ugVis);
|
||||
// Collect
|
||||
collectedUnitGlobalsName.UnionWith(ugVis.CollectedGlobals.Select(id => id.name));
|
||||
}
|
||||
}
|
||||
|
||||
private void CreateCapturedLocalsNamesMap(ISet<string> localsNames, IDictionary<string, string> capturedLocalsNamesMap)
|
||||
{
|
||||
foreach (var localName in localsNames)
|
||||
{
|
||||
capturedLocalsNamesMap.Add(localName, CapturedNamesHelper.MakeCapturedLocalName(localName));
|
||||
}
|
||||
}
|
||||
|
||||
private void CreateCapturedFormalParamsNamesMap(ISet<string> formalParamsNames, IDictionary<string, string> captueedFormalParamsNamesMap)
|
||||
{
|
||||
foreach (var formalParamName in formalParamsNames)
|
||||
{
|
||||
captueedFormalParamsNamesMap.Add(formalParamName, CapturedNamesHelper.MakeCapturedFormalParameterName(formalParamName));
|
||||
}
|
||||
}
|
||||
|
||||
public override void visit(procedure_definition pd)
|
||||
{
|
||||
// frninja
|
||||
|
||||
// Classification
|
||||
ISet<string> CollectedLocalsNames = new HashSet<string>();
|
||||
ISet<string> CollectedFormalParamsNames = new HashSet<string>();
|
||||
ISet<string> CollectedClassFieldsNames = new HashSet<string>();
|
||||
ISet<string> CollectedUnitGlobalsNames = new HashSet<string>();
|
||||
|
||||
ISet<var_def_statement> CollectedLocals = new HashSet<var_def_statement>();
|
||||
ISet<var_def_statement> CollectedFormalParams = new HashSet<var_def_statement>();
|
||||
|
||||
// Map from ident idName -> captured ident idName
|
||||
IDictionary<string, string> CapturedLocalsNamesMap = new Dictionary<string, string>();
|
||||
IDictionary<string, string> CapturedFormalParamsNamesMap = new Dictionary<string, string>();
|
||||
|
||||
var dld = new DeleteAllLocalDefs(); // mids.vars - все захваченные переменные
|
||||
pd.visit(dld); // Удалить в локальных и блочных описаниях этой процедуры все переменные и вынести их в отдельный список var_def_statement
|
||||
|
||||
// frninja 08/12/15
|
||||
bool isInClassMethod;
|
||||
|
||||
// Collect locals
|
||||
CollectedLocals.UnionWith(dld.LocalDeletedDefs);
|
||||
CollectedLocalsNames.UnionWith(dld.LocalDeletedDefs.SelectMany(vds => vds.vars.idents).Select(id => id.name));
|
||||
// Collect formal params
|
||||
CollectFormalParams(pd, CollectedFormalParams);
|
||||
CollectFormalParamsNames(pd, CollectedFormalParamsNames);
|
||||
// Collect class fields
|
||||
CollectClassFieldsNames(pd, CollectedClassFieldsNames, out isInClassMethod);
|
||||
|
||||
// Collect unit globals
|
||||
CollectUnitGlobalsNames(pd, CollectedUnitGlobalsNames);
|
||||
|
||||
// Create maps :: idName -> captureName
|
||||
CreateCapturedLocalsNamesMap(CollectedLocalsNames, CapturedLocalsNamesMap);
|
||||
CreateCapturedFormalParamsNamesMap(CollectedFormalParamsNames, CapturedFormalParamsNamesMap);
|
||||
|
||||
// AHAHA test!
|
||||
ReplaceCapturedVariablesVisitor rcapVis = new ReplaceCapturedVariablesVisitor(
|
||||
CollectedLocalsNames,
|
||||
CollectedFormalParamsNames,
|
||||
CollectedClassFieldsNames,
|
||||
new HashSet<string>(),
|
||||
new HashSet<string>(),
|
||||
CollectedUnitGlobalsNames,
|
||||
CapturedLocalsNamesMap,
|
||||
CapturedFormalParamsNamesMap,
|
||||
isInClassMethod
|
||||
);
|
||||
// Replace
|
||||
(pd.proc_body as block).program_code.visit(rcapVis);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,181 +0,0 @@
|
|||
// Copyright (c) Ivan Bondarev, Stanislav Mikhalkovich (for details please see \doc\copyright.txt)
|
||||
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using PascalABCCompiler.SyntaxTree;
|
||||
|
||||
namespace PascalABCCompiler.SyntaxTreeConverters
|
||||
{
|
||||
|
||||
// Первое предназначение - вынести последовательность из заголовка в foreach до foreach как отдельное присваивание
|
||||
// Второе предназначение - переименовать все переменные, совпадающие по имени с типом T обобщенного класса, в котором находится метод, содержащий лямбду
|
||||
public class VarNamesInMethodsWithSameNameAsClassGenericParamsReplacer: CollectLightSymInfoVisitor
|
||||
{
|
||||
/// <summary>
|
||||
/// Надо приводить к нижнему регистру
|
||||
/// </summary>
|
||||
//public List<string> NamesForReplace = new List<string>();
|
||||
|
||||
private int LambdaNestedLevel = 0;
|
||||
|
||||
Dictionary<string, ScopeSyntax> d = new Dictionary<string, ScopeSyntax>(); // словарь скоупов для каждого имени
|
||||
// При входе в обобщенный класс или запись мы в словарь добавляем все его обобщенные параметры со значением nil
|
||||
// При выходе из класса мы очищаем словарь
|
||||
// При встрече описания переменной с именем, совпадающим с одним из ключей в словаре, мы заменяем значение null на пространство имен, в котором мы находимся
|
||||
// Описание переменной в словарь добавляется только если она описана в методе, но вне лямбды, поскольку в лямбде конфликтов имен нет
|
||||
// При выходе из пространства имен мы проверяем, есть ли в словаре такое значение, и если да, очищаем его, присваивая null
|
||||
// Переименовывать будем все имена name если ключ name есть в словаре и d[name] != null
|
||||
public static new VarNamesInMethodsWithSameNameAsClassGenericParamsReplacer New
|
||||
{
|
||||
get => new VarNamesInMethodsWithSameNameAsClassGenericParamsReplacer();
|
||||
}
|
||||
public override void AddSymbol(ident name, SymKind kind, type_definition td = null, Attributes attr = 0)
|
||||
{
|
||||
if (name == null || name.name == null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
var n = name.name.ToLower();
|
||||
//if (LambdaNestedLevel > 0) // т.е. впервые встретилось переопределение именно в лямбде, тогда пропускать эту лямбду
|
||||
// return;
|
||||
if (d.ContainsKey(n) && d[n] == null && (kind == SymKind.var || kind == SymKind.param)) // Добавляем не все, а только разыскиваемые и только если это - переменная
|
||||
{
|
||||
d[n] = this.Current;
|
||||
base.AddSymbol(name, kind, td, attr);
|
||||
}
|
||||
}
|
||||
public override void Enter(syntax_tree_node st)
|
||||
{
|
||||
base.Enter(st);
|
||||
if (st is function_lambda_definition)
|
||||
LambdaNestedLevel += 1;
|
||||
else if (st is class_definition cl)
|
||||
{
|
||||
var td = cl.Parent as type_declaration;
|
||||
if (td?.type_name is template_type_name ttn)
|
||||
{
|
||||
foreach (var id in ttn.template_args.idents)
|
||||
{
|
||||
d[id.name.ToLower()] = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (st is procedure_definition pd)
|
||||
{
|
||||
var cn = pd.proc_header.name?.class_name;
|
||||
if (cn is template_type_name ttn)
|
||||
{
|
||||
foreach (var id in ttn.template_args.idents)
|
||||
{
|
||||
d[id.name.ToLower()] = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
public override void PreExitScope(syntax_tree_node st)
|
||||
{
|
||||
var l = d.Keys.Where(k => d[k] == Current).ToList();
|
||||
// Обходим все словари и смотрим у них вершину стеков
|
||||
foreach (var k in l)
|
||||
{
|
||||
d[k] = null; // т.е. в этом пространстве имен мы захватили одноименное описание переменной - освобождаем его
|
||||
}
|
||||
}
|
||||
public override void Exit(syntax_tree_node st)
|
||||
{
|
||||
if (st is function_lambda_definition)
|
||||
LambdaNestedLevel -= 1;
|
||||
else if (st is class_definition) // то мы не ищем переопределение имен, поскольку мы вышли из класса
|
||||
{
|
||||
d.Clear();
|
||||
}
|
||||
else if (st is procedure_definition pd) // мы вышли из метода вида t1<t>.p
|
||||
{
|
||||
var cn = pd.proc_header.name?.class_name;
|
||||
if (cn is template_type_name ttn)
|
||||
d.Clear();
|
||||
}
|
||||
base.Exit(st);
|
||||
}
|
||||
|
||||
public override void visit(template_type_name tn)
|
||||
{
|
||||
// игнорировать чтобы там ничего не переименовывалось
|
||||
}
|
||||
public override void visit(ident id)
|
||||
{
|
||||
ReplaceNameOrNot(id);
|
||||
}
|
||||
public override void visit(dot_node dn)
|
||||
{
|
||||
if (dn.left is ident id)
|
||||
ReplaceNameOrNot(id);
|
||||
else ProcessNode(dn.left);
|
||||
}
|
||||
|
||||
public static int ReplaceNum = 0;
|
||||
public void ReplaceNameOrNot(ident id)
|
||||
{
|
||||
var n = id.name.ToLower();
|
||||
if (d.ContainsKey(n) && d[n] != null) // Переименовываем без страха
|
||||
{
|
||||
id.name = id.name + "$Replace$" + ReplaceNum; // имя такое чтобы при выдаче сообщения об ошибке в нем можно было бы обрезать конец
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Может, переименовать все T? Всё равно алгоритм переименовывания будет один
|
||||
// Искать описания с T. Как нашли - с этого места переименовывать
|
||||
// Сделать визитор LocalRenamer и переименовывать с места описания
|
||||
|
||||
/*public class LocalRenamer : BaseChangeVisitor
|
||||
{
|
||||
|
||||
public static void RenameFrom(var_def_statement vd, string Name, string NewName)
|
||||
{
|
||||
var lr = new LocalRenamer();
|
||||
lr.ProcessNode(vd);
|
||||
}
|
||||
}*/
|
||||
|
||||
|
||||
// Поиск всех захваченных переменных в лямбде
|
||||
// Это сложно
|
||||
/*public class LambdaCapturedNamesSearcher : BaseChangeVisitor
|
||||
{
|
||||
List<ident> idents = new List<ident>();
|
||||
public static LambdaCapturedNamesSearcher New
|
||||
{
|
||||
get
|
||||
{
|
||||
return new LambdaCapturedNamesSearcher();
|
||||
}
|
||||
}
|
||||
public override void visit(ident id)
|
||||
{
|
||||
// хорошо бы всё здесь захватить! Но вдруг это - описание...
|
||||
}
|
||||
public override void visit(dot_node dn)
|
||||
{
|
||||
// это точно надо захватывать
|
||||
}
|
||||
|
||||
public override void visit(var_def_statement vds)
|
||||
{
|
||||
// имена обойти отдельно, инициализатор - отдельно
|
||||
foreach (var id in vds.vars.idents)
|
||||
{
|
||||
// Надо проверять совпадение имен с именами в параметрах обобщения
|
||||
// если не совпадают, то просто пропускаем
|
||||
// если совпадают, то исключаем это имя из списка проверки! Всё - имя уже переопределено! И это произошло в лямбде, что можно
|
||||
}
|
||||
visit(vds.inital_value);
|
||||
}
|
||||
public override void visit(function_lambda_definition ld)
|
||||
{
|
||||
// параметры обойти отдельно, тело отдельно
|
||||
// проблема, что могут быть вложенные лямбды. Т.е это - основная, а в ней - ещё.
|
||||
}
|
||||
}*/
|
||||
}
|
||||
|
|
@ -1,43 +0,0 @@
|
|||
using System;
|
||||
|
||||
using PascalABCCompiler.TreeConverter;
|
||||
|
||||
namespace PascalABCCompiler.Collections
|
||||
{
|
||||
|
||||
public class returner<T,ST> where ST : SyntaxTree.tree_node
|
||||
{
|
||||
private stack<T> internal_stack = new stack<T>();
|
||||
private syntax_tree_visitor stg;
|
||||
|
||||
public returner(syntax_tree_visitor _stg)
|
||||
{
|
||||
this.stg = _stg;
|
||||
}
|
||||
|
||||
public T visit(ST value)
|
||||
{
|
||||
#if (DEBUG)
|
||||
int stack_size = internal_stack.size;
|
||||
#endif
|
||||
|
||||
value.visit(stg);
|
||||
|
||||
#if (DEBUG)
|
||||
if (internal_stack.size != stack_size + 1)
|
||||
{
|
||||
throw new InvalidStackState();
|
||||
}
|
||||
#endif
|
||||
|
||||
T en = internal_stack.pop();
|
||||
return en;
|
||||
}
|
||||
|
||||
public void return_value(T value)
|
||||
{
|
||||
internal_stack.push(value);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -1,379 +0,0 @@
|
|||
|
||||
using System;
|
||||
using System.Collections;
|
||||
|
||||
namespace TreeConverter
|
||||
{
|
||||
public abstract class scope : base_scope
|
||||
{
|
||||
private Hashtable ht=new Hashtable();
|
||||
|
||||
public string name_to_symtab(string name)
|
||||
{
|
||||
return name.ToLower();
|
||||
}
|
||||
|
||||
public void add_name(string name,SymbolInfo si)
|
||||
{
|
||||
name=name_to_symtab(name);
|
||||
object o=ht[name];
|
||||
if (o==null)
|
||||
{
|
||||
SymbolInfoArrayList syal=new SymbolInfoArrayList();
|
||||
syal.Add(si);
|
||||
ht[name]=syal;
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
/*if (si.symbol_kind==symbol_kind.sk_none)
|
||||
{
|
||||
throw new CompilerInternalError("Duplicate name definition");
|
||||
}*/
|
||||
SymbolInfoArrayList syal1=(SymbolInfoArrayList)o;
|
||||
syal1.Add(si);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
public virtual SymbolInfo find_only_in_namespace(string name)
|
||||
{
|
||||
name=name_to_symtab(name);
|
||||
object o=ht[name];
|
||||
if (o==null)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
SymbolInfoArrayList syal=(SymbolInfoArrayList)o;
|
||||
int i=1;
|
||||
while(i<syal.Count)
|
||||
{
|
||||
syal[i-1].Next=syal[i];
|
||||
i++;
|
||||
}
|
||||
syal[i-1].Next=null;
|
||||
return syal[0];
|
||||
}
|
||||
|
||||
public static SymbolInfo split_lists(SymbolInfo si_left,SymbolInfo si_right)
|
||||
{
|
||||
if (si_left==null)
|
||||
{
|
||||
return si_right;
|
||||
}
|
||||
if (si_right==null)
|
||||
{
|
||||
return si_left;
|
||||
}
|
||||
SymbolInfo si=si_left;
|
||||
while(si.Next!=null)
|
||||
{
|
||||
si=si.Next;
|
||||
}
|
||||
si.Next=si_right;
|
||||
return si_left;
|
||||
}
|
||||
|
||||
//ВНИМАНИЕ. В этом методе, поиск в another_scopes производится в том порядке, в котором они передаются.
|
||||
//И в выходном списке эти узлы будут в соответствующем порядке.
|
||||
//Преобразователь дерева простматривая этот список, и встретив два абсолютно одинаковых метода
|
||||
//выкинет из списка, встреченный последним.
|
||||
//Т.е. если первое из another_namespace - пространство имен класса,
|
||||
//а второе - пространство имен, в котором объявлен метод, то найденные в классе методы будут
|
||||
//расположены в списке раньше, чем найденные в пространстве имен.
|
||||
//Таким образом если и в классе и в пространстве имен, окружающем метод, есть два перегруженных
|
||||
//метода с одинаковым списком параметров, то метод в пространстве имен, окружающем метод,
|
||||
//будет проигнорирован.
|
||||
public SymbolInfo find_and_split(string name,bool brake_if_find,params base_scope[] another_scopes)
|
||||
{
|
||||
SymbolInfo si_first=this.find_only_in_namespace(name);
|
||||
if (si_first!=null)
|
||||
{
|
||||
if ((brake_if_find)||(si_first.symbol_kind==symbol_kind.sk_none))
|
||||
{
|
||||
return si_first;
|
||||
}
|
||||
}
|
||||
name=name_to_symtab(name);
|
||||
foreach(scope sc in another_scopes)
|
||||
{
|
||||
if (sc==null)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
SymbolInfo si_second=sc.find(name);
|
||||
if (si_second==null)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
if (si_first==null)
|
||||
{
|
||||
if ((brake_if_find)||(si_second.symbol_kind==symbol_kind.sk_none))
|
||||
{
|
||||
return si_second;
|
||||
}
|
||||
si_first=si_second;
|
||||
continue;
|
||||
}
|
||||
if (si_second.symbol_kind==symbol_kind.sk_none)
|
||||
{
|
||||
break;
|
||||
}
|
||||
si_first=split_lists(si_first,si_second);
|
||||
}
|
||||
return si_first;
|
||||
}
|
||||
|
||||
public SymbolInfo find_in_all_and_split(string name,params base_scope[] another_scopes)
|
||||
{
|
||||
return find_and_split(name,false,another_scopes);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public class function_scope : scope
|
||||
{
|
||||
private base_scope _up_scope;
|
||||
|
||||
public function_scope(base_scope up_scope)
|
||||
{
|
||||
_up_scope=up_scope;
|
||||
}
|
||||
|
||||
public override SymbolInfo find(string name)
|
||||
{
|
||||
return find_in_all_and_split(name,_up_scope);
|
||||
}
|
||||
|
||||
public override base_scope top_scope
|
||||
{
|
||||
get
|
||||
{
|
||||
return _up_scope;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public class type_scope : scope
|
||||
{
|
||||
private base_scope _base_type_scope;
|
||||
private base_scope _comprehensive_scope;
|
||||
|
||||
public type_scope(base_scope base_type_scope,base_scope comprehensive_scope)
|
||||
{
|
||||
_base_type_scope=base_type_scope;
|
||||
_comprehensive_scope=comprehensive_scope;
|
||||
}
|
||||
|
||||
public override SymbolInfo find(string name)
|
||||
{
|
||||
return find_in_all_and_split(name,_base_type_scope,_comprehensive_scope);
|
||||
}
|
||||
|
||||
public SymbolInfo find_in_type(string name)
|
||||
{
|
||||
return find_in_all_and_split(name,_base_type_scope);
|
||||
}
|
||||
|
||||
public base_scope comprehensive_scope
|
||||
{
|
||||
get
|
||||
{
|
||||
return _comprehensive_scope;
|
||||
}
|
||||
set
|
||||
{
|
||||
_comprehensive_scope=value;
|
||||
}
|
||||
}
|
||||
|
||||
public base_scope base_type_scope
|
||||
{
|
||||
get
|
||||
{
|
||||
return _base_type_scope;
|
||||
}
|
||||
set
|
||||
{
|
||||
_base_type_scope=value;
|
||||
}
|
||||
}
|
||||
|
||||
public override base_scope top_scope
|
||||
{
|
||||
get
|
||||
{
|
||||
return _base_type_scope;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public class namespace_scope : scope
|
||||
{
|
||||
private base_scope _up_scope;
|
||||
|
||||
public namespace_scope(base_scope up_scope)
|
||||
{
|
||||
_up_scope=up_scope;
|
||||
}
|
||||
|
||||
public override SymbolInfo find(string name)
|
||||
{
|
||||
return find_in_all_and_split(name,_up_scope);
|
||||
}
|
||||
|
||||
public override base_scope top_scope
|
||||
{
|
||||
get
|
||||
{
|
||||
return _up_scope;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public class interface_scope : scope
|
||||
{
|
||||
private base_scope[] _used_units_scopes;
|
||||
|
||||
public interface_scope(base_scope[] used_units_scopes)
|
||||
{
|
||||
_used_units_scopes=new base_scope[used_units_scopes.Length];
|
||||
for(int i=0;i<used_units_scopes.Length;i++)
|
||||
{
|
||||
_used_units_scopes[used_units_scopes.Length-i-1]=used_units_scopes[i];
|
||||
}
|
||||
}
|
||||
|
||||
public override SymbolInfo find(string name)
|
||||
{
|
||||
return find_in_all_and_split(name,_used_units_scopes);
|
||||
}
|
||||
|
||||
public override base_scope top_scope
|
||||
{
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public class implementation_scope : scope
|
||||
{
|
||||
private base_scope[] _used_units_scopes;
|
||||
private interface_scope _iscope;
|
||||
|
||||
public implementation_scope(interface_scope iscope,base_scope[] used_units_scopes)
|
||||
{
|
||||
_iscope=iscope;
|
||||
_used_units_scopes=new base_scope[used_units_scopes.Length+1];
|
||||
_used_units_scopes[0]=iscope;
|
||||
for(int i=0;i<used_units_scopes.Length;i++)
|
||||
{
|
||||
_used_units_scopes[used_units_scopes.Length-i]=used_units_scopes[i];
|
||||
}
|
||||
}
|
||||
|
||||
public override SymbolInfo find(string name)
|
||||
{
|
||||
return find_in_all_and_split(name,_used_units_scopes);
|
||||
}
|
||||
|
||||
public override SymbolInfo find_only_in_namespace(string name)
|
||||
{
|
||||
if (_used_units_scopes[0]==null)
|
||||
{
|
||||
return base.find_only_in_namespace(name);
|
||||
}
|
||||
return split_lists(base.find_only_in_namespace(name),_iscope.find_only_in_namespace(name));
|
||||
}
|
||||
|
||||
public override base_scope top_scope
|
||||
{
|
||||
get
|
||||
{
|
||||
return _used_units_scopes[0];
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public class method_scope : scope
|
||||
{
|
||||
private base_scope _type_scope;
|
||||
private base_scope _comprehensive_namespace_scope;
|
||||
|
||||
public method_scope(base_scope _type_scope,base_scope comprehensive_namespace_scope)
|
||||
{
|
||||
this._type_scope=_type_scope;
|
||||
_comprehensive_namespace_scope=comprehensive_namespace_scope;
|
||||
}
|
||||
|
||||
public override SymbolInfo find(string name)
|
||||
{
|
||||
return find_and_split(name,true,_type_scope,_comprehensive_namespace_scope);
|
||||
}
|
||||
|
||||
public override base_scope top_scope
|
||||
{
|
||||
get
|
||||
{
|
||||
return _type_scope;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/*public class SymbolTable
|
||||
{
|
||||
public function_scope create_function_scope(base_scope up_scope)
|
||||
{
|
||||
return new function_scope(up_scope);
|
||||
}
|
||||
|
||||
public type_scope create_type_scope(base_scope base_type_scope,base_scope comprehensive_namespace_scope)
|
||||
{
|
||||
return new type_scope(base_type_scope,comprehensive_namespace_scope);
|
||||
}
|
||||
|
||||
public namespace_scope create_namespace_scope(base_scope up_scope)
|
||||
{
|
||||
return new namespace_scope(up_scope);
|
||||
}
|
||||
|
||||
public interface_scope create_interface_scope(base_scope[] used_units_scopes)
|
||||
{
|
||||
return new interface_scope(used_units_scopes);
|
||||
}
|
||||
|
||||
public implementation_scope create_implementation_scope(interface_scope _interface_scope,base_scope[] used_units_scopes)
|
||||
{
|
||||
return new implementation_scope(_interface_scope,used_units_scopes);
|
||||
}
|
||||
|
||||
public method_scope create_method_scope(base_scope base_type_scope,base_scope comprehensive_namespace_scope)
|
||||
{
|
||||
return new method_scope(base_type_scope,comprehensive_namespace_scope);
|
||||
}
|
||||
|
||||
public int get_relative_scope_depth(base_scope upper,base_scope lower)
|
||||
{
|
||||
int depth=0;
|
||||
base_scope bs=lower;
|
||||
while ((bs!=null)&&(upper!=bs))
|
||||
{
|
||||
bs=bs.top_scope;
|
||||
depth++;
|
||||
}
|
||||
if (lower==null)
|
||||
{
|
||||
throw new CompilerInternalError("Can not execute static depth");
|
||||
}
|
||||
return depth;
|
||||
}
|
||||
}*/
|
||||
}
|
||||
|
|
@ -1,450 +0,0 @@
|
|||
using System;
|
||||
|
||||
namespace TreeConverter
|
||||
{
|
||||
|
||||
///<summary>
|
||||
///Collection of base_scope
|
||||
///</summary>
|
||||
[Serializable]
|
||||
public class base_scopeArrayList : System.Collections.IEnumerable,System.Collections.ICollection,System.ICloneable
|
||||
{
|
||||
|
||||
private System.Collections.ArrayList arr=new System.Collections.ArrayList();
|
||||
|
||||
///<summary>
|
||||
///Adds an base_scope to the end of the base_scopeArrayList.
|
||||
///</summary>
|
||||
///<param name="value">The base_scope to be added to the end of the ArrayList. The value can be a null reference.<param>
|
||||
///<returns>The base_scopeArrayList index at which the value has been added.</returns>
|
||||
public int Add(base_scope value)
|
||||
{
|
||||
return arr.Add(value);
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Adds the elements of an ICollection to the end of the base_scopeArrayList
|
||||
///</summary>
|
||||
///<param name="c">The ICollection whose elements should be added to the end of the ArrayList. The collection itself cannot be a null reference (Nothing in Visual Basic), but it can contain elements that are a null reference.<param>
|
||||
///<returns>Return value is void</returns>
|
||||
private void AddRange(System.Collections.ICollection c)
|
||||
{
|
||||
arr.AddRange(c);
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Adds the elements of an base_scope[] to the end of the base_scopeArrayList
|
||||
///</summary>
|
||||
///<param name="array">The base_scope[] whose elements should be added to the end of the ArrayList. The base_scope[] itself cannot be a null reference, but it can contain elements that are a null reference.<param>
|
||||
///<returns>Return value is void</returns>
|
||||
public void AddRange(base_scope[] array)
|
||||
{
|
||||
arr.AddRange(array);
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Adds the elements of an base_scopeArrayList to the end of the base_scopeArrayList
|
||||
///</summary>
|
||||
///<param name="array_list">The base_scopeArrayList whose elements should be added to the end of the ArrayList. The base_scopeArrayList itself cannot be a null reference, but it can contain elements that are a null reference.<param>
|
||||
///<returns>Return value is void</returns>
|
||||
public void AddRange(base_scopeArrayList array_list)
|
||||
{
|
||||
arr.AddRange(array_list);
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Uses a binary search algorithm to locate a specific element in the sorted base_scopeArrayList or a portion of it.
|
||||
///</summary>
|
||||
///<param name="value">The Object to locate. The value can be a null reference.<param>
|
||||
///<returns>The zero-based index of value in the sorted base_scopeArrayList, if value is found; otherwise, a negative number, which is the bitwise complement of the index of the next element that is larger than value or, if there is no larger element, the bitwise complement of Count.</returns>
|
||||
public int BinarySearch(base_scope value)
|
||||
{
|
||||
return arr.BinarySearch(value);
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Searches the entire sorted ArrayList for an element using the specified comparer and returns the zero-based index of the element.
|
||||
///</summary>
|
||||
///<param name="value">The Object to locate. The value can be a null reference.<param>
|
||||
///<param name="comparer">The IComparer implementation to use when comparing elements. -or- A null reference (Nothing in Visual Basic) to use the default comparer that is the IComparable implementation of each element.<param>
|
||||
///<returns>The zero-based index of value in the sorted base_scopeArrayList, if value is found; otherwise, a negative number, which is the bitwise complement of the index of the next element that is larger than value or, if there is no larger element, the bitwise complement of Count.</returns>
|
||||
public void BinarySearch(base_scope value,System.Collections.IComparer comparer)
|
||||
{
|
||||
arr.BinarySearch(value,comparer);
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Searches the entire sorted ArrayList for an element using the specified comparer and returns the zero-based index of the element.
|
||||
///</summary>
|
||||
///<param name="index">The zero-based starting index of the range to search.<param>
|
||||
///<param name="count">The length of the range to search.<param>
|
||||
///<param name="value">The Object to locate. The value can be a null reference.<param>
|
||||
///<param name="comparer">The IComparer implementation to use when comparing elements. -or- A null reference (Nothing in Visual Basic) to use the default comparer that is the IComparable implementation of each element.<param>
|
||||
///<returns>The zero-based index of value in the sorted base_scopeArrayList, if value is found; otherwise, a negative number, which is the bitwise complement of the index of the next element that is larger than value or, if there is no larger element, the bitwise complement of Count.</returns>
|
||||
public void BinarySearch(int index,int count,base_scope value,System.Collections.IComparer comparer)
|
||||
{
|
||||
arr.BinarySearch(value,comparer);
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Creates a shallow copy of the ArrayList.
|
||||
///</summary>
|
||||
///<returns>A shallow copy of the base_scopeArrayList.</returns>
|
||||
public virtual base_scopeArrayList clone()
|
||||
{
|
||||
base_scopeArrayList al=new base_scopeArrayList();
|
||||
al.arr=(System.Collections.ArrayList)this.arr.Clone();
|
||||
return al;
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Creates a shallow copy of the ArrayList.
|
||||
///</summary>
|
||||
///<returns>A shallow copy of the base_scopeArrayList.</returns>
|
||||
public virtual object Clone()
|
||||
{
|
||||
return this.clone();
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Determines whether an element is in the base_scopeArrayList.
|
||||
///</summary>
|
||||
///<param name="item">The base_scope to locate in the ArrayList. The value can be a null reference.<param>
|
||||
///<returns>true if item is found in the base_scopeArrayList; otherwise, false.</returns>
|
||||
public bool Contains(base_scope item)
|
||||
{
|
||||
return arr.Contains(item);
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Searches for the specified base_scope and returns the zero-based index of the first occurrence within the entire base_scopeArrayList.
|
||||
///</summary>
|
||||
///<param name="value">The base_scope to locate in the base_scopeArrayList. The value can be a null reference.<param>
|
||||
///<returns>The zero-based index of the first occurrence of value within the entire base_scopeArrayList, if found; otherwise, -1.</returns>
|
||||
public int IndexOf(base_scope value)
|
||||
{
|
||||
return arr.IndexOf(value);
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Searches for the specified base_scope and returns the zero-based index of the first occurrence within the section of the base_scopeArrayList that extends from the specified index to the last element.
|
||||
///</summary>
|
||||
///<param name="value">The base_scope to locate in the base_scopeArrayList. The value can be a null reference.<param>
|
||||
///<param name="startIndex">The zero-based starting index of the search.<param>
|
||||
///<returns>The zero-based index of the first occurrence of value within the section of the base_scopeArrayList that extends from startIndex to the last element, if found; otherwise, -1.</returns>
|
||||
public int IndexOf(base_scope value,int startIndex)
|
||||
{
|
||||
return arr.IndexOf(value,startIndex);
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Searches for the specified base_scope and returns the zero-based index of the first occurrence within the section of the base_scopeArrayList that starts at the specified index and contains the specified number of elements.
|
||||
///</summary>
|
||||
///<param name="value">The base_scope to locate in the base_scopeArrayList. The value can be a null reference.<param>
|
||||
///<param name="startIndex">The zero-based starting index of the search.<param>
|
||||
///<param name="count">The number of elements in the section to search.<param>
|
||||
///<returns>The zero-based index of the first occurrence of value within the section of the ArrayList that starts at startIndex and contains count number of elements, if found; otherwise, -1.</returns>
|
||||
public int IndexOf(base_scope value,int startIndex,int count)
|
||||
{
|
||||
return arr.IndexOf(value,startIndex,count);
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Inserts an element into the base_scopeArrayList at the specified index.
|
||||
///</summary>
|
||||
///<param name="index">The zero-based index at which value should be inserted.<param>
|
||||
///<param name="value">The base_scope to insert. The value can be a null reference.<param>
|
||||
///<returns>Return value is void</returns>
|
||||
public void Insert(int index,base_scope value)
|
||||
{
|
||||
arr.Insert(index,value);
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Inserts the elements of a base_scope into the base_scopeArrayList at the specified index.
|
||||
///</summary>
|
||||
///<param name="index">The zero-based index at which the new elements should be inserted.<param>
|
||||
///<param name="arr">The base_scope[] whose elements should be inserted into the base_scopeArrayList. The base_scope[] itself cannot be a null reference, but it can contain elements that are a null reference.<param>
|
||||
///<returns>Return value is void</returns>
|
||||
public void InsertRange(int index,base_scope[] base_scope_arr)
|
||||
{
|
||||
arr.InsertRange(index,arr);
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Inserts the elements of a collection into the base_scopeArrayList at the specified index.
|
||||
///</summary>
|
||||
///<param name="index">The zero-based index at which the new elements should be inserted.<param>
|
||||
///<param name="array_list">The base_scopeArrayList whose elements should be inserted into the base_scopeArrayList. The base_scopeArrayList itself cannot be a null reference, but it can contain elements that are a null reference.<param>
|
||||
///<returns>Return value is void</returns>
|
||||
public void InsertRange(int index,base_scopeArrayList array_list)
|
||||
{
|
||||
arr.InsertRange(index,array_list);
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Inserts the elements of a collection into the base_scopeArrayList at the specified index.
|
||||
///</summary>
|
||||
///<param name="index">The zero-based index at which the new elements should be inserted.<param>
|
||||
///<param name="value">The ICollection whose elements should be inserted into the base_scopeArrayList. The collection itself cannot be a null reference, but it can contain elements that are a null reference.<param>
|
||||
///<returns>Return value is void</returns>
|
||||
private void InsertRange(int index,System.Collections.ICollection c)
|
||||
{
|
||||
arr.InsertRange(index,c);
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Searches for the specified base_scope and returns the zero-based index of the last occurrence within the entire base_scopeArrayList.
|
||||
///</summary>
|
||||
///<param name="value">The base_scope to locate in the base_scopeArrayList. The value can be a null reference.<param>
|
||||
///<returns>The zero-based index of the last occurrence of value within the entire the ArrayList, if found; otherwise, -1.</returns>
|
||||
public int LastIndexOf(base_scope value)
|
||||
{
|
||||
return arr.LastIndexOf(value);
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Searches for the specified base_scope and returns the zero-based index of the last occurrence within the section of the base_scopeArrayList that extends from the first element to the specified index.
|
||||
///</summary>
|
||||
///<param name="value">The base_scope to locate in the base_scopeArrayList. The value can be a null reference.<param>
|
||||
///<param name="startIndex">The zero-based starting index of the backward search.<param>
|
||||
///<returns>The zero-based index of the last occurrence of value within the section of the base_scopeArrayList that extends from the first element to startIndex, if found; otherwise, -1.</returns>
|
||||
public int LastIndexOf(base_scope value,int startIndex)
|
||||
{
|
||||
return arr.LastIndexOf(value,startIndex);
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Searches for the specified base_scope and returns the zero-based index of the last occurrence within the section of the base_scopeArrayList that contains the specified number of elements and ends at the specified index.
|
||||
///</summary>
|
||||
///<param name="value">The base_scope to locate in the base_scopeArrayList. The value can be a null reference.<param>
|
||||
///<param name="startIndex">The zero-based starting index of the backward search.<param>
|
||||
///<param name="count">The number of elements in the section to search.<param>
|
||||
///<returns>The zero-based index of the last occurrence of value within the section of the base_scopeArrayList that extends from the first element to startIndex, if found; otherwise, -1.</returns>
|
||||
public int LastIndexOf(base_scope value,int startIndex,int count)
|
||||
{
|
||||
return arr.LastIndexOf(value,startIndex,count);
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Gets or sets the element at the specified index.
|
||||
///</summary>
|
||||
///<param name="index">The zero-based index of the element to get or set.<param>
|
||||
public base_scope this [int index]
|
||||
{
|
||||
get
|
||||
{
|
||||
return ((base_scope)(arr[index]));
|
||||
}
|
||||
set
|
||||
{
|
||||
arr[index]=value;
|
||||
}
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Removes the first occurrence of a specific object from the ArrayList.
|
||||
///</summary>
|
||||
///<param name="value">The base_scope to remove from the ArrayList. The value can be a null reference.<param>
|
||||
///<returns>Return value is void</returns>
|
||||
public void Remove(base_scope value)
|
||||
{
|
||||
arr.Remove(value);
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Copies the elements of a collection over a range of elements in the base_scopeArrayList.
|
||||
///</summary>
|
||||
///<param name="index">The zero-based base_scopeArrayList index at which to start copying the elements of c.<param>
|
||||
///<param name="c">The ICollection whose elements to copy to the ArrayList. The collection itself cannot be a null reference (Nothing in Visual Basic), but it can contain elements that are a null reference.<param>
|
||||
///<returns>Return value is void</returns>
|
||||
private void SetRange(int index,System.Collections.ICollection c)
|
||||
{
|
||||
arr.SetRange(index,c);
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Copies the elements of the base_scopeArrayList to a new base_scope array.
|
||||
///</summary>
|
||||
///<returns>An base_scope array containing copies of the elements of the base_scopeArrayList.</returns>
|
||||
public base_scope[] ToArray()
|
||||
{
|
||||
return ((base_scope[])(arr.ToArray(typeof(base_scope))));
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Gets the number of elements actually contained in the ArrayList.
|
||||
///</summary>
|
||||
public int Count
|
||||
{
|
||||
get
|
||||
{
|
||||
return arr.Count;
|
||||
}
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Copies the entire ArrayList to a compatible one-dimensional Array, starting at the specified index of the target array.
|
||||
///</summary>
|
||||
///<param name="array">The one-dimensional Array that is the destination of the elements copied from base_scopeArrayList. The Array must have zero-based indexing.<param>
|
||||
///<param name="arrayIndex">The zero-based index in array at which copying begins.<param>
|
||||
///<returns>Return value is void</returns>
|
||||
public void CopyTo(System.Array array,int arrayIndex)
|
||||
{
|
||||
arr.CopyTo(array,arrayIndex);
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Copies the entire ArrayList to a compatible one-dimensional base_scope[], starting at the specified index of the target array.
|
||||
///</summary>
|
||||
///<param name="array">The one-dimensional base_scope[] that is the destination of the elements copied from base_scopeArrayList. The Array must have zero-based indexing.<param>
|
||||
///<param name="arrayIndex">The zero-based index in array at which copying begins.<param>
|
||||
///<returns>Return value is void</returns>
|
||||
public void CopyTo(base_scope[] array,int arrayIndex)
|
||||
{
|
||||
arr.CopyTo(array,arrayIndex);
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Copies the entire base_scopeArrayList to a compatible one-dimensional base_scope[], starting at the beginning of the target array.
|
||||
///</summary>
|
||||
///<param name="array">The one-dimensional base_scope[] that is the destination of the elements copied from base_scopeArrayList. The Array must have zero-based indexing.<param>
|
||||
///<returns>Return value is void</returns>
|
||||
public void CopyTo(base_scope[] array)
|
||||
{
|
||||
arr.CopyTo(array);
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Copies the entire ArrayList to a compatible one-dimensional base_scope[], starting at the specified index of the target array.
|
||||
///</summary>
|
||||
///<param name="index">The zero-based index in the source ArrayList at which copying begins.<param>
|
||||
///<param name="array">The one-dimensional base_scope[] that is the destination of the elements copied from base_scopeArrayList. The Array must have zero-based indexing.<param>
|
||||
///<param name="arrayIndex">The zero-based index in array at which copying begins.<param>
|
||||
///<param name="count">The number of elements to copy.<param>
|
||||
///<returns>Return value is void</returns>
|
||||
public void CopyTo(int index,base_scope[] array,int arrayIndex,int count)
|
||||
{
|
||||
arr.CopyTo(index,array,arrayIndex,count);
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Gets a value indicating whether access to the ArrayList is synchronized (thread-safe).
|
||||
///</summary>
|
||||
public bool IsSynchronized
|
||||
{
|
||||
get
|
||||
{
|
||||
return arr.IsSynchronized;
|
||||
}
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Gets a value indicating whether the ArrayList has a fixed size.
|
||||
///</summary>
|
||||
public bool IsFixedSize
|
||||
{
|
||||
get
|
||||
{
|
||||
return arr.IsFixedSize;
|
||||
}
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Gets a value indicating whether the ArrayList is read-only.
|
||||
///</summary>
|
||||
public bool IsReadOnly
|
||||
{
|
||||
get
|
||||
{
|
||||
return arr.IsReadOnly;
|
||||
}
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Gets an object that can be used to synchronize access to the ArrayList.
|
||||
///</summary>
|
||||
public object SyncRoot
|
||||
{
|
||||
get
|
||||
{
|
||||
return arr.SyncRoot;
|
||||
}
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Returns an enumerator for the entire ArrayList.
|
||||
///</summary>
|
||||
///<returns>An IEnumerator for the entire base_scopeArrayList.</returns>
|
||||
public System.Collections.IEnumerator GetEnumerator()
|
||||
{
|
||||
return arr.GetEnumerator();
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Removes all elements from the ArrayList.
|
||||
///</summary>
|
||||
///<returns>Return value is void</returns>
|
||||
public void Clear()
|
||||
{
|
||||
arr.Clear();
|
||||
}
|
||||
|
||||
public int Capacity
|
||||
{
|
||||
get
|
||||
{
|
||||
return arr.Capacity;
|
||||
}
|
||||
set
|
||||
{
|
||||
arr.Capacity=value;
|
||||
}
|
||||
}
|
||||
|
||||
public base_scopeArrayList GetRange(int index,int count)
|
||||
{
|
||||
System.Collections.ArrayList al=arr.GetRange(index,count);
|
||||
base_scopeArrayList tnal=new base_scopeArrayList();
|
||||
tnal.arr=al;
|
||||
return tnal;
|
||||
}
|
||||
|
||||
public void RemoveAt(int index)
|
||||
{
|
||||
arr.RemoveAt(index);
|
||||
}
|
||||
|
||||
public void RemoveRange(int index,int count)
|
||||
{
|
||||
arr.RemoveRange(index,count);
|
||||
}
|
||||
|
||||
public void Reverse()
|
||||
{
|
||||
arr.Reverse();
|
||||
}
|
||||
|
||||
public void Reverse(int index,int count)
|
||||
{
|
||||
arr.Reverse(index,count);
|
||||
}
|
||||
|
||||
public void SetRange(int index,base_scope[] tnarr)
|
||||
{
|
||||
SetRange(index,tnarr);
|
||||
}
|
||||
|
||||
public void SetRange(int index,base_scopeArrayList tnarl)
|
||||
{
|
||||
SetRange(index,tnarl);
|
||||
}
|
||||
|
||||
public void TrimToSize()
|
||||
{
|
||||
arr.TrimToSize();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -1,212 +0,0 @@
|
|||
|
||||
using System;
|
||||
|
||||
namespace TreeConverter
|
||||
{
|
||||
public class BaseScope
|
||||
{
|
||||
public virtual SymbolInfo Find(string name)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
namespace SymbolTable
|
||||
{
|
||||
|
||||
public class Scope:TreeConverter.BaseScope
|
||||
{
|
||||
protected TreeConverter.scope _sc;
|
||||
protected Scope _top_scope;
|
||||
|
||||
public TreeConverter.scope internal_scope
|
||||
{
|
||||
get
|
||||
{
|
||||
return _sc;
|
||||
}
|
||||
}
|
||||
|
||||
public Scope()
|
||||
{
|
||||
}
|
||||
|
||||
public Scope TopScope
|
||||
{
|
||||
get
|
||||
{
|
||||
return _top_scope;
|
||||
}
|
||||
}
|
||||
|
||||
public Scope(TreeConverter.base_scope us,Scope top_scope)
|
||||
{
|
||||
_sc=new TreeConverter.function_scope(us);
|
||||
_top_scope=top_scope;
|
||||
}
|
||||
|
||||
public override TreeConverter.SymbolInfo Find(string name)
|
||||
{
|
||||
return _sc.find(name);
|
||||
}
|
||||
public TreeConverter.SymbolInfo FindOnlyInScope(string name)
|
||||
{
|
||||
return _sc.find_only_in_namespace(name);
|
||||
}
|
||||
public TreeConverter.SymbolInfo FindOnlyInType(string name)
|
||||
{
|
||||
TreeConverter.type_scope ts=_sc as TreeConverter.type_scope;
|
||||
if (ts!=null)
|
||||
{
|
||||
return ts.find_in_type(name);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
public void AddSymbol(string Name,TreeConverter.SymbolInfo Inf)
|
||||
{
|
||||
_sc.add_name(Name,Inf);
|
||||
}
|
||||
}
|
||||
|
||||
public class UnitInterfaceScope : Scope
|
||||
{
|
||||
public UnitInterfaceScope(TreeConverter.base_scope[] bsa)
|
||||
{
|
||||
_sc=new TreeConverter.interface_scope(bsa);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public class UnitImplementationScope : Scope
|
||||
{
|
||||
public UnitImplementationScope(TreeConverter.interface_scope isc,TreeConverter.base_scope[] bsa)
|
||||
{
|
||||
_sc=new TreeConverter.implementation_scope(isc,bsa);
|
||||
}
|
||||
}
|
||||
|
||||
public class ClassScope : Scope
|
||||
{
|
||||
TreeConverter.type_scope _ts;
|
||||
Scope _bcs;
|
||||
public ClassScope(TreeConverter.base_scope bts, TreeConverter.base_scope cs, Scope bcs)
|
||||
{
|
||||
_bcs=bcs;
|
||||
_ts=new TreeConverter.type_scope(bts,cs);
|
||||
_sc=_ts;
|
||||
}
|
||||
public Scope BaseClassScope
|
||||
{
|
||||
get
|
||||
{
|
||||
return _bcs;
|
||||
}
|
||||
set
|
||||
{
|
||||
_bcs=value;
|
||||
_ts.base_type_scope=(TreeConverter.type_scope)_bcs.internal_scope;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public class ClassMethodScope : Scope
|
||||
{
|
||||
public ClassMethodScope(TreeConverter.base_scope ts,TreeConverter.base_scope cns)
|
||||
{
|
||||
_sc=new TreeConverter.method_scope(ts,cns);
|
||||
}
|
||||
}
|
||||
|
||||
public class TreeConverterSymbolTable
|
||||
{
|
||||
public Scope CreateScope(Scope TopScope)
|
||||
{
|
||||
TreeConverter.base_scope bs2=null;
|
||||
if (TopScope!=null)
|
||||
{
|
||||
bs2=TopScope.internal_scope;
|
||||
}
|
||||
return new Scope(bs2,TopScope);
|
||||
}
|
||||
public ClassScope CreateClassScope(Scope TopScope,Scope BaseClass)
|
||||
{
|
||||
TreeConverter.base_scope bs1=null;
|
||||
if (BaseClass!=null)
|
||||
{
|
||||
bs1=BaseClass.internal_scope;
|
||||
}
|
||||
TreeConverter.base_scope bs2=null;
|
||||
if (TopScope!=null)
|
||||
{
|
||||
bs2=TopScope.internal_scope;
|
||||
}
|
||||
return new ClassScope(bs1,bs2,BaseClass);
|
||||
}
|
||||
public UnitInterfaceScope CreateUnitInterfaceScope(Scope[] UsedUnits)
|
||||
{
|
||||
TreeConverter.base_scope[] arr=new TreeConverter.base_scope[UsedUnits.Length];
|
||||
for(int i=0;i<arr.Length;i++)
|
||||
{
|
||||
if (UsedUnits[i]!=null)
|
||||
{
|
||||
arr[i]=UsedUnits[i].internal_scope;
|
||||
}
|
||||
else
|
||||
{
|
||||
arr[i]=null;
|
||||
}
|
||||
}
|
||||
return new UnitInterfaceScope(arr);
|
||||
}
|
||||
public UnitImplementationScope CreateUnitImplementationScope(Scope InterfaceScope,Scope[] UsedUnits)
|
||||
{
|
||||
TreeConverter.base_scope[] arr=new TreeConverter.base_scope[UsedUnits.Length];
|
||||
for(int i=0;i<arr.Length;i++)
|
||||
{
|
||||
arr[i]=UsedUnits[i].internal_scope;
|
||||
}
|
||||
TreeConverter.interface_scope isc1=null;
|
||||
if (InterfaceScope!=null)
|
||||
{
|
||||
isc1=(TreeConverter.interface_scope)InterfaceScope.internal_scope;
|
||||
}
|
||||
return new UnitImplementationScope(isc1,arr);
|
||||
}
|
||||
public ClassMethodScope CreateClassMethodScope(Scope TopScope,Scope MyClass)
|
||||
{
|
||||
TreeConverter.base_scope bs2=null;
|
||||
if (TopScope!=null)
|
||||
{
|
||||
bs2=TopScope.internal_scope;
|
||||
}
|
||||
TreeConverter.base_scope bs1=null;
|
||||
if (MyClass!=null)
|
||||
{
|
||||
bs1=MyClass.internal_scope;
|
||||
}
|
||||
return new ClassMethodScope(bs1,bs2);
|
||||
}
|
||||
|
||||
public int GetRelativeScopeDepth(Scope Down,Scope Up)
|
||||
{
|
||||
int depth=0;
|
||||
/*TreeConverter.base_scope bs=Down.internal_scope;
|
||||
while ((bs!=null)&&(Up.internal_scope!=bs))
|
||||
{
|
||||
bs=bs.top_scope;
|
||||
depth++;
|
||||
}*/
|
||||
while ((Up!=null)&&(Down!=Up))
|
||||
{
|
||||
Up=Up.TopScope;
|
||||
depth++;
|
||||
}
|
||||
if (Up==null)
|
||||
{
|
||||
throw new TreeConverter.CompilerInternalError("Can not execute static depth");
|
||||
}
|
||||
return depth;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,64 +0,0 @@
|
|||
|
||||
namespace TreeConverter
|
||||
{
|
||||
public class NetIntScope : scope
|
||||
{
|
||||
private NetScope _ns;
|
||||
|
||||
public NetIntScope(NetScope ns)
|
||||
{
|
||||
_ns=ns;
|
||||
}
|
||||
|
||||
public override SymbolInfo find(string name)
|
||||
{
|
||||
return _ns.Find(name);
|
||||
}
|
||||
|
||||
public override SymbolInfo find_only_in_namespace(string name)
|
||||
{
|
||||
return _ns.Find(name);
|
||||
}
|
||||
|
||||
public override base_scope top_scope
|
||||
{
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public class NetIntTypeScope : type_scope
|
||||
{
|
||||
private NetTypeScope _nts;
|
||||
|
||||
public NetIntTypeScope(NetTypeScope nts) : base(null,null)
|
||||
//base(((type_scope)nts.internal_scope).base_type_scope,((type_scope)nts.internal_scope).comprehensive_scope)
|
||||
{
|
||||
_nts=nts;
|
||||
}
|
||||
|
||||
public override SymbolInfo find(string name)
|
||||
{
|
||||
return _nts.Find(name);
|
||||
}
|
||||
|
||||
public override SymbolInfo find_only_in_namespace(string name)
|
||||
{
|
||||
return _nts.Find(name);
|
||||
}
|
||||
|
||||
public override base_scope top_scope
|
||||
{
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -1,546 +0,0 @@
|
|||
using System;
|
||||
using SemanticTree;
|
||||
using System.Collections;
|
||||
using System.Reflection;
|
||||
|
||||
namespace TreeConverter {
|
||||
|
||||
public class NetScope : SymbolTable.DotNETScope {
|
||||
//private base_scope _up_scope;
|
||||
|
||||
private using_namespaceArrayList _unar;
|
||||
private System.Reflection.Assembly _assembly;
|
||||
|
||||
//For SymbolTable DEBUGGING
|
||||
private NetIntScope _nis;
|
||||
|
||||
public NetScope(using_namespaceArrayList unar,System.Reflection.Assembly assembly)
|
||||
{
|
||||
_unar=unar;
|
||||
_assembly=assembly;
|
||||
NetHelper.init_namespaces(assembly);
|
||||
|
||||
//For SymbolTable DEBUGGING
|
||||
_nis=new NetIntScope(this);
|
||||
_sc=_nis;
|
||||
}
|
||||
|
||||
public using_namespaceArrayList used_namespaces
|
||||
{
|
||||
get
|
||||
{
|
||||
return _unar;
|
||||
}
|
||||
}
|
||||
|
||||
/*public override base_scope top_scope
|
||||
{
|
||||
get
|
||||
{
|
||||
return _up_scope;
|
||||
}
|
||||
}*/
|
||||
|
||||
public override SymbolInfo Find(string name)
|
||||
{
|
||||
SymbolInfo si=null;
|
||||
if (NetHelper.IsNetNamespace(name.ToLower()) == true)
|
||||
{
|
||||
compiled_namespace_node cnn = new compiled_namespace_node(name);
|
||||
si = new SymbolInfo(cnn);
|
||||
}
|
||||
else
|
||||
{
|
||||
//Type t = Type.GetType("System."+name,false,true);
|
||||
Type t=null;
|
||||
int i=0;
|
||||
t = NetHelper.FindType(name);
|
||||
if (t != null)
|
||||
{
|
||||
compiled_type_node ctn = compiled_type_node.get_type_node(t);
|
||||
ctn.Scope = new NetTypeScope(ctn.compiled_type);
|
||||
si = new SymbolInfo(ctn);
|
||||
}
|
||||
else {
|
||||
while ((t==null)&&(i<_unar.Count))
|
||||
{
|
||||
t=_assembly.GetType(_unar[i].namespace_name+"."+name,false,true);
|
||||
i++;
|
||||
}
|
||||
if (t != null)
|
||||
{
|
||||
compiled_type_node ctn = compiled_type_node.get_type_node(t);
|
||||
ctn.Scope = new NetTypeScope(ctn.compiled_type);
|
||||
si = new SymbolInfo(ctn);
|
||||
NetHelper.AddType(name,t);
|
||||
}
|
||||
}
|
||||
}
|
||||
return si;
|
||||
}
|
||||
}
|
||||
|
||||
public class NetTypeScope : SymbolTable.DotNETScope {
|
||||
//private base_scope _up_scope;
|
||||
private Type type_info;
|
||||
|
||||
//For SymbolTable DEBUGGING
|
||||
private NetIntTypeScope _nits;
|
||||
|
||||
public NetTypeScope(Type type_info)
|
||||
{
|
||||
this.type_info = type_info;
|
||||
|
||||
//For SymbolTable DEBUGGING
|
||||
_nits=new NetIntTypeScope(this);
|
||||
_sc=_nits;
|
||||
}
|
||||
|
||||
/*public override base_scope top_scope
|
||||
{
|
||||
get
|
||||
{
|
||||
return _up_scope;
|
||||
}
|
||||
}*/
|
||||
|
||||
public Type TypeInfo {
|
||||
get {
|
||||
return type_info;
|
||||
}
|
||||
|
||||
set {
|
||||
type_info = value;
|
||||
}
|
||||
}
|
||||
|
||||
public override SymbolInfo Find(string name)
|
||||
{
|
||||
/*MethodInfo[] mis = NetHelper.FindMethods(type_info,"get_"+name);
|
||||
if (mis.Length == 0)
|
||||
mis = NetHelper.FindMethods(type_info,name);
|
||||
SymbolInfo si=null;
|
||||
if (mis.Length != 0)
|
||||
{
|
||||
si = new SymbolInfo(NetHelper.GetMethodNode(mis[0]));
|
||||
SymbolInfo temp=si;
|
||||
for (int i=1; i<mis.Length; i++)
|
||||
{
|
||||
temp.Next = new SymbolInfo(NetHelper.GetMethodNode(mis[i]));
|
||||
temp=temp.Next;
|
||||
}
|
||||
}*/
|
||||
return NetHelper.FindName(type_info,name);
|
||||
//return si;
|
||||
}
|
||||
}
|
||||
|
||||
public class NetHelper {
|
||||
private static Hashtable namespaces;
|
||||
private static Hashtable types;
|
||||
/*private static Hashtable methods;
|
||||
private static Hashtable properties;
|
||||
private static Hashtable fields;*/
|
||||
private static Hashtable members;
|
||||
private static Hashtable meth_nodes;
|
||||
private static Hashtable prop_nodes;
|
||||
private static Hashtable field_nodes;
|
||||
|
||||
private static Hashtable stand_types;
|
||||
private static Hashtable oper_names;
|
||||
|
||||
public static void init_namespaces(System.Reflection.Assembly _assembly)
|
||||
{
|
||||
Type[] tarr=_assembly.GetTypes();
|
||||
foreach(Type t in tarr)
|
||||
{
|
||||
if (t.Namespace != "" && t.Namespace != null)
|
||||
{
|
||||
string s = t.Namespace.ToLower();
|
||||
namespaces[s] = t;
|
||||
int pos = s.LastIndexOf('.');
|
||||
if (pos != -1) namespaces[s.Substring(0,pos)]=t;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
static NetHelper() {
|
||||
//scope = new NetScope(null,null);
|
||||
namespaces = new Hashtable(1024);
|
||||
types = new Hashtable(128);
|
||||
//methods = new Hashtable();
|
||||
//properties = new Hashtable();
|
||||
members = new Hashtable(128);
|
||||
//fields = new Hashtable();
|
||||
meth_nodes = new Hashtable();
|
||||
prop_nodes = new Hashtable();
|
||||
field_nodes = new Hashtable();
|
||||
stand_types = new Hashtable();
|
||||
oper_names = new Hashtable();
|
||||
|
||||
stand_types[typeof(int)]=stand_types;
|
||||
stand_types[typeof(byte)]=stand_types;
|
||||
stand_types[typeof(bool)]=stand_types;
|
||||
stand_types[typeof(sbyte)]=stand_types;
|
||||
stand_types[typeof(short)]=stand_types;
|
||||
stand_types[typeof(ushort)]=stand_types;
|
||||
stand_types[typeof(uint)]=stand_types;
|
||||
stand_types[typeof(long)]=stand_types;
|
||||
stand_types[typeof(ulong)]=stand_types;
|
||||
stand_types[typeof(char)]=stand_types;
|
||||
stand_types[typeof(float)]=stand_types;
|
||||
stand_types[typeof(double)]=stand_types;
|
||||
stand_types[typeof(decimal)]=stand_types;
|
||||
|
||||
oper_names[compiler_string_consts.plus_name] = "op_Addition";
|
||||
oper_names[compiler_string_consts.minus_name] = "op_Subtraction";
|
||||
oper_names[compiler_string_consts.mul_name] = "op_Multiply";
|
||||
oper_names[compiler_string_consts.div_name] = "op_Division";
|
||||
oper_names[compiler_string_consts.idiv_name] = "op_Division";
|
||||
oper_names[compiler_string_consts.and_name] = "op_BitwiseAnd";
|
||||
oper_names[compiler_string_consts.or_name] = "op_BitwiseOr";
|
||||
oper_names[compiler_string_consts.eq_name] = "op_Equality";
|
||||
oper_names[compiler_string_consts.gr_name] = "op_GreaterThan";
|
||||
oper_names[compiler_string_consts.greq_name] = "op_GreaterThanOrEqual";
|
||||
oper_names[compiler_string_consts.sm_name] = "op_LessThan";
|
||||
oper_names[compiler_string_consts.smeq_name] = "op_LessThanOrEqual";
|
||||
oper_names[compiler_string_consts.mod_name] = "op_Modulus";
|
||||
oper_names[compiler_string_consts.not_name] = "op_LogicalNot";
|
||||
oper_names[compiler_string_consts.noteq_name] = "op_Inequality";
|
||||
}
|
||||
|
||||
public static bool IsStandType(Type t)
|
||||
{
|
||||
if (stand_types[t] != null) return true;
|
||||
return false;
|
||||
}
|
||||
public static bool IsNetNamespace(string name)
|
||||
{
|
||||
if (namespaces[name] != null)
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
/*public static SymbolInfo FindField(Type t, string name, Type[] interfaces)
|
||||
{
|
||||
SymbolInfo si=null;
|
||||
FieldInfo[] mis = FindFields(t, name);
|
||||
if (mis.Length == 0) {
|
||||
foreach (Type ti in interfaces)
|
||||
{
|
||||
mis = FindFields(ti,name);
|
||||
if (mis.Length>0) break;
|
||||
}
|
||||
}
|
||||
if (mis.Length != 0)
|
||||
{
|
||||
//Console.WriteLine(mis[0].GetAccessors()[0].Name);
|
||||
si = new SymbolInfo(GetFieldNode(mis[0]));
|
||||
SymbolInfo temp=si;
|
||||
for (int i=1; i<mis.Length; i++)
|
||||
{
|
||||
temp.Next = new SymbolInfo(GetFieldNode(mis[i]));
|
||||
temp=temp.Next;
|
||||
}
|
||||
//Console.WriteLine(name);
|
||||
}
|
||||
return si;
|
||||
}
|
||||
|
||||
public static SymbolInfo FindProperty(Type t, string name, Type[] interfaces)
|
||||
{
|
||||
SymbolInfo si=null;
|
||||
PropertyInfo[] mis = FindProperties(t, name);
|
||||
if (mis.Length == 0) {
|
||||
foreach (Type ti in interfaces)
|
||||
{
|
||||
mis = FindProperties(ti,name);
|
||||
if (mis.Length>0) break;
|
||||
}
|
||||
}
|
||||
if (mis.Length != 0)
|
||||
{
|
||||
//Console.WriteLine(mis[0].GetAccessors()[0].Name);
|
||||
si = new SymbolInfo(GetPropertyNode(mis[0]));
|
||||
SymbolInfo temp=si;
|
||||
for (int i=1; i<mis.Length; i++)
|
||||
{
|
||||
temp.Next = new SymbolInfo(GetPropertyNode(mis[i]));
|
||||
temp=temp.Next;
|
||||
}
|
||||
}
|
||||
return si;
|
||||
}
|
||||
|
||||
public static SymbolInfo FindName(Type t, string name)
|
||||
{
|
||||
SymbolInfo si=null;
|
||||
Type[] tis = t.GetInterfaces();
|
||||
si = FindProperty(t,name,tis);
|
||||
if (si != null) return si;
|
||||
si = FindField(t,name,tis);
|
||||
if (si != null) return si;
|
||||
MethodInfo[] mis = FindMethods(t,name);
|
||||
if (mis.Length == 0)
|
||||
{
|
||||
foreach (Type ti in tis)
|
||||
{
|
||||
mis = FindMethods(ti,name);
|
||||
if (mis.Length>0) break;
|
||||
}
|
||||
}
|
||||
if (mis.Length != 0)
|
||||
{
|
||||
si = new SymbolInfo(GetMethodNode(mis[0]));
|
||||
SymbolInfo temp=si;
|
||||
for (int i=1; i<mis.Length; i++)
|
||||
{
|
||||
temp.Next = new SymbolInfo(GetMethodNode(mis[i]));
|
||||
temp=temp.Next;
|
||||
}
|
||||
}
|
||||
return si;
|
||||
}*/
|
||||
|
||||
public static MemberInfo[] GetMembers(Type t, string name)
|
||||
{
|
||||
object o = members[t];
|
||||
if (o == null)
|
||||
{
|
||||
MemberInfo[] mis = t.GetMembers();
|
||||
Hashtable ht = new Hashtable();
|
||||
foreach (MemberInfo mi2 in mis)
|
||||
{
|
||||
//Console.WriteLine(mi2.Name.ToLower());
|
||||
string s = mi2.Name.ToLower();
|
||||
if (ht[s] == null)
|
||||
ht[s]=new ArrayList();
|
||||
}
|
||||
foreach (MemberInfo mi in mis)
|
||||
{
|
||||
((ArrayList)ht[mi.Name.ToLower()]).Add(mi);
|
||||
}
|
||||
members[t] = ht;
|
||||
ArrayList lst = (ArrayList)ht[name.ToLower()];
|
||||
if (lst == null) return new MemberInfo[0];
|
||||
return (MemberInfo[])lst.ToArray(typeof(MemberInfo));
|
||||
}
|
||||
else
|
||||
{
|
||||
Hashtable ht = (Hashtable)o;
|
||||
ArrayList mis2 = (ArrayList)ht[name.ToLower()];
|
||||
if (mis2 == null) return new MemberInfo[0];
|
||||
MemberInfo[] mi2 = (MemberInfo[])mis2.ToArray(typeof(MemberInfo));
|
||||
return mi2;
|
||||
}
|
||||
}
|
||||
|
||||
public static SymbolInfo FindName(Type t, string name)
|
||||
{
|
||||
string s = (string)oper_names[name];
|
||||
if (s != null) name = s;
|
||||
SymbolInfo si=null;
|
||||
Type[] tis = t.GetInterfaces();
|
||||
MemberInfo[] mis = GetMembers(t,name);
|
||||
if (mis.Length == 0)
|
||||
{
|
||||
foreach (Type tt in tis)
|
||||
{
|
||||
mis = GetMembers(tt,name);
|
||||
if (mis.Length > 0) break;
|
||||
}
|
||||
}
|
||||
if (mis.Length != 0)
|
||||
{
|
||||
//Console.WriteLine(mis[0].GetAccessors()[0].Name);
|
||||
if (mis[0] is MethodInfo)
|
||||
{
|
||||
si = new SymbolInfo(GetMethodNode((MethodInfo)mis[0]));
|
||||
SymbolInfo temp=si;
|
||||
for (int i=1; i<mis.Length; i++)
|
||||
{
|
||||
temp.Next = new SymbolInfo(GetMethodNode((MethodInfo)mis[i]));
|
||||
temp=temp.Next;
|
||||
}
|
||||
}
|
||||
else if (mis[0] is PropertyInfo)
|
||||
{
|
||||
si = new SymbolInfo(GetPropertyNode((PropertyInfo)mis[0]));
|
||||
SymbolInfo temp=si;
|
||||
for (int i=1; i<mis.Length; i++)
|
||||
{
|
||||
temp.Next = new SymbolInfo(GetPropertyNode((PropertyInfo)mis[i]));
|
||||
temp=temp.Next;
|
||||
}
|
||||
}
|
||||
else if (mis[0] is FieldInfo)
|
||||
{
|
||||
si = new SymbolInfo(GetFieldNode((FieldInfo)mis[0]));
|
||||
SymbolInfo temp=si;
|
||||
for (int i=1; i<mis.Length; i++)
|
||||
{
|
||||
temp.Next = new SymbolInfo(GetFieldNode((FieldInfo)mis[i]));
|
||||
temp=temp.Next;
|
||||
}
|
||||
}
|
||||
}
|
||||
return si;
|
||||
}
|
||||
|
||||
public static compiled_function_node GetMethodNode(MethodInfo mi)
|
||||
{
|
||||
compiled_function_node cfn = (compiled_function_node)meth_nodes[mi];
|
||||
if (cfn != null) return cfn;
|
||||
cfn = new compiled_function_node(mi);
|
||||
meth_nodes[mi] = cfn;
|
||||
return cfn;
|
||||
}
|
||||
|
||||
public static compiled_property_node GetPropertyNode(PropertyInfo pi)
|
||||
{
|
||||
compiled_property_node cpn = (compiled_property_node)prop_nodes[pi];
|
||||
if (cpn != null) return cpn;
|
||||
cpn = new compiled_property_node(pi);
|
||||
|
||||
prop_nodes[pi] = cpn;
|
||||
return cpn;
|
||||
}
|
||||
|
||||
public static compiled_variable_definition GetFieldNode(FieldInfo pi)
|
||||
{
|
||||
compiled_variable_definition cpn = (compiled_variable_definition)field_nodes[pi];
|
||||
if (cpn != null) return cpn;
|
||||
cpn = new compiled_variable_definition(pi);
|
||||
|
||||
field_nodes[pi] = cpn;
|
||||
return cpn;
|
||||
}
|
||||
|
||||
public static Type FindType(string name)
|
||||
{
|
||||
return (Type)types[name];
|
||||
}
|
||||
|
||||
public static void AddType(string name, Type t)
|
||||
{
|
||||
types[name] = t;
|
||||
}
|
||||
|
||||
public static Type FindTypeOrCreate(string name)
|
||||
{
|
||||
Type t = (Type)types[name];
|
||||
if (t != null) return t;
|
||||
t = Type.GetType(name);
|
||||
types[name] = t;
|
||||
return t;
|
||||
}
|
||||
/*public static MethodInfo[] FindMethods(Type t, string name)
|
||||
{
|
||||
object o = methods[t];
|
||||
if (o == null)
|
||||
{
|
||||
Hashtable ht = new Hashtable();
|
||||
MethodInfo[] mis = t.GetMethods();
|
||||
//Console.WriteLine(mis.Length);
|
||||
foreach (MethodInfo mi2 in mis)
|
||||
ht[mi2.Name.ToLower()]=new ArrayList();
|
||||
foreach (MethodInfo mi in mis)
|
||||
{
|
||||
((ArrayList)ht[mi.Name.ToLower()]).Add(mi);
|
||||
}
|
||||
methods[t] = ht;
|
||||
ArrayList lst = (ArrayList)ht[name.ToLower()];
|
||||
if (lst == null) return new MethodInfo[0];
|
||||
return (MethodInfo[])lst.ToArray(typeof(MethodInfo));
|
||||
}
|
||||
else
|
||||
{
|
||||
Hashtable ht = (Hashtable)o;
|
||||
ArrayList mis = (ArrayList)ht[name.ToLower()];
|
||||
if (mis == null) return new MethodInfo[0];
|
||||
MethodInfo[] mi2 = (MethodInfo[])mis.ToArray(typeof(MethodInfo));
|
||||
return mi2;
|
||||
}
|
||||
//return null;
|
||||
}
|
||||
|
||||
public static PropertyInfo[] FindProperties(Type t, string name)
|
||||
{
|
||||
object o = properties[t];
|
||||
if (o == null)
|
||||
{
|
||||
Hashtable ht = new Hashtable();
|
||||
PropertyInfo[] mis = t.GetProperties();
|
||||
//Console.WriteLine(mis.Length);
|
||||
foreach (PropertyInfo mi2 in mis)
|
||||
ht[mi2.Name.ToLower()]=new ArrayList();
|
||||
foreach (PropertyInfo mi in mis)
|
||||
{
|
||||
((ArrayList)ht[mi.Name.ToLower()]).Add(mi);
|
||||
}
|
||||
properties[t] = ht;
|
||||
ArrayList lst = (ArrayList)ht[name.ToLower()];
|
||||
if (lst == null) return new PropertyInfo[0];
|
||||
return (PropertyInfo[])lst.ToArray(typeof(PropertyInfo));
|
||||
}
|
||||
else
|
||||
{
|
||||
Hashtable ht = (Hashtable)o;
|
||||
ArrayList mis = (ArrayList)ht[name.ToLower()];
|
||||
if (mis == null) return new PropertyInfo[0];
|
||||
PropertyInfo[] mi2 = (PropertyInfo[])mis.ToArray(typeof(PropertyInfo));
|
||||
return mi2;
|
||||
}
|
||||
//return null;
|
||||
}
|
||||
|
||||
public static FieldInfo[] FindFields(Type t, string name)
|
||||
{
|
||||
object o = fields[t];
|
||||
if (o == null)
|
||||
{
|
||||
Hashtable ht = new Hashtable();
|
||||
FieldInfo[] mis = t.GetFields();
|
||||
//Console.WriteLine(mis.Length);
|
||||
foreach (FieldInfo mi2 in mis)
|
||||
ht[mi2.Name.ToLower()]=new ArrayList();
|
||||
foreach (FieldInfo mi in mis)
|
||||
{
|
||||
((ArrayList)ht[mi.Name.ToLower()]).Add(mi);
|
||||
}
|
||||
fields[t] = ht;
|
||||
ArrayList lst = (ArrayList)ht[name.ToLower()];
|
||||
if (lst == null) return new FieldInfo[0];
|
||||
return (FieldInfo[])lst.ToArray(typeof(FieldInfo));
|
||||
}
|
||||
else
|
||||
{
|
||||
Hashtable ht = (Hashtable)o;
|
||||
ArrayList mis = (ArrayList)ht[name.ToLower()];
|
||||
if (mis == null) return new FieldInfo[0];
|
||||
FieldInfo[] mi2 = (FieldInfo[])mis.ToArray(typeof(FieldInfo));
|
||||
return mi2;
|
||||
}
|
||||
//return null;
|
||||
}*/
|
||||
|
||||
/*public static compiled_type_node GetTypeNode(Type t)
|
||||
{
|
||||
object o = types[t];
|
||||
if (o != null) return (compiled_type_node)o;
|
||||
compiled_type_node ctn = new compiled_type_node(t);
|
||||
types[t] = ctn;
|
||||
return ctn;
|
||||
}*/
|
||||
|
||||
/*public compiled_namespace_node GetNamespaceNode(Type t)
|
||||
{
|
||||
object o = types[t];
|
||||
if (o != null) return (compiled_namespace_node)o;
|
||||
compiled_namespace_node ctn = new compiled_type_node(t);
|
||||
types[t] = ctn;
|
||||
return ctn;
|
||||
}*/
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1,723 +0,0 @@
|
|||
|
||||
using System;
|
||||
|
||||
namespace TreeConverter
|
||||
{
|
||||
|
||||
public class system_lib_initializer
|
||||
{
|
||||
|
||||
private compiled_type_node _bool_type;
|
||||
private compiled_type_node _integer_type;
|
||||
private compiled_type_node _real_type;
|
||||
private compiled_type_node _char_type;
|
||||
private compiled_type_node _string_type;
|
||||
|
||||
private compiled_type_node _pointer_type;
|
||||
private basic_function_node _int_add;
|
||||
private basic_function_node _int_sub;
|
||||
|
||||
private unit_node _system_unit;
|
||||
|
||||
private bool_const_node _true_constant;
|
||||
private bool_const_node _false_constant;
|
||||
|
||||
private constant_definition_node _true_constant_definition;
|
||||
private constant_definition_node _false_constant_definition;
|
||||
|
||||
public unit_node system_unit
|
||||
{
|
||||
get
|
||||
{
|
||||
return _system_unit;
|
||||
}
|
||||
}
|
||||
|
||||
public basic_function_node int_add
|
||||
{
|
||||
get
|
||||
{
|
||||
return _int_add;
|
||||
}
|
||||
}
|
||||
|
||||
public basic_function_node int_sub
|
||||
{
|
||||
get
|
||||
{
|
||||
return _int_sub;
|
||||
}
|
||||
}
|
||||
|
||||
//private base_interface_node _ipascal_enumerable;
|
||||
|
||||
/*public base_interface_node ipascal_enumerable
|
||||
{
|
||||
get
|
||||
{
|
||||
return _ipascal_enumerable;
|
||||
}
|
||||
}*/
|
||||
|
||||
public type_node bool_type
|
||||
{
|
||||
get
|
||||
{
|
||||
return _bool_type;
|
||||
}
|
||||
}
|
||||
|
||||
public type_node integer_type
|
||||
{
|
||||
get
|
||||
{
|
||||
return _integer_type;
|
||||
}
|
||||
}
|
||||
|
||||
public type_node real_type
|
||||
{
|
||||
get
|
||||
{
|
||||
return _real_type;
|
||||
}
|
||||
}
|
||||
|
||||
public type_node char_type
|
||||
{
|
||||
get
|
||||
{
|
||||
return _char_type;
|
||||
}
|
||||
}
|
||||
|
||||
public type_node string_type
|
||||
{
|
||||
get
|
||||
{
|
||||
return _string_type;
|
||||
}
|
||||
}
|
||||
|
||||
public type_node pointer_type
|
||||
{
|
||||
get
|
||||
{
|
||||
return _pointer_type;
|
||||
}
|
||||
}
|
||||
private basic_function_node make_common_binary_operation(string operator_name,compiled_type_node def_type,compiled_type_node left,
|
||||
compiled_type_node right,SemanticTree.basic_function_type bft,type_node ret_value_type)
|
||||
{
|
||||
parameterArrayList pars=new parameterArrayList();
|
||||
basic_function_node bfn=new basic_function_node(bft,pars,ret_value_type);
|
||||
bfn.is_overload=true;
|
||||
basic_parameter par_left=new basic_parameter(compiler_string_consts.left_param_name,left,
|
||||
SemanticTree.parameter_type.value,bfn);
|
||||
basic_parameter par_right=new basic_parameter(compiler_string_consts.right_param_name,right,
|
||||
SemanticTree.parameter_type.value,bfn);
|
||||
pars.Add(par_left);
|
||||
pars.Add(par_right);
|
||||
def_type.add_additional_name(operator_name,new SymbolInfo(bfn));
|
||||
return bfn;
|
||||
}
|
||||
|
||||
private void make_unary_operator(string operator_name,compiled_type_node to,SemanticTree.basic_function_type bft)
|
||||
{
|
||||
make_unary_operator(operator_name,to,bft,to);
|
||||
}
|
||||
|
||||
private void make_unary_operator(string operator_name,compiled_type_node to,
|
||||
SemanticTree.basic_function_type bft,type_node ret_value_type)
|
||||
{
|
||||
parameterArrayList pars=new parameterArrayList();
|
||||
basic_function_node bfn=new basic_function_node(bft,pars,ret_value_type);
|
||||
bfn.is_overload=true;
|
||||
basic_parameter par=new basic_parameter(compiler_string_consts.unary_param_name,to,
|
||||
SemanticTree.parameter_type.value,bfn);
|
||||
pars.Add(par);
|
||||
to.add_additional_name(operator_name,new SymbolInfo(bfn));
|
||||
}
|
||||
|
||||
private basic_function_node make_binary_operator(string operator_name,compiled_type_node to,SemanticTree.basic_function_type bft)
|
||||
{
|
||||
return make_binary_operator(operator_name,to,bft,to);
|
||||
}
|
||||
|
||||
private basic_function_node make_binary_operator(string operator_name,compiled_type_node to,
|
||||
SemanticTree.basic_function_type bft,type_node ret_value_type)
|
||||
{
|
||||
/*parameterArrayList pars=new parameterArrayList();
|
||||
basic_function_node bfn=new basic_function_node(bft,pars,ret_value_type);
|
||||
basic_parameter par_left=new basic_parameter(compiler_string_consts.left_param_name,to,
|
||||
SemanticTree.parameter_type.value,bfn);
|
||||
basic_parameter par_right=new basic_parameter(compiler_string_consts.right_param_name,to,
|
||||
SemanticTree.parameter_type.value,bfn);
|
||||
pars.Add(par_left);
|
||||
pars.Add(par_right);
|
||||
to.add_additional_name(operator_name,new SymbolInfo(bfn));*/
|
||||
return make_common_binary_operation(operator_name,to,to,to,bft,ret_value_type);
|
||||
}
|
||||
|
||||
private void make_type_conversion(compiled_type_node from,compiled_type_node to,type_compare tc,
|
||||
SemanticTree.basic_function_type bft)
|
||||
{
|
||||
parameterArrayList pars=new parameterArrayList();
|
||||
basic_function_node conv_method=new basic_function_node(bft,pars,to);
|
||||
basic_parameter bp=new basic_parameter(compiler_string_consts.unary_param_name,
|
||||
from,SemanticTree.parameter_type.value,conv_method);
|
||||
pars.Add(bp);
|
||||
|
||||
type_intersection_node inter_node=new type_intersection_node(tc);
|
||||
inter_node.this_to_another=new type_conversion_factory(conv_method);
|
||||
from.add_intersection_node(to,inter_node);
|
||||
}
|
||||
|
||||
private void make_assign_operator(compiled_type_node ctn,SemanticTree.basic_function_type bft)
|
||||
{
|
||||
make_compiled_object_operator(compiler_string_consts.assign_name,ctn,bft,SemanticTree.parameter_type.var);
|
||||
}
|
||||
|
||||
private void make_compiled_object_operator(string name,compiled_type_node tp,SemanticTree.basic_function_type bft,
|
||||
SemanticTree.parameter_type first_param_type)
|
||||
{
|
||||
parameterArrayList pars=new parameterArrayList();
|
||||
basic_function_node bfn=new basic_function_node(bft,pars,tp);
|
||||
bfn.is_overload=true;
|
||||
basic_parameter to=new basic_parameter(compiler_string_consts.left_param_name,tp,
|
||||
first_param_type,bfn);
|
||||
basic_parameter from=new basic_parameter(compiler_string_consts.right_param_name,tp,
|
||||
SemanticTree.parameter_type.value,bfn);
|
||||
pars.Add(to);
|
||||
pars.Add(from);
|
||||
tp.add_additional_name(name,new SymbolInfo(bfn));
|
||||
}
|
||||
|
||||
private void make_compiled_object_operator(string name,compiled_type_node tp,SemanticTree.basic_function_type bft)
|
||||
{
|
||||
make_compiled_object_operator(name,tp,bft,SemanticTree.parameter_type.value);
|
||||
}
|
||||
|
||||
private void make_reference_object_assign_operator(compiled_type_node tp)
|
||||
{
|
||||
make_compiled_object_operator(compiler_string_consts.assign_name,tp,
|
||||
SemanticTree.basic_function_type.objassign,SemanticTree.parameter_type.var);
|
||||
}
|
||||
|
||||
private void make_reference_object_eq_operator(compiled_type_node tp)
|
||||
{
|
||||
make_compiled_object_operator(compiler_string_consts.eq_name,tp,SemanticTree.basic_function_type.objeq);
|
||||
}
|
||||
|
||||
private void make_reference_object_noteq_operator(compiled_type_node tp)
|
||||
{
|
||||
make_compiled_object_operator(compiler_string_consts.noteq_name,tp,SemanticTree.basic_function_type.objnoteq);
|
||||
}
|
||||
|
||||
public void init_reference_type(compiled_type_node ctn)
|
||||
{
|
||||
make_reference_object_assign_operator(ctn);
|
||||
make_reference_object_eq_operator(ctn);
|
||||
make_reference_object_noteq_operator(ctn);
|
||||
}
|
||||
|
||||
//No v drugom smisle reference.
|
||||
private void make_object_operator(ref_type_node ctn,SemanticTree.basic_function_type bas_ft,
|
||||
string name,type_node ret_type,SemanticTree.parameter_type first_parameter_type)
|
||||
{
|
||||
parameterArrayList pars=new parameterArrayList();
|
||||
basic_function_node bfn=new basic_function_node(bas_ft,pars,ret_type);
|
||||
bfn.is_overload=true;
|
||||
basic_parameter to=new basic_parameter(compiler_string_consts.left_param_name,ctn,
|
||||
first_parameter_type,bfn);
|
||||
basic_parameter from=new basic_parameter(compiler_string_consts.right_param_name,ctn,
|
||||
SemanticTree.parameter_type.value,bfn);
|
||||
pars.Add(to);
|
||||
pars.Add(from);
|
||||
ctn.add_additional_name(name,new SymbolInfo(bfn));
|
||||
}
|
||||
|
||||
private void make_object_operator(ref_type_node ctn,SemanticTree.basic_function_type bas_ft,string name,
|
||||
type_node ret_type)
|
||||
{
|
||||
make_object_operator(ctn,bas_ft,name,ret_type,SemanticTree.parameter_type.value);
|
||||
}
|
||||
|
||||
private void make_assign_operator(ref_type_node ctn)
|
||||
{
|
||||
make_object_operator(ctn,SemanticTree.basic_function_type.objassign,compiler_string_consts.assign_name,
|
||||
ctn,SemanticTree.parameter_type.var);
|
||||
}
|
||||
|
||||
private void make_equivalence_operator(ref_type_node ctn)
|
||||
{
|
||||
make_object_operator(ctn,SemanticTree.basic_function_type.objeq,compiler_string_consts.eq_name,_bool_type);
|
||||
}
|
||||
|
||||
private void make_not_equivalence_operator(ref_type_node ctn)
|
||||
{
|
||||
make_object_operator(ctn,SemanticTree.basic_function_type.objnoteq,compiler_string_consts.noteq_name,_bool_type);
|
||||
}
|
||||
|
||||
public void init_reference_type(ref_type_node ctn)
|
||||
{
|
||||
make_assign_operator(ctn);
|
||||
make_equivalence_operator(ctn);
|
||||
make_not_equivalence_operator(ctn);
|
||||
}
|
||||
//End: No v drugom smisle reference.
|
||||
|
||||
public void make_empty_operator(string name,compiled_type_node ctn)
|
||||
{
|
||||
parameterArrayList pars=new parameterArrayList();
|
||||
empty_function_node efn=new empty_function_node(pars,ctn);
|
||||
efn.is_overload=true;
|
||||
basic_parameter par=new basic_parameter(compiler_string_consts.unary_param_name,ctn,
|
||||
SemanticTree.parameter_type.value,null);
|
||||
pars.Add(par);
|
||||
ctn.add_additional_name(name,new SymbolInfo(efn));
|
||||
}
|
||||
|
||||
private basic_function_node create_oti_method(SemanticTree.basic_function_type bft,type_node type)
|
||||
{
|
||||
parameterArrayList pal=new parameterArrayList();
|
||||
basic_function_node bfn=new basic_function_node(bft,pal,type);
|
||||
common_parameter cp=new common_parameter(compiler_string_consts.unary_param_name,type,
|
||||
SemanticTree.parameter_type.var,null);
|
||||
pal.Add(cp);
|
||||
bfn.is_overload=true;
|
||||
return bfn;
|
||||
}
|
||||
|
||||
public int int_to_int(constant_node cn)
|
||||
{
|
||||
#if (DEBUG)
|
||||
if (cn.semantic_node_type!=semantic_node_type.int_const_node)
|
||||
{
|
||||
throw new CompilerInternalError("Error in static type conversion");
|
||||
}
|
||||
#endif
|
||||
int_const_node icn=(int_const_node)cn;
|
||||
return icn.const_value;
|
||||
}
|
||||
|
||||
public int char_to_int(constant_node cn)
|
||||
{
|
||||
#if (DEBUG)
|
||||
if (cn.semantic_node_type!=semantic_node_type.char_const_node)
|
||||
{
|
||||
throw new CompilerInternalError("Error in static type conversion");
|
||||
}
|
||||
#endif
|
||||
char_const_node icn=(char_const_node)cn;
|
||||
return ((int)icn.const_value);
|
||||
}
|
||||
|
||||
private void mark_int_as_ordinal()
|
||||
{
|
||||
ordinal_type_interface oti=new ordinal_type_interface();
|
||||
oti.inc_method=create_oti_method(SemanticTree.basic_function_type.iinc,_integer_type);
|
||||
oti.dec_method=create_oti_method(SemanticTree.basic_function_type.idec,_integer_type);
|
||||
|
||||
SymbolInfo si=_integer_type.find_in_additional_names(compiler_string_consts.greq_name);
|
||||
basic_function_node bfn=(basic_function_node)si.sym_info;
|
||||
|
||||
oti.greater_eq_method=bfn;
|
||||
|
||||
si=_integer_type.find_in_additional_names(compiler_string_consts.smeq_name);
|
||||
bfn=(basic_function_node)si.sym_info;
|
||||
|
||||
oti.lower_eq_method=bfn;
|
||||
|
||||
constant_node cn_max=new int_const_node(int.MinValue,_integer_type);
|
||||
constant_node cn_min=new int_const_node(int.MinValue,_integer_type);
|
||||
|
||||
oti.upper_value=cn_max;
|
||||
oti.lower_value=cn_min;
|
||||
|
||||
parameterArrayList pal=new parameterArrayList();
|
||||
empty_function_node efn=new empty_function_node(pal,_integer_type);
|
||||
common_parameter cp=new common_parameter(compiler_string_consts.unary_param_name,_integer_type,
|
||||
SemanticTree.parameter_type.value,null);
|
||||
|
||||
oti.value_to_int=efn;
|
||||
oti.ordinal_type_to_int=new ordinal_type_to_int(int_to_int);
|
||||
_integer_type.add_internal_interface(oti);
|
||||
}
|
||||
|
||||
private void mark_char_as_ordinal()
|
||||
{
|
||||
ordinal_type_interface oti=new ordinal_type_interface();
|
||||
oti.inc_method=create_oti_method(SemanticTree.basic_function_type.cinc,_char_type);
|
||||
oti.dec_method=create_oti_method(SemanticTree.basic_function_type.cdec,_char_type);
|
||||
|
||||
SymbolInfo si=_char_type.find_in_additional_names(compiler_string_consts.greq_name);
|
||||
basic_function_node bfn=(basic_function_node)si.sym_info;
|
||||
|
||||
oti.greater_eq_method=bfn;
|
||||
|
||||
si=_char_type.find_in_additional_names(compiler_string_consts.smeq_name);
|
||||
bfn=(basic_function_node)si.sym_info;
|
||||
|
||||
oti.lower_eq_method=bfn;
|
||||
|
||||
constant_node cn_max=new int_const_node(char.MaxValue,_char_type);
|
||||
constant_node cn_min=new int_const_node(char.MinValue,_char_type);
|
||||
|
||||
oti.upper_value=cn_max;
|
||||
oti.lower_value=cn_min;
|
||||
|
||||
parameterArrayList pal=new parameterArrayList();
|
||||
bfn=new basic_function_node(SemanticTree.basic_function_type.chartoi,pal,_integer_type);
|
||||
common_parameter cp=new common_parameter(compiler_string_consts.unary_param_name,_char_type,
|
||||
SemanticTree.parameter_type.value,null);
|
||||
|
||||
oti.value_to_int=bfn;
|
||||
oti.ordinal_type_to_int=new ordinal_type_to_int(char_to_int);
|
||||
_char_type.add_internal_interface(oti);
|
||||
}
|
||||
|
||||
//Спросить у Вани. Мой NetHelper не поддерживает такие операциию
|
||||
private void NetInitialize()
|
||||
{
|
||||
/*
|
||||
NetHelper.AddType(typeof(int), _integer_type);
|
||||
NetHelper.AddType(typeof(bool), _bool_type);
|
||||
NetHelper.AddType(typeof(double), _real_type);
|
||||
NetHelper.AddType(typeof(char), _char_type);
|
||||
NetHelper.AddType(typeof(string), _string_type);
|
||||
*/
|
||||
}
|
||||
|
||||
private void initialize_types()
|
||||
{
|
||||
_integer_type=compiled_type_node.get_type_node(typeof(int));
|
||||
_bool_type=compiled_type_node.get_type_node(typeof(bool));
|
||||
_real_type=compiled_type_node.get_type_node(typeof(double));
|
||||
_char_type=compiled_type_node.get_type_node(typeof(char));
|
||||
_string_type=compiled_type_node.get_type_node(typeof(string));
|
||||
|
||||
_pointer_type=compiled_type_node.get_type_node(Type.GetType("System.Void*"));
|
||||
NetInitialize();
|
||||
|
||||
//Преобразования типов.
|
||||
make_type_conversion(_integer_type,_real_type,type_compare.less_type,SemanticTree.basic_function_type.itod);
|
||||
|
||||
//Операции для типа integer.
|
||||
//Присваивание для integer.
|
||||
make_assign_operator(_integer_type,SemanticTree.basic_function_type.iassign);
|
||||
|
||||
//Унарные операции.
|
||||
make_unary_operator(compiler_string_consts.minus_name,_integer_type,SemanticTree.basic_function_type.iunmin);
|
||||
make_unary_operator(compiler_string_consts.not_name,_integer_type,SemanticTree.basic_function_type.inot);
|
||||
make_empty_operator(compiler_string_consts.plus_name,_integer_type);
|
||||
|
||||
//Арифметические операции.
|
||||
_int_add=make_binary_operator(compiler_string_consts.plus_name,_integer_type,SemanticTree.basic_function_type.iadd);
|
||||
_int_sub=make_binary_operator(compiler_string_consts.minus_name,_integer_type,SemanticTree.basic_function_type.isub);
|
||||
make_binary_operator(compiler_string_consts.mul_name,_integer_type,SemanticTree.basic_function_type.imul);
|
||||
make_binary_operator(compiler_string_consts.idiv_name,_integer_type,SemanticTree.basic_function_type.idiv);
|
||||
make_binary_operator(compiler_string_consts.mod_name,_integer_type,SemanticTree.basic_function_type.imod);
|
||||
//Операция / для integer.
|
||||
make_common_binary_operation(compiler_string_consts.div_name,_integer_type,_real_type,_real_type,
|
||||
SemanticTree.basic_function_type.ddiv,_real_type);
|
||||
|
||||
//Опрерации сравнения.
|
||||
make_binary_operator(compiler_string_consts.gr_name,_integer_type,SemanticTree.basic_function_type.igr,_bool_type);
|
||||
make_binary_operator(compiler_string_consts.greq_name,_integer_type,SemanticTree.basic_function_type.igreq,_bool_type);
|
||||
make_binary_operator(compiler_string_consts.sm_name,_integer_type,SemanticTree.basic_function_type.ism,_bool_type);
|
||||
make_binary_operator(compiler_string_consts.smeq_name,_integer_type,SemanticTree.basic_function_type.ismeq,_bool_type);
|
||||
make_binary_operator(compiler_string_consts.eq_name,_integer_type,SemanticTree.basic_function_type.ieq,_bool_type);
|
||||
make_binary_operator(compiler_string_consts.noteq_name,_integer_type,SemanticTree.basic_function_type.inoteq,_bool_type);
|
||||
|
||||
//Логические опреции.
|
||||
make_binary_operator(compiler_string_consts.and_name,_integer_type,SemanticTree.basic_function_type.iand);
|
||||
make_binary_operator(compiler_string_consts.or_name,_integer_type,SemanticTree.basic_function_type.ior);
|
||||
make_binary_operator(compiler_string_consts.xor_name,_integer_type,SemanticTree.basic_function_type.ixor);
|
||||
make_binary_operator(compiler_string_consts.shl_name,_integer_type,SemanticTree.basic_function_type.ishl);
|
||||
make_binary_operator(compiler_string_consts.shr_name,_integer_type,SemanticTree.basic_function_type.ishr);
|
||||
|
||||
//real type.
|
||||
//Assign.
|
||||
make_assign_operator(_real_type,SemanticTree.basic_function_type.dassign);
|
||||
|
||||
//Унарные операции.
|
||||
make_unary_operator(compiler_string_consts.minus_name,_real_type,SemanticTree.basic_function_type.dunmin);
|
||||
make_empty_operator(compiler_string_consts.plus_name,_real_type);
|
||||
|
||||
//Арифметические операции.
|
||||
make_binary_operator(compiler_string_consts.plus_name,_real_type,SemanticTree.basic_function_type.dadd);
|
||||
make_binary_operator(compiler_string_consts.minus_name,_real_type,SemanticTree.basic_function_type.dsub);
|
||||
make_binary_operator(compiler_string_consts.mul_name,_real_type,SemanticTree.basic_function_type.dmul);
|
||||
make_binary_operator(compiler_string_consts.div_name,_real_type,SemanticTree.basic_function_type.ddiv);
|
||||
|
||||
//Опрерации сравнения.
|
||||
make_binary_operator(compiler_string_consts.gr_name,_real_type,SemanticTree.basic_function_type.dgr,_bool_type);
|
||||
make_binary_operator(compiler_string_consts.greq_name,_real_type,SemanticTree.basic_function_type.dgreq,_bool_type);
|
||||
make_binary_operator(compiler_string_consts.sm_name,_real_type,SemanticTree.basic_function_type.dsm,_bool_type);
|
||||
make_binary_operator(compiler_string_consts.smeq_name,_real_type,SemanticTree.basic_function_type.dsmeq,_bool_type);
|
||||
make_binary_operator(compiler_string_consts.eq_name,_real_type,SemanticTree.basic_function_type.deq,_bool_type);
|
||||
make_binary_operator(compiler_string_consts.noteq_name,_real_type,SemanticTree.basic_function_type.dnoteq,_bool_type);
|
||||
|
||||
//char type.
|
||||
//Assign.
|
||||
make_assign_operator(_char_type,SemanticTree.basic_function_type.charassign);
|
||||
|
||||
//Опрерации сравнения.
|
||||
make_binary_operator(compiler_string_consts.gr_name,_char_type,SemanticTree.basic_function_type.chargr,_bool_type);
|
||||
make_binary_operator(compiler_string_consts.greq_name,_char_type,SemanticTree.basic_function_type.chargreq,_bool_type);
|
||||
make_binary_operator(compiler_string_consts.sm_name,_char_type,SemanticTree.basic_function_type.charsm,_bool_type);
|
||||
make_binary_operator(compiler_string_consts.smeq_name,_char_type,SemanticTree.basic_function_type.charsmeq,_bool_type);
|
||||
make_binary_operator(compiler_string_consts.eq_name,_char_type,SemanticTree.basic_function_type.chareq,_bool_type);
|
||||
make_binary_operator(compiler_string_consts.noteq_name,_char_type,SemanticTree.basic_function_type.charnoteq,_bool_type);
|
||||
|
||||
//boolean type.
|
||||
//Assign.
|
||||
make_assign_operator(_bool_type,SemanticTree.basic_function_type.boolassign);
|
||||
|
||||
//Логические операции.
|
||||
//Унарные операции.
|
||||
make_unary_operator(compiler_string_consts.not_name,_bool_type,SemanticTree.basic_function_type.bnot);
|
||||
|
||||
//Логическме операции.
|
||||
make_binary_operator(compiler_string_consts.and_name,_bool_type,SemanticTree.basic_function_type.band);
|
||||
make_binary_operator(compiler_string_consts.or_name,_bool_type,SemanticTree.basic_function_type.bor);
|
||||
make_binary_operator(compiler_string_consts.xor_name,_bool_type,SemanticTree.basic_function_type.bxor);
|
||||
make_unary_operator(compiler_string_consts.not_name,_bool_type,SemanticTree.basic_function_type.boolnot);
|
||||
|
||||
//Опрерации сравнения.
|
||||
make_binary_operator(compiler_string_consts.gr_name,_bool_type,SemanticTree.basic_function_type.boolgr);
|
||||
make_binary_operator(compiler_string_consts.greq_name,_bool_type,SemanticTree.basic_function_type.boolgreq);
|
||||
make_binary_operator(compiler_string_consts.sm_name,_bool_type,SemanticTree.basic_function_type.boolsm);
|
||||
make_binary_operator(compiler_string_consts.smeq_name,_bool_type,SemanticTree.basic_function_type.boolsmeq);
|
||||
make_binary_operator(compiler_string_consts.eq_name,_bool_type,SemanticTree.basic_function_type.booleq);
|
||||
make_binary_operator(compiler_string_consts.noteq_name,_bool_type,SemanticTree.basic_function_type.boolnoteq);
|
||||
|
||||
mark_int_as_ordinal();
|
||||
mark_char_as_ordinal();
|
||||
}
|
||||
|
||||
private void init_constants(SymbolTable.Scope sc)
|
||||
{
|
||||
_true_constant=new bool_const_node(true,_bool_type);
|
||||
_false_constant=new bool_const_node(false,_bool_type);
|
||||
|
||||
_true_constant_definition=new constant_definition_node(compiler_string_consts.true_const_name,_true_constant);
|
||||
_false_constant_definition=new constant_definition_node(compiler_string_consts.false_const_name,_false_constant);
|
||||
|
||||
sc.AddSymbol(compiler_string_consts.true_const_name,new SymbolInfo(_true_constant_definition));
|
||||
sc.AddSymbol(compiler_string_consts.false_const_name,new SymbolInfo(_false_constant_definition));
|
||||
}
|
||||
|
||||
private void init_temp_methods(SymbolTable.Scope sc)
|
||||
{
|
||||
//TODO: Сделано по быстрому. Переделать.
|
||||
Type tp=typeof(Console);
|
||||
compiled_function_node cfn;
|
||||
System.Type[] arr=new System.Type[1];
|
||||
System.Reflection.MethodInfo mi;
|
||||
|
||||
arr[0]=typeof(int);
|
||||
mi=tp.GetMethod("WriteLine",arr);
|
||||
cfn=new compiled_function_node(mi);
|
||||
cfn.parameters.Clear();
|
||||
cfn.parameters.Add(new common_parameter("val",_integer_type,SemanticTree.parameter_type.value,null));
|
||||
sc.AddSymbol("writeln",new SymbolInfo(cfn));
|
||||
|
||||
arr[0]=typeof(double);
|
||||
mi=tp.GetMethod("WriteLine",arr);
|
||||
cfn=new compiled_function_node(mi);
|
||||
cfn.parameters.Clear();
|
||||
cfn.parameters.Add(new common_parameter("val",_real_type,SemanticTree.parameter_type.value,null));
|
||||
sc.AddSymbol("writeln",new SymbolInfo(cfn));
|
||||
|
||||
arr[0]=typeof(char);
|
||||
mi=tp.GetMethod("WriteLine",arr);
|
||||
cfn=new compiled_function_node(mi);
|
||||
cfn.parameters.Clear();
|
||||
cfn.parameters.Add(new common_parameter("val",_char_type,SemanticTree.parameter_type.value,null));
|
||||
sc.AddSymbol("writeln",new SymbolInfo(cfn));
|
||||
|
||||
arr[0]=typeof(bool);
|
||||
mi=tp.GetMethod("WriteLine",arr);
|
||||
cfn=new compiled_function_node(mi);
|
||||
cfn.parameters.Clear();
|
||||
cfn.parameters.Add(new common_parameter("val",_bool_type,SemanticTree.parameter_type.value,null));
|
||||
sc.AddSymbol("writeln",new SymbolInfo(cfn));
|
||||
|
||||
arr[0]=typeof(string);
|
||||
mi=tp.GetMethod("WriteLine",arr);
|
||||
cfn=new compiled_function_node(mi);
|
||||
cfn.parameters.Clear();
|
||||
cfn.parameters.Add(new common_parameter("val",_string_type,SemanticTree.parameter_type.value,null));
|
||||
sc.AddSymbol("writeln",new SymbolInfo(cfn));
|
||||
|
||||
mi=tp.GetMethod("ReadLine",new System.Type[0]);
|
||||
cfn=new compiled_function_node(mi);
|
||||
cfn.parameters.Clear();
|
||||
cfn.return_value_type=_string_type;
|
||||
sc.AddSymbol("readline",new SymbolInfo(cfn));
|
||||
|
||||
make_assign_operator(_string_type,SemanticTree.basic_function_type.objassign);
|
||||
|
||||
tp=typeof(int);
|
||||
arr[0]=typeof(string);
|
||||
mi=tp.GetMethod("Parse",arr);
|
||||
cfn=new compiled_function_node(mi);
|
||||
cfn.parameters.Clear();
|
||||
cfn.parameters.Add(new common_parameter("val",_string_type,SemanticTree.parameter_type.value,null));
|
||||
cfn.return_value_type=_integer_type;
|
||||
sc.AddSymbol("parseint",new SymbolInfo(cfn));
|
||||
|
||||
tp=typeof(double);
|
||||
arr[0]=typeof(string);
|
||||
mi=tp.GetMethod("Parse",arr);
|
||||
cfn=new compiled_function_node(mi);
|
||||
cfn.parameters.Clear();
|
||||
cfn.parameters.Add(new common_parameter("val",_string_type,SemanticTree.parameter_type.value,null));
|
||||
cfn.return_value_type=_real_type;
|
||||
sc.AddSymbol("parsereal",new SymbolInfo(cfn));
|
||||
|
||||
tp=typeof(bool);
|
||||
arr[0]=typeof(string);
|
||||
mi=tp.GetMethod("Parse",arr);
|
||||
cfn=new compiled_function_node(mi);
|
||||
cfn.parameters.Clear();
|
||||
cfn.parameters.Add(new common_parameter("val",_string_type,SemanticTree.parameter_type.value,null));
|
||||
cfn.return_value_type=_bool_type;
|
||||
sc.AddSymbol("parsebool",new SymbolInfo(cfn));
|
||||
|
||||
tp=typeof(char);
|
||||
arr[0]=typeof(string);
|
||||
mi=tp.GetMethod("Parse",arr);
|
||||
cfn=new compiled_function_node(mi);
|
||||
cfn.parameters.Clear();
|
||||
cfn.parameters.Add(new common_parameter("val",_string_type,SemanticTree.parameter_type.value,null));
|
||||
cfn.return_value_type=_char_type;
|
||||
sc.AddSymbol("parsechar",new SymbolInfo(cfn));
|
||||
common_namespace_function_node cnfn = new common_namespace_function_node("New",null);
|
||||
cnfn.parameters.Clear();
|
||||
cnfn.parameters.Add(new common_parameter("ptr",_pointer_type,SemanticTree.parameter_type.value,null));
|
||||
sc.AddSymbol("new",new SymbolInfo(cnfn));
|
||||
|
||||
cnfn = new common_namespace_function_node("Dispose",null);
|
||||
cnfn.parameters.Clear();
|
||||
cnfn.parameters.Add(new common_parameter("ptr",_pointer_type,SemanticTree.parameter_type.value,null));
|
||||
sc.AddSymbol("dispose",new SymbolInfo(cnfn));
|
||||
}
|
||||
|
||||
private void make_types()
|
||||
{
|
||||
/*
|
||||
if (_integer_type!=null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
*/
|
||||
initialize_types();
|
||||
}
|
||||
|
||||
private void init_procedures(convertion_data_and_alghoritms conv,SymbolTable.Scope susc)
|
||||
{
|
||||
pseudo_function break_procedure=new pseudo_function(compiler_string_consts.break_procedure_name,
|
||||
new pseudo_function_algorithm(conv.syntax_tree_visitor.make_break_node));
|
||||
|
||||
susc.AddSymbol(compiler_string_consts.break_procedure_name,new SymbolInfo(break_procedure));
|
||||
|
||||
pseudo_function continue_procedure=new pseudo_function(compiler_string_consts.continue_procedure_name,
|
||||
new pseudo_function_algorithm(conv.syntax_tree_visitor.make_continue_node));
|
||||
|
||||
susc.AddSymbol(compiler_string_consts.continue_procedure_name,new SymbolInfo(continue_procedure));
|
||||
}
|
||||
|
||||
private void make_system_unit(convertion_data_and_alghoritms conv)
|
||||
{
|
||||
_system_unit=new unit_node();
|
||||
_system_unit.scope=conv.symbol_table.CreateUnitInterfaceScope(new SymbolTable.Scope[0]);
|
||||
|
||||
SymbolTable.Scope susc=_system_unit.scope;
|
||||
//Добавляем типы.
|
||||
susc.AddSymbol(compiler_string_consts.integer_type_name,new SymbolInfo(_integer_type));
|
||||
susc.AddSymbol(compiler_string_consts.real_type_name,new SymbolInfo(_real_type));
|
||||
susc.AddSymbol(compiler_string_consts.char_type_name,new SymbolInfo(_char_type));
|
||||
susc.AddSymbol(compiler_string_consts.bool_type_name,new SymbolInfo(_bool_type));
|
||||
susc.AddSymbol(compiler_string_consts.string_type_name,new SymbolInfo(_string_type));
|
||||
|
||||
susc.AddSymbol(compiler_string_consts.pointer_type_name,new SymbolInfo(_pointer_type));
|
||||
init_constants(susc);
|
||||
init_procedures(conv,susc);
|
||||
init_temp_methods(susc);
|
||||
}
|
||||
|
||||
private void make_object_operator(common_type_node ctn,SemanticTree.basic_function_type bas_ft,
|
||||
string name,type_node ret_type,SemanticTree.parameter_type first_parameter_type)
|
||||
{
|
||||
parameterArrayList pars=new parameterArrayList();
|
||||
basic_function_node bfn=new basic_function_node(bas_ft,pars,ret_type);
|
||||
bfn.is_overload=true;
|
||||
basic_parameter to=new basic_parameter(compiler_string_consts.left_param_name,ctn,
|
||||
first_parameter_type,bfn);
|
||||
basic_parameter from=new basic_parameter(compiler_string_consts.right_param_name,ctn,
|
||||
SemanticTree.parameter_type.value,bfn);
|
||||
pars.Add(to);
|
||||
pars.Add(from);
|
||||
ctn.Scope.AddSymbol(name,new SymbolInfo(bfn));
|
||||
}
|
||||
|
||||
private void make_object_operator(common_type_node ctn,SemanticTree.basic_function_type bas_ft,string name,
|
||||
type_node ret_type)
|
||||
{
|
||||
make_object_operator(ctn,bas_ft,name,ret_type,SemanticTree.parameter_type.value);
|
||||
}
|
||||
|
||||
private void make_assign_operator(common_type_node ctn)
|
||||
{
|
||||
make_object_operator(ctn,SemanticTree.basic_function_type.objassign,compiler_string_consts.assign_name,
|
||||
ctn,SemanticTree.parameter_type.var);
|
||||
}
|
||||
|
||||
private void make_equivalence_operator(common_type_node ctn)
|
||||
{
|
||||
make_object_operator(ctn,SemanticTree.basic_function_type.objeq,compiler_string_consts.eq_name,_bool_type);
|
||||
}
|
||||
|
||||
private void make_not_equivalence_operator(common_type_node ctn)
|
||||
{
|
||||
make_object_operator(ctn,SemanticTree.basic_function_type.objnoteq,compiler_string_consts.noteq_name,_bool_type);
|
||||
}
|
||||
|
||||
public void init_reference_type(common_type_node ctn)
|
||||
{
|
||||
make_assign_operator(ctn);
|
||||
make_equivalence_operator(ctn);
|
||||
make_not_equivalence_operator(ctn);
|
||||
}
|
||||
|
||||
public bool is_initialized
|
||||
{
|
||||
get
|
||||
{
|
||||
return (_integer_type!=null);
|
||||
}
|
||||
}
|
||||
|
||||
public void initialize(convertion_data_and_alghoritms conv)
|
||||
{
|
||||
if (is_initialized)
|
||||
{
|
||||
return;
|
||||
}
|
||||
make_types();
|
||||
make_system_unit(conv);
|
||||
}
|
||||
|
||||
public system_lib_initializer()
|
||||
{
|
||||
compiled_type_node.set_system_lib_initializer(this);
|
||||
ref_type_node.set_system_lib_initializer(this);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,453 +0,0 @@
|
|||
using System;
|
||||
|
||||
using PascalABCCompiler.TreeRealization;
|
||||
|
||||
namespace PascalABCCompiler.TreeConverter
|
||||
{
|
||||
|
||||
//TODO: Переделать с использованием коллекций.
|
||||
///<summary>
|
||||
///Collection of unit_node
|
||||
///</summary>
|
||||
[Serializable]
|
||||
public class unit_nodeArrayList : System.Collections.IEnumerable,System.Collections.ICollection,System.ICloneable
|
||||
{
|
||||
|
||||
private System.Collections.ArrayList arr=new System.Collections.ArrayList();
|
||||
|
||||
///<summary>
|
||||
///Adds an unit_node to the end of the unit_nodeArrayList.
|
||||
///</summary>
|
||||
///<param name="value">The unit_node to be added to the end of the ArrayList. The value can be a null reference.<param>
|
||||
///<returns>The unit_nodeArrayList index at which the value has been added.</returns>
|
||||
public int Add(unit_node value)
|
||||
{
|
||||
return arr.Add(value);
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Adds the elements of an ICollection to the end of the unit_nodeArrayList
|
||||
///</summary>
|
||||
///<param name="c">The ICollection whose elements should be added to the end of the ArrayList. The collection itself cannot be a null reference (Nothing in Visual Basic), but it can contain elements that are a null reference.<param>
|
||||
///<returns>Return value is void</returns>
|
||||
private void AddRange(System.Collections.ICollection c)
|
||||
{
|
||||
arr.AddRange(c);
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Adds the elements of an unit_node[] to the end of the unit_nodeArrayList
|
||||
///</summary>
|
||||
///<param name="array">The unit_node[] whose elements should be added to the end of the ArrayList. The unit_node[] itself cannot be a null reference, but it can contain elements that are a null reference.<param>
|
||||
///<returns>Return value is void</returns>
|
||||
public void AddRange(unit_node[] array)
|
||||
{
|
||||
arr.AddRange(array);
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Adds the elements of an unit_nodeArrayList to the end of the unit_nodeArrayList
|
||||
///</summary>
|
||||
///<param name="array_list">The unit_nodeArrayList whose elements should be added to the end of the ArrayList. The unit_nodeArrayList itself cannot be a null reference, but it can contain elements that are a null reference.<param>
|
||||
///<returns>Return value is void</returns>
|
||||
public void AddRange(unit_nodeArrayList array_list)
|
||||
{
|
||||
arr.AddRange(array_list);
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Uses a binary search algorithm to locate a specific element in the sorted unit_nodeArrayList or a portion of it.
|
||||
///</summary>
|
||||
///<param name="value">The Object to locate. The value can be a null reference.<param>
|
||||
///<returns>The zero-based index of value in the sorted unit_nodeArrayList, if value is found; otherwise, a negative number, which is the bitwise complement of the index of the next element that is larger than value or, if there is no larger element, the bitwise complement of Count.</returns>
|
||||
public int BinarySearch(unit_node value)
|
||||
{
|
||||
return arr.BinarySearch(value);
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Searches the entire sorted ArrayList for an element using the specified comparer and returns the zero-based index of the element.
|
||||
///</summary>
|
||||
///<param name="value">The Object to locate. The value can be a null reference.<param>
|
||||
///<param name="comparer">The IComparer implementation to use when comparing elements. -or- A null reference (Nothing in Visual Basic) to use the default comparer that is the IComparable implementation of each element.<param>
|
||||
///<returns>The zero-based index of value in the sorted unit_nodeArrayList, if value is found; otherwise, a negative number, which is the bitwise complement of the index of the next element that is larger than value or, if there is no larger element, the bitwise complement of Count.</returns>
|
||||
public void BinarySearch(unit_node value,System.Collections.IComparer comparer)
|
||||
{
|
||||
arr.BinarySearch(value,comparer);
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Searches the entire sorted ArrayList for an element using the specified comparer and returns the zero-based index of the element.
|
||||
///</summary>
|
||||
///<param name="index">The zero-based starting index of the range to search.<param>
|
||||
///<param name="count">The length of the range to search.<param>
|
||||
///<param name="value">The Object to locate. The value can be a null reference.<param>
|
||||
///<param name="comparer">The IComparer implementation to use when comparing elements. -or- A null reference (Nothing in Visual Basic) to use the default comparer that is the IComparable implementation of each element.<param>
|
||||
///<returns>The zero-based index of value in the sorted unit_nodeArrayList, if value is found; otherwise, a negative number, which is the bitwise complement of the index of the next element that is larger than value or, if there is no larger element, the bitwise complement of Count.</returns>
|
||||
public void BinarySearch(int index,int count,unit_node value,System.Collections.IComparer comparer)
|
||||
{
|
||||
arr.BinarySearch(value,comparer);
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Creates a shallow copy of the ArrayList.
|
||||
///</summary>
|
||||
///<returns>A shallow copy of the unit_nodeArrayList.</returns>
|
||||
public virtual unit_nodeArrayList clone()
|
||||
{
|
||||
unit_nodeArrayList al=new unit_nodeArrayList();
|
||||
al.arr=(System.Collections.ArrayList)this.arr.Clone();
|
||||
return al;
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Creates a shallow copy of the ArrayList.
|
||||
///</summary>
|
||||
///<returns>A shallow copy of the unit_nodeArrayList.</returns>
|
||||
public virtual object Clone()
|
||||
{
|
||||
return this.clone();
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Determines whether an element is in the unit_nodeArrayList.
|
||||
///</summary>
|
||||
///<param name="item">The unit_node to locate in the ArrayList. The value can be a null reference.<param>
|
||||
///<returns>true if item is found in the unit_nodeArrayList; otherwise, false.</returns>
|
||||
public bool Contains(unit_node item)
|
||||
{
|
||||
return arr.Contains(item);
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Searches for the specified unit_node and returns the zero-based index of the first occurrence within the entire unit_nodeArrayList.
|
||||
///</summary>
|
||||
///<param name="value">The unit_node to locate in the unit_nodeArrayList. The value can be a null reference.<param>
|
||||
///<returns>The zero-based index of the first occurrence of value within the entire unit_nodeArrayList, if found; otherwise, -1.</returns>
|
||||
public int IndexOf(unit_node value)
|
||||
{
|
||||
return arr.IndexOf(value);
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Searches for the specified unit_node and returns the zero-based index of the first occurrence within the section of the unit_nodeArrayList that extends from the specified index to the last element.
|
||||
///</summary>
|
||||
///<param name="value">The unit_node to locate in the unit_nodeArrayList. The value can be a null reference.<param>
|
||||
///<param name="startIndex">The zero-based starting index of the search.<param>
|
||||
///<returns>The zero-based index of the first occurrence of value within the section of the unit_nodeArrayList that extends from startIndex to the last element, if found; otherwise, -1.</returns>
|
||||
public int IndexOf(unit_node value,int startIndex)
|
||||
{
|
||||
return arr.IndexOf(value,startIndex);
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Searches for the specified unit_node and returns the zero-based index of the first occurrence within the section of the unit_nodeArrayList that starts at the specified index and contains the specified number of elements.
|
||||
///</summary>
|
||||
///<param name="value">The unit_node to locate in the unit_nodeArrayList. The value can be a null reference.<param>
|
||||
///<param name="startIndex">The zero-based starting index of the search.<param>
|
||||
///<param name="count">The number of elements in the section to search.<param>
|
||||
///<returns>The zero-based index of the first occurrence of value within the section of the ArrayList that starts at startIndex and contains count number of elements, if found; otherwise, -1.</returns>
|
||||
public int IndexOf(unit_node value,int startIndex,int count)
|
||||
{
|
||||
return arr.IndexOf(value,startIndex,count);
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Inserts an element into the unit_nodeArrayList at the specified index.
|
||||
///</summary>
|
||||
///<param name="index">The zero-based index at which value should be inserted.<param>
|
||||
///<param name="value">The unit_node to insert. The value can be a null reference.<param>
|
||||
///<returns>Return value is void</returns>
|
||||
public void Insert(int index,unit_node value)
|
||||
{
|
||||
arr.Insert(index,value);
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Inserts the elements of a unit_node into the unit_nodeArrayList at the specified index.
|
||||
///</summary>
|
||||
///<param name="index">The zero-based index at which the new elements should be inserted.<param>
|
||||
///<param name="arr">The unit_node[] whose elements should be inserted into the unit_nodeArrayList. The unit_node[] itself cannot be a null reference, but it can contain elements that are a null reference.<param>
|
||||
///<returns>Return value is void</returns>
|
||||
public void InsertRange(int index,unit_node[] unit_node_arr)
|
||||
{
|
||||
arr.InsertRange(index,arr);
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Inserts the elements of a collection into the unit_nodeArrayList at the specified index.
|
||||
///</summary>
|
||||
///<param name="index">The zero-based index at which the new elements should be inserted.<param>
|
||||
///<param name="array_list">The unit_nodeArrayList whose elements should be inserted into the unit_nodeArrayList. The unit_nodeArrayList itself cannot be a null reference, but it can contain elements that are a null reference.<param>
|
||||
///<returns>Return value is void</returns>
|
||||
public void InsertRange(int index,unit_nodeArrayList array_list)
|
||||
{
|
||||
arr.InsertRange(index,array_list);
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Inserts the elements of a collection into the unit_nodeArrayList at the specified index.
|
||||
///</summary>
|
||||
///<param name="index">The zero-based index at which the new elements should be inserted.<param>
|
||||
///<param name="value">The ICollection whose elements should be inserted into the unit_nodeArrayList. The collection itself cannot be a null reference, but it can contain elements that are a null reference.<param>
|
||||
///<returns>Return value is void</returns>
|
||||
private void InsertRange(int index,System.Collections.ICollection c)
|
||||
{
|
||||
arr.InsertRange(index,c);
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Searches for the specified unit_node and returns the zero-based index of the last occurrence within the entire unit_nodeArrayList.
|
||||
///</summary>
|
||||
///<param name="value">The unit_node to locate in the unit_nodeArrayList. The value can be a null reference.<param>
|
||||
///<returns>The zero-based index of the last occurrence of value within the entire the ArrayList, if found; otherwise, -1.</returns>
|
||||
public int LastIndexOf(unit_node value)
|
||||
{
|
||||
return arr.LastIndexOf(value);
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Searches for the specified unit_node and returns the zero-based index of the last occurrence within the section of the unit_nodeArrayList that extends from the first element to the specified index.
|
||||
///</summary>
|
||||
///<param name="value">The unit_node to locate in the unit_nodeArrayList. The value can be a null reference.<param>
|
||||
///<param name="startIndex">The zero-based starting index of the backward search.<param>
|
||||
///<returns>The zero-based index of the last occurrence of value within the section of the unit_nodeArrayList that extends from the first element to startIndex, if found; otherwise, -1.</returns>
|
||||
public int LastIndexOf(unit_node value,int startIndex)
|
||||
{
|
||||
return arr.LastIndexOf(value,startIndex);
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Searches for the specified unit_node and returns the zero-based index of the last occurrence within the section of the unit_nodeArrayList that contains the specified number of elements and ends at the specified index.
|
||||
///</summary>
|
||||
///<param name="value">The unit_node to locate in the unit_nodeArrayList. The value can be a null reference.<param>
|
||||
///<param name="startIndex">The zero-based starting index of the backward search.<param>
|
||||
///<param name="count">The number of elements in the section to search.<param>
|
||||
///<returns>The zero-based index of the last occurrence of value within the section of the unit_nodeArrayList that extends from the first element to startIndex, if found; otherwise, -1.</returns>
|
||||
public int LastIndexOf(unit_node value,int startIndex,int count)
|
||||
{
|
||||
return arr.LastIndexOf(value,startIndex,count);
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Gets or sets the element at the specified index.
|
||||
///</summary>
|
||||
///<param name="index">The zero-based index of the element to get or set.<param>
|
||||
public unit_node this [int index]
|
||||
{
|
||||
get
|
||||
{
|
||||
return ((unit_node)(arr[index]));
|
||||
}
|
||||
set
|
||||
{
|
||||
arr[index]=value;
|
||||
}
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Removes the first occurrence of a specific object from the ArrayList.
|
||||
///</summary>
|
||||
///<param name="value">The unit_node to remove from the ArrayList. The value can be a null reference.<param>
|
||||
///<returns>Return value is void</returns>
|
||||
public void Remove(unit_node value)
|
||||
{
|
||||
arr.Remove(value);
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Copies the elements of a collection over a range of elements in the unit_nodeArrayList.
|
||||
///</summary>
|
||||
///<param name="index">The zero-based unit_nodeArrayList index at which to start copying the elements of c.<param>
|
||||
///<param name="c">The ICollection whose elements to copy to the ArrayList. The collection itself cannot be a null reference (Nothing in Visual Basic), but it can contain elements that are a null reference.<param>
|
||||
///<returns>Return value is void</returns>
|
||||
private void SetRange(int index,System.Collections.ICollection c)
|
||||
{
|
||||
arr.SetRange(index,c);
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Copies the elements of the unit_nodeArrayList to a new unit_node array.
|
||||
///</summary>
|
||||
///<returns>An unit_node array containing copies of the elements of the unit_nodeArrayList.</returns>
|
||||
public unit_node[] ToArray()
|
||||
{
|
||||
return ((unit_node[])(arr.ToArray(typeof(unit_node))));
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Gets the number of elements actually contained in the ArrayList.
|
||||
///</summary>
|
||||
public int Count
|
||||
{
|
||||
get
|
||||
{
|
||||
return arr.Count;
|
||||
}
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Copies the entire ArrayList to a compatible one-dimensional Array, starting at the specified index of the target array.
|
||||
///</summary>
|
||||
///<param name="array">The one-dimensional Array that is the destination of the elements copied from unit_nodeArrayList. The Array must have zero-based indexing.<param>
|
||||
///<param name="arrayIndex">The zero-based index in array at which copying begins.<param>
|
||||
///<returns>Return value is void</returns>
|
||||
public void CopyTo(System.Array array,int arrayIndex)
|
||||
{
|
||||
arr.CopyTo(array,arrayIndex);
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Copies the entire ArrayList to a compatible one-dimensional unit_node[], starting at the specified index of the target array.
|
||||
///</summary>
|
||||
///<param name="array">The one-dimensional unit_node[] that is the destination of the elements copied from unit_nodeArrayList. The Array must have zero-based indexing.<param>
|
||||
///<param name="arrayIndex">The zero-based index in array at which copying begins.<param>
|
||||
///<returns>Return value is void</returns>
|
||||
public void CopyTo(unit_node[] array,int arrayIndex)
|
||||
{
|
||||
arr.CopyTo(array,arrayIndex);
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Copies the entire unit_nodeArrayList to a compatible one-dimensional unit_node[], starting at the beginning of the target array.
|
||||
///</summary>
|
||||
///<param name="array">The one-dimensional unit_node[] that is the destination of the elements copied from unit_nodeArrayList. The Array must have zero-based indexing.<param>
|
||||
///<returns>Return value is void</returns>
|
||||
public void CopyTo(unit_node[] array)
|
||||
{
|
||||
arr.CopyTo(array);
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Copies the entire ArrayList to a compatible one-dimensional unit_node[], starting at the specified index of the target array.
|
||||
///</summary>
|
||||
///<param name="index">The zero-based index in the source ArrayList at which copying begins.<param>
|
||||
///<param name="array">The one-dimensional unit_node[] that is the destination of the elements copied from unit_nodeArrayList. The Array must have zero-based indexing.<param>
|
||||
///<param name="arrayIndex">The zero-based index in array at which copying begins.<param>
|
||||
///<param name="count">The number of elements to copy.<param>
|
||||
///<returns>Return value is void</returns>
|
||||
public void CopyTo(int index,unit_node[] array,int arrayIndex,int count)
|
||||
{
|
||||
arr.CopyTo(index,array,arrayIndex,count);
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Gets a value indicating whether access to the ArrayList is synchronized (thread-safe).
|
||||
///</summary>
|
||||
public bool IsSynchronized
|
||||
{
|
||||
get
|
||||
{
|
||||
return arr.IsSynchronized;
|
||||
}
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Gets a value indicating whether the ArrayList has a fixed size.
|
||||
///</summary>
|
||||
public bool IsFixedSize
|
||||
{
|
||||
get
|
||||
{
|
||||
return arr.IsFixedSize;
|
||||
}
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Gets a value indicating whether the ArrayList is read-only.
|
||||
///</summary>
|
||||
public bool IsReadOnly
|
||||
{
|
||||
get
|
||||
{
|
||||
return arr.IsReadOnly;
|
||||
}
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Gets an object that can be used to synchronize access to the ArrayList.
|
||||
///</summary>
|
||||
public object SyncRoot
|
||||
{
|
||||
get
|
||||
{
|
||||
return arr.SyncRoot;
|
||||
}
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Returns an enumerator for the entire ArrayList.
|
||||
///</summary>
|
||||
///<returns>An IEnumerator for the entire unit_nodeArrayList.</returns>
|
||||
public System.Collections.IEnumerator GetEnumerator()
|
||||
{
|
||||
return arr.GetEnumerator();
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Removes all elements from the ArrayList.
|
||||
///</summary>
|
||||
///<returns>Return value is void</returns>
|
||||
public void Clear()
|
||||
{
|
||||
arr.Clear();
|
||||
}
|
||||
|
||||
public int Capacity
|
||||
{
|
||||
get
|
||||
{
|
||||
return arr.Capacity;
|
||||
}
|
||||
set
|
||||
{
|
||||
arr.Capacity=value;
|
||||
}
|
||||
}
|
||||
|
||||
public unit_nodeArrayList GetRange(int index,int count)
|
||||
{
|
||||
System.Collections.ArrayList al=arr.GetRange(index,count);
|
||||
unit_nodeArrayList tnal=new unit_nodeArrayList();
|
||||
tnal.arr=al;
|
||||
return tnal;
|
||||
}
|
||||
|
||||
public void RemoveAt(int index)
|
||||
{
|
||||
arr.RemoveAt(index);
|
||||
}
|
||||
|
||||
public void RemoveRange(int index,int count)
|
||||
{
|
||||
arr.RemoveRange(index,count);
|
||||
}
|
||||
|
||||
public void Reverse()
|
||||
{
|
||||
arr.Reverse();
|
||||
}
|
||||
|
||||
public void Reverse(int index,int count)
|
||||
{
|
||||
arr.Reverse(index,count);
|
||||
}
|
||||
|
||||
public void SetRange(int index,unit_node[] tnarr)
|
||||
{
|
||||
SetRange(index,tnarr);
|
||||
}
|
||||
|
||||
public void SetRange(int index,unit_nodeArrayList tnarl)
|
||||
{
|
||||
SetRange(index,tnarl);
|
||||
}
|
||||
|
||||
public void TrimToSize()
|
||||
{
|
||||
arr.TrimToSize();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -1,453 +0,0 @@
|
|||
using System;
|
||||
|
||||
using PascalABCCompiler.TreeRealization;
|
||||
|
||||
namespace PascalABCCompiler.TreeConverter
|
||||
{
|
||||
|
||||
//TODO: Переделать с использованием коллекций.
|
||||
///<summary>
|
||||
///Collection of using_namespace
|
||||
///</summary>
|
||||
[Serializable]
|
||||
public class using_namespaceArrayList : System.Collections.IEnumerable,System.Collections.ICollection,System.ICloneable
|
||||
{
|
||||
|
||||
private System.Collections.ArrayList arr=new System.Collections.ArrayList();
|
||||
|
||||
///<summary>
|
||||
///Adds an using_namespace to the end of the using_namespaceArrayList.
|
||||
///</summary>
|
||||
///<param name="value">The using_namespace to be added to the end of the ArrayList. The value can be a null reference.<param>
|
||||
///<returns>The using_namespaceArrayList index at which the value has been added.</returns>
|
||||
public int Add(using_namespace value)
|
||||
{
|
||||
return arr.Add(value);
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Adds the elements of an ICollection to the end of the using_namespaceArrayList
|
||||
///</summary>
|
||||
///<param name="c">The ICollection whose elements should be added to the end of the ArrayList. The collection itself cannot be a null reference (Nothing in Visual Basic), but it can contain elements that are a null reference.<param>
|
||||
///<returns>Return value is void</returns>
|
||||
private void AddRange(System.Collections.ICollection c)
|
||||
{
|
||||
arr.AddRange(c);
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Adds the elements of an using_namespace[] to the end of the using_namespaceArrayList
|
||||
///</summary>
|
||||
///<param name="array">The using_namespace[] whose elements should be added to the end of the ArrayList. The using_namespace[] itself cannot be a null reference, but it can contain elements that are a null reference.<param>
|
||||
///<returns>Return value is void</returns>
|
||||
public void AddRange(using_namespace[] array)
|
||||
{
|
||||
arr.AddRange(array);
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Adds the elements of an using_namespaceArrayList to the end of the using_namespaceArrayList
|
||||
///</summary>
|
||||
///<param name="array_list">The using_namespaceArrayList whose elements should be added to the end of the ArrayList. The using_namespaceArrayList itself cannot be a null reference, but it can contain elements that are a null reference.<param>
|
||||
///<returns>Return value is void</returns>
|
||||
public void AddRange(using_namespaceArrayList array_list)
|
||||
{
|
||||
arr.AddRange(array_list);
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Uses a binary search algorithm to locate a specific element in the sorted using_namespaceArrayList or a portion of it.
|
||||
///</summary>
|
||||
///<param name="value">The Object to locate. The value can be a null reference.<param>
|
||||
///<returns>The zero-based index of value in the sorted using_namespaceArrayList, if value is found; otherwise, a negative number, which is the bitwise complement of the index of the next element that is larger than value or, if there is no larger element, the bitwise complement of Count.</returns>
|
||||
public int BinarySearch(using_namespace value)
|
||||
{
|
||||
return arr.BinarySearch(value);
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Searches the entire sorted ArrayList for an element using the specified comparer and returns the zero-based index of the element.
|
||||
///</summary>
|
||||
///<param name="value">The Object to locate. The value can be a null reference.<param>
|
||||
///<param name="comparer">The IComparer implementation to use when comparing elements. -or- A null reference (Nothing in Visual Basic) to use the default comparer that is the IComparable implementation of each element.<param>
|
||||
///<returns>The zero-based index of value in the sorted using_namespaceArrayList, if value is found; otherwise, a negative number, which is the bitwise complement of the index of the next element that is larger than value or, if there is no larger element, the bitwise complement of Count.</returns>
|
||||
public void BinarySearch(using_namespace value,System.Collections.IComparer comparer)
|
||||
{
|
||||
arr.BinarySearch(value,comparer);
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Searches the entire sorted ArrayList for an element using the specified comparer and returns the zero-based index of the element.
|
||||
///</summary>
|
||||
///<param name="index">The zero-based starting index of the range to search.<param>
|
||||
///<param name="count">The length of the range to search.<param>
|
||||
///<param name="value">The Object to locate. The value can be a null reference.<param>
|
||||
///<param name="comparer">The IComparer implementation to use when comparing elements. -or- A null reference (Nothing in Visual Basic) to use the default comparer that is the IComparable implementation of each element.<param>
|
||||
///<returns>The zero-based index of value in the sorted using_namespaceArrayList, if value is found; otherwise, a negative number, which is the bitwise complement of the index of the next element that is larger than value or, if there is no larger element, the bitwise complement of Count.</returns>
|
||||
public void BinarySearch(int index,int count,using_namespace value,System.Collections.IComparer comparer)
|
||||
{
|
||||
arr.BinarySearch(value,comparer);
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Creates a shallow copy of the ArrayList.
|
||||
///</summary>
|
||||
///<returns>A shallow copy of the using_namespaceArrayList.</returns>
|
||||
public virtual using_namespaceArrayList clone()
|
||||
{
|
||||
using_namespaceArrayList al=new using_namespaceArrayList();
|
||||
al.arr=(System.Collections.ArrayList)this.arr.Clone();
|
||||
return al;
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Creates a shallow copy of the ArrayList.
|
||||
///</summary>
|
||||
///<returns>A shallow copy of the using_namespaceArrayList.</returns>
|
||||
public virtual object Clone()
|
||||
{
|
||||
return this.clone();
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Determines whether an element is in the using_namespaceArrayList.
|
||||
///</summary>
|
||||
///<param name="item">The using_namespace to locate in the ArrayList. The value can be a null reference.<param>
|
||||
///<returns>true if item is found in the using_namespaceArrayList; otherwise, false.</returns>
|
||||
public bool Contains(using_namespace item)
|
||||
{
|
||||
return arr.Contains(item);
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Searches for the specified using_namespace and returns the zero-based index of the first occurrence within the entire using_namespaceArrayList.
|
||||
///</summary>
|
||||
///<param name="value">The using_namespace to locate in the using_namespaceArrayList. The value can be a null reference.<param>
|
||||
///<returns>The zero-based index of the first occurrence of value within the entire using_namespaceArrayList, if found; otherwise, -1.</returns>
|
||||
public int IndexOf(using_namespace value)
|
||||
{
|
||||
return arr.IndexOf(value);
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Searches for the specified using_namespace and returns the zero-based index of the first occurrence within the section of the using_namespaceArrayList that extends from the specified index to the last element.
|
||||
///</summary>
|
||||
///<param name="value">The using_namespace to locate in the using_namespaceArrayList. The value can be a null reference.<param>
|
||||
///<param name="startIndex">The zero-based starting index of the search.<param>
|
||||
///<returns>The zero-based index of the first occurrence of value within the section of the using_namespaceArrayList that extends from startIndex to the last element, if found; otherwise, -1.</returns>
|
||||
public int IndexOf(using_namespace value,int startIndex)
|
||||
{
|
||||
return arr.IndexOf(value,startIndex);
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Searches for the specified using_namespace and returns the zero-based index of the first occurrence within the section of the using_namespaceArrayList that starts at the specified index and contains the specified number of elements.
|
||||
///</summary>
|
||||
///<param name="value">The using_namespace to locate in the using_namespaceArrayList. The value can be a null reference.<param>
|
||||
///<param name="startIndex">The zero-based starting index of the search.<param>
|
||||
///<param name="count">The number of elements in the section to search.<param>
|
||||
///<returns>The zero-based index of the first occurrence of value within the section of the ArrayList that starts at startIndex and contains count number of elements, if found; otherwise, -1.</returns>
|
||||
public int IndexOf(using_namespace value,int startIndex,int count)
|
||||
{
|
||||
return arr.IndexOf(value,startIndex,count);
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Inserts an element into the using_namespaceArrayList at the specified index.
|
||||
///</summary>
|
||||
///<param name="index">The zero-based index at which value should be inserted.<param>
|
||||
///<param name="value">The using_namespace to insert. The value can be a null reference.<param>
|
||||
///<returns>Return value is void</returns>
|
||||
public void Insert(int index,using_namespace value)
|
||||
{
|
||||
arr.Insert(index,value);
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Inserts the elements of a using_namespace into the using_namespaceArrayList at the specified index.
|
||||
///</summary>
|
||||
///<param name="index">The zero-based index at which the new elements should be inserted.<param>
|
||||
///<param name="arr">The using_namespace[] whose elements should be inserted into the using_namespaceArrayList. The using_namespace[] itself cannot be a null reference, but it can contain elements that are a null reference.<param>
|
||||
///<returns>Return value is void</returns>
|
||||
public void InsertRange(int index,using_namespace[] using_namespace_arr)
|
||||
{
|
||||
arr.InsertRange(index,arr);
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Inserts the elements of a collection into the using_namespaceArrayList at the specified index.
|
||||
///</summary>
|
||||
///<param name="index">The zero-based index at which the new elements should be inserted.<param>
|
||||
///<param name="array_list">The using_namespaceArrayList whose elements should be inserted into the using_namespaceArrayList. The using_namespaceArrayList itself cannot be a null reference, but it can contain elements that are a null reference.<param>
|
||||
///<returns>Return value is void</returns>
|
||||
public void InsertRange(int index,using_namespaceArrayList array_list)
|
||||
{
|
||||
arr.InsertRange(index,array_list);
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Inserts the elements of a collection into the using_namespaceArrayList at the specified index.
|
||||
///</summary>
|
||||
///<param name="index">The zero-based index at which the new elements should be inserted.<param>
|
||||
///<param name="value">The ICollection whose elements should be inserted into the using_namespaceArrayList. The collection itself cannot be a null reference, but it can contain elements that are a null reference.<param>
|
||||
///<returns>Return value is void</returns>
|
||||
private void InsertRange(int index,System.Collections.ICollection c)
|
||||
{
|
||||
arr.InsertRange(index,c);
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Searches for the specified using_namespace and returns the zero-based index of the last occurrence within the entire using_namespaceArrayList.
|
||||
///</summary>
|
||||
///<param name="value">The using_namespace to locate in the using_namespaceArrayList. The value can be a null reference.<param>
|
||||
///<returns>The zero-based index of the last occurrence of value within the entire the ArrayList, if found; otherwise, -1.</returns>
|
||||
public int LastIndexOf(using_namespace value)
|
||||
{
|
||||
return arr.LastIndexOf(value);
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Searches for the specified using_namespace and returns the zero-based index of the last occurrence within the section of the using_namespaceArrayList that extends from the first element to the specified index.
|
||||
///</summary>
|
||||
///<param name="value">The using_namespace to locate in the using_namespaceArrayList. The value can be a null reference.<param>
|
||||
///<param name="startIndex">The zero-based starting index of the backward search.<param>
|
||||
///<returns>The zero-based index of the last occurrence of value within the section of the using_namespaceArrayList that extends from the first element to startIndex, if found; otherwise, -1.</returns>
|
||||
public int LastIndexOf(using_namespace value,int startIndex)
|
||||
{
|
||||
return arr.LastIndexOf(value,startIndex);
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Searches for the specified using_namespace and returns the zero-based index of the last occurrence within the section of the using_namespaceArrayList that contains the specified number of elements and ends at the specified index.
|
||||
///</summary>
|
||||
///<param name="value">The using_namespace to locate in the using_namespaceArrayList. The value can be a null reference.<param>
|
||||
///<param name="startIndex">The zero-based starting index of the backward search.<param>
|
||||
///<param name="count">The number of elements in the section to search.<param>
|
||||
///<returns>The zero-based index of the last occurrence of value within the section of the using_namespaceArrayList that extends from the first element to startIndex, if found; otherwise, -1.</returns>
|
||||
public int LastIndexOf(using_namespace value,int startIndex,int count)
|
||||
{
|
||||
return arr.LastIndexOf(value,startIndex,count);
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Gets or sets the element at the specified index.
|
||||
///</summary>
|
||||
///<param name="index">The zero-based index of the element to get or set.<param>
|
||||
public using_namespace this [int index]
|
||||
{
|
||||
get
|
||||
{
|
||||
return ((using_namespace)(arr[index]));
|
||||
}
|
||||
set
|
||||
{
|
||||
arr[index]=value;
|
||||
}
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Removes the first occurrence of a specific object from the ArrayList.
|
||||
///</summary>
|
||||
///<param name="value">The using_namespace to remove from the ArrayList. The value can be a null reference.<param>
|
||||
///<returns>Return value is void</returns>
|
||||
public void Remove(using_namespace value)
|
||||
{
|
||||
arr.Remove(value);
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Copies the elements of a collection over a range of elements in the using_namespaceArrayList.
|
||||
///</summary>
|
||||
///<param name="index">The zero-based using_namespaceArrayList index at which to start copying the elements of c.<param>
|
||||
///<param name="c">The ICollection whose elements to copy to the ArrayList. The collection itself cannot be a null reference (Nothing in Visual Basic), but it can contain elements that are a null reference.<param>
|
||||
///<returns>Return value is void</returns>
|
||||
private void SetRange(int index,System.Collections.ICollection c)
|
||||
{
|
||||
arr.SetRange(index,c);
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Copies the elements of the using_namespaceArrayList to a new using_namespace array.
|
||||
///</summary>
|
||||
///<returns>An using_namespace array containing copies of the elements of the using_namespaceArrayList.</returns>
|
||||
public using_namespace[] ToArray()
|
||||
{
|
||||
return ((using_namespace[])(arr.ToArray(typeof(using_namespace))));
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Gets the number of elements actually contained in the ArrayList.
|
||||
///</summary>
|
||||
public int Count
|
||||
{
|
||||
get
|
||||
{
|
||||
return arr.Count;
|
||||
}
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Copies the entire ArrayList to a compatible one-dimensional Array, starting at the specified index of the target array.
|
||||
///</summary>
|
||||
///<param name="array">The one-dimensional Array that is the destination of the elements copied from using_namespaceArrayList. The Array must have zero-based indexing.<param>
|
||||
///<param name="arrayIndex">The zero-based index in array at which copying begins.<param>
|
||||
///<returns>Return value is void</returns>
|
||||
public void CopyTo(System.Array array,int arrayIndex)
|
||||
{
|
||||
arr.CopyTo(array,arrayIndex);
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Copies the entire ArrayList to a compatible one-dimensional using_namespace[], starting at the specified index of the target array.
|
||||
///</summary>
|
||||
///<param name="array">The one-dimensional using_namespace[] that is the destination of the elements copied from using_namespaceArrayList. The Array must have zero-based indexing.<param>
|
||||
///<param name="arrayIndex">The zero-based index in array at which copying begins.<param>
|
||||
///<returns>Return value is void</returns>
|
||||
public void CopyTo(using_namespace[] array,int arrayIndex)
|
||||
{
|
||||
arr.CopyTo(array,arrayIndex);
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Copies the entire using_namespaceArrayList to a compatible one-dimensional using_namespace[], starting at the beginning of the target array.
|
||||
///</summary>
|
||||
///<param name="array">The one-dimensional using_namespace[] that is the destination of the elements copied from using_namespaceArrayList. The Array must have zero-based indexing.<param>
|
||||
///<returns>Return value is void</returns>
|
||||
public void CopyTo(using_namespace[] array)
|
||||
{
|
||||
arr.CopyTo(array);
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Copies the entire ArrayList to a compatible one-dimensional using_namespace[], starting at the specified index of the target array.
|
||||
///</summary>
|
||||
///<param name="index">The zero-based index in the source ArrayList at which copying begins.<param>
|
||||
///<param name="array">The one-dimensional using_namespace[] that is the destination of the elements copied from using_namespaceArrayList. The Array must have zero-based indexing.<param>
|
||||
///<param name="arrayIndex">The zero-based index in array at which copying begins.<param>
|
||||
///<param name="count">The number of elements to copy.<param>
|
||||
///<returns>Return value is void</returns>
|
||||
public void CopyTo(int index,using_namespace[] array,int arrayIndex,int count)
|
||||
{
|
||||
arr.CopyTo(index,array,arrayIndex,count);
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Gets a value indicating whether access to the ArrayList is synchronized (thread-safe).
|
||||
///</summary>
|
||||
public bool IsSynchronized
|
||||
{
|
||||
get
|
||||
{
|
||||
return arr.IsSynchronized;
|
||||
}
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Gets a value indicating whether the ArrayList has a fixed size.
|
||||
///</summary>
|
||||
public bool IsFixedSize
|
||||
{
|
||||
get
|
||||
{
|
||||
return arr.IsFixedSize;
|
||||
}
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Gets a value indicating whether the ArrayList is read-only.
|
||||
///</summary>
|
||||
public bool IsReadOnly
|
||||
{
|
||||
get
|
||||
{
|
||||
return arr.IsReadOnly;
|
||||
}
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Gets an object that can be used to synchronize access to the ArrayList.
|
||||
///</summary>
|
||||
public object SyncRoot
|
||||
{
|
||||
get
|
||||
{
|
||||
return arr.SyncRoot;
|
||||
}
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Returns an enumerator for the entire ArrayList.
|
||||
///</summary>
|
||||
///<returns>An IEnumerator for the entire using_namespaceArrayList.</returns>
|
||||
public System.Collections.IEnumerator GetEnumerator()
|
||||
{
|
||||
return arr.GetEnumerator();
|
||||
}
|
||||
|
||||
///<summary>
|
||||
///Removes all elements from the ArrayList.
|
||||
///</summary>
|
||||
///<returns>Return value is void</returns>
|
||||
public void Clear()
|
||||
{
|
||||
arr.Clear();
|
||||
}
|
||||
|
||||
public int Capacity
|
||||
{
|
||||
get
|
||||
{
|
||||
return arr.Capacity;
|
||||
}
|
||||
set
|
||||
{
|
||||
arr.Capacity=value;
|
||||
}
|
||||
}
|
||||
|
||||
public using_namespaceArrayList GetRange(int index,int count)
|
||||
{
|
||||
System.Collections.ArrayList al=arr.GetRange(index,count);
|
||||
using_namespaceArrayList tnal=new using_namespaceArrayList();
|
||||
tnal.arr=al;
|
||||
return tnal;
|
||||
}
|
||||
|
||||
public void RemoveAt(int index)
|
||||
{
|
||||
arr.RemoveAt(index);
|
||||
}
|
||||
|
||||
public void RemoveRange(int index,int count)
|
||||
{
|
||||
arr.RemoveRange(index,count);
|
||||
}
|
||||
|
||||
public void Reverse()
|
||||
{
|
||||
arr.Reverse();
|
||||
}
|
||||
|
||||
public void Reverse(int index,int count)
|
||||
{
|
||||
arr.Reverse(index,count);
|
||||
}
|
||||
|
||||
public void SetRange(int index,using_namespace[] tnarr)
|
||||
{
|
||||
SetRange(index,tnarr);
|
||||
}
|
||||
|
||||
public void SetRange(int index,using_namespaceArrayList tnarl)
|
||||
{
|
||||
SetRange(index,tnarl);
|
||||
}
|
||||
|
||||
public void TrimToSize()
|
||||
{
|
||||
arr.TrimToSize();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -1,293 +1,27 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<ProjectType>Local</ProjectType>
|
||||
<ProductVersion>9.0.30729</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{1C9C945A-586D-42A2-A06B-65D84FA7FF78}</ProjectGuid>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<AssemblyName>TreeConverter</AssemblyName>
|
||||
<DefaultClientScript>JScript</DefaultClientScript>
|
||||
<DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout>
|
||||
<DefaultTargetSchema>IE50</DefaultTargetSchema>
|
||||
<DelaySign>false</DelaySign>
|
||||
<OutputType>Library</OutputType>
|
||||
<RootNamespace>TreeConverter</RootNamespace>
|
||||
<RunPostBuildEvent>OnBuildSuccess</RunPostBuildEvent>
|
||||
<DocumentationFile>bin\TreeConverter.dll.xml</DocumentationFile>
|
||||
<GenerateSerializationAssemblies>Auto</GenerateSerializationAssemblies>
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<FileUpgradeFlags>
|
||||
</FileUpgradeFlags>
|
||||
<OldToolsVersion>4.0</OldToolsVersion>
|
||||
<UpgradeBackupLocation>
|
||||
</UpgradeBackupLocation>
|
||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||
<TargetFrameworkProfile />
|
||||
<PublishUrl>publish\</PublishUrl>
|
||||
<Install>true</Install>
|
||||
<InstallFrom>Disk</InstallFrom>
|
||||
<UpdateEnabled>false</UpdateEnabled>
|
||||
<UpdateMode>Foreground</UpdateMode>
|
||||
<UpdateInterval>7</UpdateInterval>
|
||||
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
|
||||
<UpdatePeriodically>false</UpdatePeriodically>
|
||||
<UpdateRequired>false</UpdateRequired>
|
||||
<MapFileExtensions>true</MapFileExtensions>
|
||||
<ApplicationRevision>0</ApplicationRevision>
|
||||
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
||||
<IsWebBootstrapper>false</IsWebBootstrapper>
|
||||
<UseApplicationTrust>false</UseApplicationTrust>
|
||||
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<TargetFramework>net40</TargetFramework>
|
||||
|
||||
<OutputPath>..\bin\</OutputPath>
|
||||
<AllowUnsafeBlocks>false</AllowUnsafeBlocks>
|
||||
<BaseAddress>285212672</BaseAddress>
|
||||
<CheckForOverflowUnderflow>false</CheckForOverflowUnderflow>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<FileAlignment>4096</FileAlignment>
|
||||
<NoStdLib>false</NoStdLib>
|
||||
<Optimize>false</Optimize>
|
||||
<RegisterForComInterop>false</RegisterForComInterop>
|
||||
<RemoveIntegerChecks>false</RemoveIntegerChecks>
|
||||
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<DebugType>Full</DebugType>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<DocumentationFile>
|
||||
</DocumentationFile>
|
||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<UseVSHostingProcess>true</UseVSHostingProcess>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<OutputPath>..\bin\</OutputPath>
|
||||
<AllowUnsafeBlocks>false</AllowUnsafeBlocks>
|
||||
<BaseAddress>285212672</BaseAddress>
|
||||
<CheckForOverflowUnderflow>false</CheckForOverflowUnderflow>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<DebugSymbols>false</DebugSymbols>
|
||||
<FileAlignment>4096</FileAlignment>
|
||||
<NoStdLib>false</NoStdLib>
|
||||
<Optimize>true</Optimize>
|
||||
<RegisterForComInterop>false</RegisterForComInterop>
|
||||
<RemoveIntegerChecks>false</RemoveIntegerChecks>
|
||||
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<DebugType>none</DebugType>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<DocumentationFile>
|
||||
</DocumentationFile>
|
||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
||||
|
||||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Reference Include="System">
|
||||
<Name>System</Name>
|
||||
</Reference>
|
||||
<Reference Include="System.Data">
|
||||
<Name>System.Data</Name>
|
||||
</Reference>
|
||||
<Reference Include="System.Numerics" />
|
||||
<Reference Include="System.Xml">
|
||||
<Name>System.XML</Name>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Config\AssemblyInfo.cs">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Collections\associated_collection.cs" />
|
||||
<Compile Include="Collections\extandable_collection.cs" />
|
||||
<Compile Include="Collections\stack.cs" />
|
||||
<Compile Include="LambdaExpressions\Closure\CapturedVariablesSubstitutionClassGenerator.cs" />
|
||||
<Compile Include="LambdaExpressions\Closure\CapturedVariablesSubstitutionsManager.cs" />
|
||||
<Compile Include="LambdaExpressions\Closure\CapturedVariablesSubstitutor.cs" />
|
||||
<Compile Include="LambdaExpressions\Closure\CapturedVariablesTreeBuilder.cs" />
|
||||
<Compile Include="LambdaExpressions\Closure\CapturedVariablesTreeNode.cs" />
|
||||
<Compile Include="LambdaExpressions\LambdaCapturedSymbolsHelper.cs" />
|
||||
<Compile Include="LambdaExpressions\LambdaProcessingState.cs" />
|
||||
<Compile Include="LambdaExpressions\LambdaResultTypeInferrer.cs" />
|
||||
<Compile Include="LambdaExpressions\LambdaSearcher.cs" />
|
||||
<Compile Include="NetWrappers\AssemblyResolveScope.cs" />
|
||||
<Compile Include="TreeConversion\HasCapturedLambdaParameterInInternalLambdaBody.cs" />
|
||||
<Compile Include="TreeConversion\InitializationDataForConverting.cs" />
|
||||
<Compile Include="TreeConversion\LambdaHelper.cs" />
|
||||
<Compile Include="SymbolTable\DSST\AreaArrayTable.cs">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="SymbolTable\DSST\AreaListArray.cs">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="SymbolTable\DSST\DSHashTable.cs">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="SymbolTable\DSST\SymbolTable.cs">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="SymbolTable\SymbolInfoArrayList.cs">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="SymbolTable\symbol_information.cs">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="SystemLib\StaticSystemLib.cs" />
|
||||
<Compile Include="SystemLib\static_executors.cs" />
|
||||
<Compile Include="SystemLib\SystemLibInitializer.cs" />
|
||||
<Compile Include="TreeConversion\compilation_context.cs">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="TreeConversion\Collections.cs" />
|
||||
<Compile Include="TreeConversion\CompilationErrors.cs">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="TreeConversion\convertion_data_and_alghoritms.cs">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="TreeConversion\exceptions.cs">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="TreeConversion\motivation.cs">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="TreeConversion\name_reflector.cs">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="NetWrappers\NetHelper.cs">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="TreeConversion\returner.cs">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="TreeConversion\SemanticRulesConstants.cs" />
|
||||
<Compile Include="TreeConversion\semantic_checks_for_sugar.cs" />
|
||||
<Compile Include="TreeConversion\SubtreeCreator.cs" />
|
||||
<Compile Include="TreeConversion\SyntaxTreeVisitorNodes\Assign.cs" />
|
||||
<Compile Include="TreeConversion\SyntaxTreeVisitorNodes\Foreach.cs" />
|
||||
<Compile Include="TreeConversion\SyntaxTreeVisitorNodes\ForLoop.cs" />
|
||||
<Compile Include="TreeConversion\SyntaxTreeVisitorNodes\Patterns.cs" />
|
||||
<Compile Include="TreeConversion\syntax_tree_visitor.cs">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="TreeConversion\type_constructor.cs" />
|
||||
<Compile Include="TreeRealization\attributes.cs" />
|
||||
<Compile Include="TreeRealization\events.cs" />
|
||||
<Compile Include="TreeRealization\lambda_node.cs" />
|
||||
<Compile Include="TreeRealization\templates.cs" />
|
||||
<Compile Include="TreeRealization\CompilerDirective.cs" />
|
||||
<Compile Include="TreeRealization\exceptions.cs" />
|
||||
<Compile Include="TreeRealization\Expressions.cs" />
|
||||
<Compile Include="TreeRealization\type_table.cs">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="TreeRealization\base_nodes.cs">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="TreeRealization\Collections.cs" />
|
||||
<Compile Include="TreeRealization\constants.cs">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="TreeRealization\constant_definitions.cs" />
|
||||
<Compile Include="TreeRealization\document.cs">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="TreeRealization\functions.cs">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="TreeRealization\functions_calls.cs" />
|
||||
<Compile Include="TreeRealization\internal_interfaces.cs">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="TreeRealization\location.cs">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="TreeRealization\namespaces.cs">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="TreeRealization\programs.cs">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="TreeRealization\propertyes.cs">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="TreeRealization\statements.cs">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="TreeRealization\types.cs">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="TreeRealization\units.cs">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="TreeRealization\using.cs">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="TreeRealization\variables.cs">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="TreeRealization\variable_references.cs">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\CompilerTools\CompilerTools.csproj">
|
||||
<Project>{A25D26FB-3043-4BCF-833E-E3F4C3BE795E}</Project>
|
||||
<Name>CompilerTools</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Errors\Errors.csproj">
|
||||
<Project>{44A01F9E-DCE7-470C-AAE5-C3DE0CCBEE3B}</Project>
|
||||
<Name>Errors</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Localization\Localization.csproj">
|
||||
<Project>{2DE2842F-0912-4251-BC0F-480854C44A13}</Project>
|
||||
<Name>Localization</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\SemanticTree\SemanticTree.csproj">
|
||||
<Name>SemanticTree</Name>
|
||||
<Project>{613E0DDA-AA8A-437C-AC45-507B47429FF9}</Project>
|
||||
<Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\StringConstants\StringConstants.csproj">
|
||||
<Project>{e8aefbf9-0113-4fa4-be45-6cda555498b7}</Project>
|
||||
<Name>StringConstants</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\SyntaxTree\SyntaxTree.csproj">
|
||||
<Name>SyntaxTree</Name>
|
||||
<Project>{C2CAC65A-B2AE-4CCC-B067-E6B8E75DF73A}</Project>
|
||||
<Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package>
|
||||
</ProjectReference>
|
||||
<Compile Include="..\Configuration\GlobalAssemblyInfo.cs">
|
||||
<Link>Config\GlobalAssemblyInfo.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="TreeConversion\CompilationWarnings.cs" />
|
||||
<Compile Include="TreeConversion\CompilerDirectivesToSyntaxTreeNodesLinker.cs" />
|
||||
<Compile Include="OpenMP\OpenMP.cs" />
|
||||
<Compile Include="OpenMP\VarFinderSyntaxVisitor.cs" />
|
||||
<Compile Include="TreeRealization\generics.cs" />
|
||||
<Compile Include="TreeRealization\labels.cs" />
|
||||
<ProjectReference Include="..\Yield\YieldHelpers\YieldHelpers.csproj">
|
||||
<Project>{ce5c55c2-a11c-4e94-a9fa-3fc6ca3e4c09}</Project>
|
||||
<Name>YieldHelpers</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>Клиентский профиль .NET Framework 3.5 SP1</ProductName>
|
||||
<Install>false</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>Установщик Windows 3.1</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
<ProjectReference Include="..\CompilerTools\CompilerTools.csproj" />
|
||||
<ProjectReference Include="..\Errors\Errors.csproj" />
|
||||
<ProjectReference Include="..\Localization\Localization.csproj" />
|
||||
<ProjectReference Include="..\SemanticTree\SemanticTree.csproj" />
|
||||
<ProjectReference Include="..\StringConstants\StringConstants.csproj" />
|
||||
<ProjectReference Include="..\SyntaxTree\SyntaxTree.csproj" />
|
||||
<ProjectReference Include="..\Yield\YieldHelpers\YieldHelpers.csproj" />
|
||||
</ItemGroup>
|
||||
<ItemGroup />
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
</Project>
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,4 +1,4 @@
|
|||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Project>
|
||||
<PropertyGroup>
|
||||
<PrepareForRunDependsOn>$(PrepareForRunDependsOn);MyPostBuildTarget</PrepareForRunDependsOn>
|
||||
</PropertyGroup>
|
||||
|
|
|
|||
|
|
@ -1,146 +1,31 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net40</TargetFramework>
|
||||
|
||||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
||||
|
||||
<OutputPath>..\..\..\..\bin\</OutputPath>
|
||||
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- вероятно секцию можно удалить -->
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>8.0.50215</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{35CEF10F-2D4C-45F2-9DD1-161E0FEC583C}</ProjectGuid>
|
||||
<RootNamespace>ICSharpCode.Core</RootNamespace>
|
||||
<AssemblyName>ICSharpCode.Core</AssemblyName>
|
||||
<OutputTarget>Library</OutputTarget>
|
||||
<NoStdLib>False</NoStdLib>
|
||||
<NoConfig>False</NoConfig>
|
||||
<OutputType>Library</OutputType>
|
||||
<SignAssembly>false</SignAssembly>
|
||||
<AssemblyOriginatorKeyFile>..\..\ICSharpCode.SharpDevelop.snk</AssemblyOriginatorKeyFile>
|
||||
<BaseAddress>83886080</BaseAddress>
|
||||
<RunPostBuildEvent>Always</RunPostBuildEvent>
|
||||
<DelaySign>False</DelaySign>
|
||||
<AssemblyOriginatorKeyMode>File</AssemblyOriginatorKeyMode>
|
||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||
<AllowUnsafeBlocks>False</AllowUnsafeBlocks>
|
||||
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
|
||||
<SourceAnalysisOverrideSettingsFile>C:\Users\daniel\AppData\Roaming\ICSharpCode/SharpDevelop3.0\Settings.SourceAnalysis</SourceAnalysisOverrideSettingsFile>
|
||||
<TargetFrameworkProfile>
|
||||
</TargetFrameworkProfile>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<Optimize>False</Optimize>
|
||||
<DebugType>Full</DebugType>
|
||||
<DocumentationFile>..\..\..\..\bin\ICSharpCode.Core.xml</DocumentationFile>
|
||||
<NoWarn>1591</NoWarn>
|
||||
<DefineConstants>DEBUG</DefineConstants>
|
||||
<CheckForOverflowUnderflow>True</CheckForOverflowUnderflow>
|
||||
<OutputPath>..\..\..\..\bin\</OutputPath>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<UseVSHostingProcess>true</UseVSHostingProcess>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugSymbols>False</DebugSymbols>
|
||||
<Optimize>True</Optimize>
|
||||
<CheckForOverflowUnderflow>False</CheckForOverflowUnderflow>
|
||||
<OutputPath>..\..\..\..\bin\</OutputPath>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Platform)' == 'AnyCPU' ">
|
||||
<RegisterForComInterop>False</RegisterForComInterop>
|
||||
<GenerateSerializationAssemblies>Auto</GenerateSerializationAssemblies>
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<FileAlignment>4096</FileAlignment>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
|
||||
<StartAction>Program</StartAction>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core">
|
||||
<RequiredTargetFramework>3.5</RequiredTargetFramework>
|
||||
</Reference>
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Compile Include="..\..\GlobalAssemblyInfo.cs">
|
||||
<Link>Configuration\GlobalAssemblyInfo.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="Configuration\AssemblyInfo.cs" />
|
||||
<Compile Include="Src\AddInTree\AddIn\AddIn.cs" />
|
||||
<Compile Include="Src\AddInTree\AddIn\AddInLoadException.cs" />
|
||||
<Compile Include="Src\AddInTree\AddIn\AssemblyLocator.cs" />
|
||||
<Compile Include="Src\AddInTree\AddIn\BuildItemArgs.cs" />
|
||||
<Compile Include="Src\AddInTree\AddIn\Codon.cs" />
|
||||
<Compile Include="Src\AddInTree\AddIn\ComplexCondition.cs" />
|
||||
<Compile Include="Src\AddInTree\AddIn\Condition.cs" />
|
||||
<Compile Include="Src\AddInTree\AddIn\ExtensionPath.cs" />
|
||||
<Compile Include="Src\AddInTree\AddIn\IConditionEvaluator.cs" />
|
||||
<Compile Include="Src\AddInTree\AddIn\ICondition.cs" />
|
||||
<Compile Include="Src\AddInTree\AddIn\IDoozer.cs" />
|
||||
<Compile Include="Src\AddInTree\AddIn\Runtime.cs" />
|
||||
<Compile Include="Src\AddInTree\AddIn\DefaultConditionEvaluators\CompareConditionEvaluator.cs" />
|
||||
<Compile Include="Src\AddInTree\AddIn\DefaultConditionEvaluators\LazyConditionEvaluator.cs" />
|
||||
<Compile Include="Src\AddInTree\AddIn\DefaultConditionEvaluators\OwnerStateConditionEvaluator.cs" />
|
||||
<Compile Include="Src\AddInTree\AddIn\DefaultDoozers\ClassDoozer.cs" />
|
||||
<Compile Include="Src\AddInTree\AddIn\DefaultDoozers\FileFilterDoozer.cs" />
|
||||
<Compile Include="Src\AddInTree\AddIn\DefaultDoozers\Icon\IconDescriptor.cs" />
|
||||
<Compile Include="Src\AddInTree\AddIn\DefaultDoozers\Icon\IconDoozer.cs" />
|
||||
<Compile Include="Src\AddInTree\AddIn\DefaultDoozers\LazyDoozer.cs" />
|
||||
<Compile Include="Src\AddInTree\AddIn\DefaultDoozers\MenuItem\AbstractCheckableMenuCommand.cs" />
|
||||
<Compile Include="Src\AddInTree\AddIn\DefaultDoozers\MenuItem\AbstractMenuCommand.cs" />
|
||||
<Compile Include="Src\AddInTree\AddIn\DefaultDoozers\MenuItem\ICheckableMenuCommand.cs" />
|
||||
<Compile Include="Src\AddInTree\AddIn\DefaultDoozers\MenuItem\IMenuCommand.cs" />
|
||||
<Compile Include="Src\AddInTree\AddIn\DefaultDoozers\MenuItem\MenuItemDoozer.cs" />
|
||||
<Compile Include="Src\AddInTree\AddIn\DefaultDoozers\ToolBarItem\AbstractComboBoxCommand.cs" />
|
||||
<Compile Include="Src\AddInTree\AddIn\DefaultDoozers\ToolBarItem\IComboBoxCommand.cs" />
|
||||
<Compile Include="Src\AddInTree\AddIn\DefaultDoozers\ToolBarItem\ToolBarItemDoozer.cs" />
|
||||
<Compile Include="Src\AddInTree\AddInTree.cs" />
|
||||
<Compile Include="Src\AddInTree\AddInTreeNode.cs" />
|
||||
<Compile Include="Src\AddInTree\TopologicalSort.cs" />
|
||||
<Compile Include="Src\AddInTree\TreePathNotFoundException.cs" />
|
||||
<Compile Include="Src\CoreException.cs" />
|
||||
<Compile Include="Src\ExtensionMethods.cs" />
|
||||
<Compile Include="Src\Services\AnalyticsMonitor\AnalyticsMonitorService.cs" />
|
||||
<Compile Include="Src\Services\AnalyticsMonitor\IAnalyticsMonitor.cs" />
|
||||
<Compile Include="Src\Services\ApplicationStateInfoService.cs" />
|
||||
<Compile Include="Src\Services\FileUtility\FileName.cs" />
|
||||
<Compile Include="Src\Services\FileUtility\FileNameEventHandler.cs" />
|
||||
<Compile Include="Src\Services\FileUtility\FileUtility.cs" />
|
||||
<Compile Include="Src\Services\FileUtility\FileUtility.Minimal.cs" />
|
||||
<Compile Include="Src\Services\LoggingService\TextWriterLoggingService.cs" />
|
||||
<Compile Include="Src\Services\LoggingService\ILoggingService.cs" />
|
||||
<Compile Include="Src\Services\MessageService\TextWriterMessageService.cs" />
|
||||
<Compile Include="Src\Services\MessageService\IMessageService.cs" />
|
||||
<Compile Include="Src\Services\MessageService\MessageService.cs" />
|
||||
<Compile Include="Src\Services\PropertyService\Properties.cs" />
|
||||
<Compile Include="Src\Services\PropertyService\PropertyChangedEvent.cs" />
|
||||
<Compile Include="Src\Services\PropertyService\PropertyService.cs" />
|
||||
<Compile Include="Src\Services\RegistryService\RegistryService.cs" />
|
||||
<Compile Include="Src\Services\ResourceService\ResourceNotFoundException.cs" />
|
||||
<Compile Include="Src\Services\ResourceService\ResourceService.cs" />
|
||||
<Compile Include="Src\Services\ServiceManager.cs" />
|
||||
<Compile Include="Src\Services\ServiceNotFoundException.cs" />
|
||||
<Compile Include="Src\Services\StringParser\IStringTagProvider.cs" />
|
||||
<Compile Include="Src\Services\StringParser\PropertyObjectTagProvider.cs" />
|
||||
<Compile Include="Src\Services\StringParser\StringParser.cs" />
|
||||
<Compile Include="Src\Util\AbstractCommand.cs" />
|
||||
<Compile Include="Src\Util\CallbackOnDispose.cs" />
|
||||
<Compile Include="Src\Util\DebugTextWriter.cs" />
|
||||
<Compile Include="Src\Util\ICommand.cs" />
|
||||
<Compile Include="Src\AddInTree\AddIn\IBuildItemsModifier.cs" />
|
||||
<Compile Include="Src\AddInTree\AddIn\DefaultDoozers\IncludeDoozer.cs" />
|
||||
<Compile Include="Src\Services\LoggingService\LoggingService.cs" />
|
||||
<Compile Include="Src\AddInTree\AddIn\Manifest.cs" />
|
||||
<Compile Include="Src\AddInTree\AddIn\AddInReference.cs" />
|
||||
<Compile Include="Src\AddInTree\CoreStartup.cs" />
|
||||
<Compile Include="Src\AddInTree\AddInManager.cs" />
|
||||
<Compile Include="Src\AddInTree\AddIn\DefaultDoozers\StringDoozer.cs" />
|
||||
<Compile Include="Src\AddInTree\AddIn\DefaultDoozers\ToolBarItem\AbstractTextBoxCommand.cs" />
|
||||
<Compile Include="Src\AddInTree\AddIn\DefaultDoozers\ToolBarItem\ITextBoxCommand.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
|
||||
<Content Include="..\..\..\..\data\schemas\AddIn.xsd">
|
||||
<Link>Src\AddInTree\AddIn\AddIn.xsd</Link>
|
||||
</Content>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
</Project>
|
||||
|
|
@ -1,122 +1,38 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<ProjectGuid>{7E4A7172-7FF5-48D0-B719-7CD959DD1AC9}</ProjectGuid>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<OutputType>Library</OutputType>
|
||||
<RootNamespace>ICSharpCode.Core.Presentation</RootNamespace>
|
||||
<AssemblyName>ICSharpCode.Core.Presentation</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<SourceAnalysisOverrideSettingsFile>"C:\Program Files\SharpDevelop\3.0\bin\..\AddIns\AddIns\Misc\SourceAnalysis\Settings.SourceAnalysis"</SourceAnalysisOverrideSettingsFile>
|
||||
<TargetFramework>net40</TargetFramework>
|
||||
|
||||
<UseWPF>true</UseWPF>
|
||||
|
||||
<OutputPath>..\..\..\bin\</OutputPath>
|
||||
<AllowUnsafeBlocks>False</AllowUnsafeBlocks>
|
||||
<NoStdLib>False</NoStdLib>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
|
||||
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
||||
|
||||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- вероятно секцию можно удалить -->
|
||||
<PropertyGroup>
|
||||
<SignAssembly>false</SignAssembly>
|
||||
<AssemblyOriginatorKeyFile>..\ICSharpCode.SharpDevelop.snk</AssemblyOriginatorKeyFile>
|
||||
<DelaySign>False</DelaySign>
|
||||
<AssemblyOriginatorKeyMode>File</AssemblyOriginatorKeyMode>
|
||||
<RunCodeAnalysis>False</RunCodeAnalysis>
|
||||
<CodeAnalysisRules>-Microsoft.Performance#CA1810</CodeAnalysisRules>
|
||||
<TargetFrameworkProfile>
|
||||
</TargetFrameworkProfile>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>Full</DebugType>
|
||||
<Optimize>False</Optimize>
|
||||
<CheckForOverflowUnderflow>True</CheckForOverflowUnderflow>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
|
||||
<DebugSymbols>False</DebugSymbols>
|
||||
<DebugType>None</DebugType>
|
||||
<Optimize>True</Optimize>
|
||||
<CheckForOverflowUnderflow>False</CheckForOverflowUnderflow>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Platform)' == 'AnyCPU' ">
|
||||
<RegisterForComInterop>False</RegisterForComInterop>
|
||||
<GenerateSerializationAssemblies>Auto</GenerateSerializationAssemblies>
|
||||
<BaseAddress>4194304</BaseAddress>
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<FileAlignment>4096</FileAlignment>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'">
|
||||
<UseVSHostingProcess>true</UseVSHostingProcess>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.Targets" />
|
||||
<ItemGroup>
|
||||
<Reference Include="PresentationCore">
|
||||
<RequiredTargetFramework>3.0</RequiredTargetFramework>
|
||||
</Reference>
|
||||
<Reference Include="PresentationFramework">
|
||||
<RequiredTargetFramework>3.0</RequiredTargetFramework>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core">
|
||||
<RequiredTargetFramework>3.5</RequiredTargetFramework>
|
||||
</Reference>
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Xml" />
|
||||
<Reference Include="System.Xaml" />
|
||||
<Reference Include="WindowsBase">
|
||||
<RequiredTargetFramework>3.0</RequiredTargetFramework>
|
||||
</Reference>
|
||||
<Reference Include="WindowsFormsIntegration" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Compile Include="..\GlobalAssemblyInfo.cs">
|
||||
<Link>Properties\GlobalAssemblyInfo.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="ExtendedPopup.cs" />
|
||||
<Compile Include="GlobalStyles.cs" />
|
||||
<Compile Include="Menu\MenuCheckBox.cs" />
|
||||
<Compile Include="NotBoolConverter.cs" />
|
||||
<Compile Include="RestrictDesiredSize.cs" />
|
||||
<Compile Include="SortableGridViewColumn.cs" />
|
||||
<Compile Include="ConditionalSeparator.cs" />
|
||||
<Compile Include="DropDownButton.cs" />
|
||||
<Compile Include="ExtensionMethods.cs" />
|
||||
<Compile Include="GetBitmapExtension.cs" />
|
||||
<Compile Include="IOptionBindingContainer.cs" />
|
||||
<Compile Include="IStatusUpdate.cs" />
|
||||
<Compile Include="LanguageChangeWeakEventManager.cs">
|
||||
<DependentUpon>IStatusUpdate.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="LocalizeExtension.cs" />
|
||||
<Compile Include="Menu\IMenuItemBuilder.cs" />
|
||||
<Compile Include="Menu\MenuCommand.cs" />
|
||||
<Compile Include="Menu\MenuService.cs" />
|
||||
<Compile Include="Menu\CoreMenuItem.cs" />
|
||||
<Compile Include="NativeMethods.cs" />
|
||||
<Compile Include="OptionBinding.cs" />
|
||||
<Compile Include="PresentationResourceService.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="SplitButton.cs" />
|
||||
<Compile Include="StringParseExtension.cs" />
|
||||
<Compile Include="ToolBar\ToolBarButton.cs" />
|
||||
<Compile Include="ToolBar\ToolBarCheckBox.cs" />
|
||||
<Compile Include="ToolBar\ToolBarComboBox.cs" />
|
||||
<Compile Include="ToolBar\ToolBarDropDownButton.cs" />
|
||||
<Compile Include="ToolBar\ToolBarService.cs" />
|
||||
<Compile Include="ToolBar\ToolBarSplitButton.cs" />
|
||||
|
||||
<CodeAnalysisDictionary Include="Properties\CodeAnalysisDictionary.xml" />
|
||||
<Compile Include="WpfTreeNavigation.cs" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Page Include="themes\Aero.NormalColor.xaml" />
|
||||
<Page Include="themes\generic.xaml" />
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\Core\Project\ICSharpCode.Core.csproj">
|
||||
<Project>{35CEF10F-2D4C-45F2-9DD1-161E0FEC583C}</Project>
|
||||
<Name>ICSharpCode.Core</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Core\Project\ICSharpCode.Core.csproj" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
|
|
@ -1,126 +1,31 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<ProjectGuid>{857CA1A3-FC88-4BE0-AB6A-D1EE772AB288}</ProjectGuid>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<OutputType>Library</OutputType>
|
||||
<RootNamespace>ICSharpCode.Core.WinForms</RootNamespace>
|
||||
<AssemblyName>ICSharpCode.Core.WinForms</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<TargetFramework>net40</TargetFramework>
|
||||
|
||||
<UseWindowsForms>true</UseWindowsForms>
|
||||
|
||||
<OutputPath>..\..\..\bin\</OutputPath>
|
||||
<AllowUnsafeBlocks>False</AllowUnsafeBlocks>
|
||||
<NoStdLib>False</NoStdLib>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
|
||||
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
||||
|
||||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- секция требует дополнительного внимания -->
|
||||
<PropertyGroup>
|
||||
<SignAssembly>false</SignAssembly>
|
||||
<AssemblyOriginatorKeyFile>..\ICSharpCode.SharpDevelop.snk</AssemblyOriginatorKeyFile>
|
||||
<DelaySign>False</DelaySign>
|
||||
<AssemblyOriginatorKeyMode>File</AssemblyOriginatorKeyMode>
|
||||
<TargetFrameworkProfile>
|
||||
</TargetFrameworkProfile>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>Full</DebugType>
|
||||
<Optimize>False</Optimize>
|
||||
<CheckForOverflowUnderflow>True</CheckForOverflowUnderflow>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
|
||||
<DebugSymbols>False</DebugSymbols>
|
||||
<DebugType>None</DebugType>
|
||||
<Optimize>True</Optimize>
|
||||
<CheckForOverflowUnderflow>False</CheckForOverflowUnderflow>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Platform)' == 'AnyCPU' ">
|
||||
<RegisterForComInterop>False</RegisterForComInterop>
|
||||
<GenerateSerializationAssemblies>Auto</GenerateSerializationAssemblies>
|
||||
<BaseAddress>4194304</BaseAddress>
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<FileAlignment>4096</FileAlignment>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'">
|
||||
<UseVSHostingProcess>true</UseVSHostingProcess>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.Targets" />
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Compile Include="..\GlobalAssemblyInfo.cs">
|
||||
<Link>Properties\GlobalAssemblyInfo.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="Menu\IStatusUpdate.cs" />
|
||||
<Compile Include="Menu\ISubmenuBuilder.cs" />
|
||||
<Compile Include="Menu\Menu.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Menu\MenuCheckBox.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Menu\MenuCommand.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Menu\MenuSeparator.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Menu\MenuService.cs" />
|
||||
<Compile Include="MessageService\CustomDialog.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="MessageService\IDialogMessageService.cs" />
|
||||
<Compile Include="MessageService\InputBox.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="MessageService\SaveErrorChooseDialog.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="MessageService\SaveErrorInformDialog.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="MessageService\WinFormsMessageService.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="ToolBar\ToolBarCheckBox.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="ToolBar\ToolBarComboBox.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="ToolBar\ToolBarCommand.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="ToolBar\ToolBarDropDownButton.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="ToolBar\ToolBarLabel.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="ToolBar\ToolBarSeparator.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="ToolBar\ToolBarService.cs" />
|
||||
<Compile Include="ToolBar\ToolBarSplitButton.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="ToolBar\ToolBarTextBox.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Util\ClipboardWrapper.cs" />
|
||||
<Compile Include="Util\NativeMethods.cs" />
|
||||
<Compile Include="Util\RightToLeftConverter.cs" />
|
||||
<Compile Include="WinFormsResourceService.cs" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\Core\Project\ICSharpCode.Core.csproj">
|
||||
<Project>{35CEF10F-2D4C-45F2-9DD1-161E0FEC583C}</Project>
|
||||
<Name>ICSharpCode.Core</Name>
|
||||
<Private>False</Private>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Core\Project\ICSharpCode.Core.csproj" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
|
|
@ -1,123 +1,27 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="12.0">
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>9.0.30729</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{BC35F816-54EE-47E0-89FC-1C66EAC155A9}</ProjectGuid>
|
||||
<TargetFramework>net471</TargetFramework>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
|
||||
<RootNamespace>VisualPascalABC</RootNamespace>
|
||||
<AssemblyName>PascalABCNET</AssemblyName>
|
||||
|
||||
<ApplicationIcon>_ABC13.ico</ApplicationIcon>
|
||||
<TargetZone>LocalIntranet</TargetZone>
|
||||
<GenerateManifests>false</GenerateManifests>
|
||||
<AllowUnsafeBlocks>False</AllowUnsafeBlocks>
|
||||
<NoStdLib>False</NoStdLib>
|
||||
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
|
||||
<FileUpgradeFlags>
|
||||
</FileUpgradeFlags>
|
||||
<OldToolsVersion>4.0</OldToolsVersion>
|
||||
<UpgradeBackupLocation>
|
||||
</UpgradeBackupLocation>
|
||||
<TargetFrameworkVersion>v4.7.1</TargetFrameworkVersion>
|
||||
<IsWebBootstrapper>false</IsWebBootstrapper>
|
||||
<TargetFrameworkProfile />
|
||||
<PublishUrl>publish\</PublishUrl>
|
||||
<Install>true</Install>
|
||||
<InstallFrom>Disk</InstallFrom>
|
||||
<UpdateEnabled>false</UpdateEnabled>
|
||||
<UpdateMode>Foreground</UpdateMode>
|
||||
<UpdateInterval>7</UpdateInterval>
|
||||
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
|
||||
<UpdatePeriodically>false</UpdatePeriodically>
|
||||
<UpdateRequired>false</UpdateRequired>
|
||||
<MapFileExtensions>true</MapFileExtensions>
|
||||
<ApplicationRevision>0</ApplicationRevision>
|
||||
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
||||
<UseApplicationTrust>false</UseApplicationTrust>
|
||||
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>..\bin\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<UseVSHostingProcess>false</UseVSHostingProcess>
|
||||
<RunCodeAnalysis>false</RunCodeAnalysis>
|
||||
|
||||
<EnableDefaultItems>false</EnableDefaultItems>
|
||||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
||||
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>PdbOnly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>..\bin\</OutputPath>
|
||||
<DefineConstants>RELEASE;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<DebugSymbols>false</DebugSymbols>
|
||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
|
||||
<CheckForOverflowUnderflow>False</CheckForOverflowUnderflow>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Platform)' == 'AnyCPU' ">
|
||||
<RegisterForComInterop>False</RegisterForComInterop>
|
||||
<GenerateSerializationAssemblies>Auto</GenerateSerializationAssemblies>
|
||||
<BaseAddress>4194304</BaseAddress>
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<FileAlignment>4096</FileAlignment>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
|
||||
<ApplicationManifest>app.manifest</ApplicationManifest>
|
||||
|
||||
<OutputPath>..\bin\</OutputPath>
|
||||
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
||||
<AssemblyName>PascalABCNET</AssemblyName>
|
||||
|
||||
<GenerateResourceUsePreserializedResources>true</GenerateResourceUsePreserializedResources>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Debugger.Core">
|
||||
<HintPath>..\Libraries\Debugger.Core.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="ICSharpCode.SharpDevelop.Dom, Version=4.2.1.8805, Culture=neutral, PublicKeyToken=f829da5c02be14ee, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>FormsDesignerBinding\Libs\ICSharpCode.SharpDevelop.Dom.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="ICSharpCode.SharpDevelop.Widgets, Version=4.2.1.8805, Culture=neutral, PublicKeyToken=f829da5c02be14ee, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>FormsDesignerBinding\Libs\ICSharpCode.SharpDevelop.Widgets.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="ICSharpCode.TextEditor">
|
||||
<HintPath>..\Libraries\ICSharpCode.TextEditor.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Build.Engine" />
|
||||
<Reference Include="Microsoft.Build.Framework" />
|
||||
<Reference Include="Microsoft.Build.Tasks" />
|
||||
<Reference Include="PresentationCore" />
|
||||
<Reference Include="PresentationFramework" />
|
||||
<Reference Include="SharpDisasm">
|
||||
<HintPath>..\Libraries\SharpDisasm.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Deployment" />
|
||||
<Reference Include="System.Design" />
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Messaging" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Windows.Forms.DataVisualization" />
|
||||
<Reference Include="System.Xaml" />
|
||||
<Reference Include="System.Xml" />
|
||||
<Reference Include="UIAutomationProvider" />
|
||||
<Reference Include="WeifenLuo.WinFormsUI.Docking">
|
||||
<HintPath>..\Libraries\WeifenLuo.WinFormsUI.Docking.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="WindowsBase" />
|
||||
<Reference Include="WindowsFormsIntegration" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Compile Include="ABCHealth.cs">
|
||||
<SubType>Form</SubType>
|
||||
|
|
@ -642,44 +546,18 @@
|
|||
<Compile Include="DS\Utils\ProcessRunner.cs" />
|
||||
<Compile Include="DS\VisualEnvironmentCompiler.cs" />
|
||||
<Compile Include="VisualStates.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\new_file.bmp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\new_file1.bmp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\open.bmp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\save.bmp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\save_all.bmp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\undo.bmp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\redo.bmp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\cut.bmp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\copy.bmp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\paste.bmp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\start.bmp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\stop.bmp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="ABCNET32.ico" />
|
||||
<None Include="Resources\format1.png" />
|
||||
<None Include="Resources\format2.png" />
|
||||
|
|
@ -790,104 +668,71 @@
|
|||
<DependentUpon>RunArguments.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
|
||||
|
||||
<WCFMetadata Include="Service References\" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\CodeCompletion\CodeCompletion.csproj">
|
||||
<Project>{1AB15F6E-C22E-499A-A7ED-54BA7DE5CFA6}</Project>
|
||||
<Name>CodeCompletion</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\CompilerTools\CompilerTools.csproj">
|
||||
<Project>{a25d26fb-3043-4bcf-833e-e3f4c3be795e}</Project>
|
||||
<Name>CompilerTools</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Compiler\Compiler.csproj">
|
||||
<Project>{1E42361A-EDA3-4872-88AF-A3AAF600D36D}</Project>
|
||||
<Name>Compiler</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Errors\Errors.csproj">
|
||||
<Project>{44A01F9E-DCE7-470C-AAE5-C3DE0CCBEE3B}</Project>
|
||||
<Name>Errors</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Localization\Localization.csproj">
|
||||
<Project>{2DE2842F-0912-4251-BC0F-480854C44A13}</Project>
|
||||
<Name>Localization</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\LanguageIntegrator\LanguageIntegrator.csproj">
|
||||
<Project>{a48d9069-d569-4110-9252-a10f139b669b}</Project>
|
||||
<Name>LanguageIntegrator</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\ParserTools\ParserTools.csproj">
|
||||
<Project>{AF2EFD7B-69DD-4B43-AF65-B59B29349C23}</Project>
|
||||
<Name>ParserTools</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\PluginsSupport\PluginsSupport.csproj">
|
||||
<Project>{cfc683f8-0165-4a9f-9c3f-bb8c5bab507f}</Project>
|
||||
<Name>PluginsSupport</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\StringConstants\StringConstants.csproj">
|
||||
<Project>{e8aefbf9-0113-4fa4-be45-6cda555498b7}</Project>
|
||||
<Name>StringConstants</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\SyntaxTree\SyntaxTree.csproj">
|
||||
<Project>{C2CAC65A-B2AE-4CCC-B067-E6B8E75DF73A}</Project>
|
||||
<Name>SyntaxTree</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\TreeConverter\TreeConverter.csproj">
|
||||
<Project>{1C9C945A-586D-42A2-A06B-65D84FA7FF78}</Project>
|
||||
<Name>TreeConverter</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\SyntaxVisitors\SyntaxVisitors.csproj">
|
||||
<Project>{a9ab4282-83b4-41a7-86c3-e5bf6a45e7e2}</Project>
|
||||
<Name>SyntaxVisitors</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="FormsDesignerBinding\Dependecies\src\Main\Base\Project\ICSharpCode.SharpDevelop.csproj">
|
||||
<Project>{2748AD25-9C63-4E12-877B-4DCE96FBED54}</Project>
|
||||
<Name>ICSharpCode.SharpDevelop</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="FormsDesignerBinding\Dependecies\src\Main\Core\Project\ICSharpCode.Core.csproj">
|
||||
<Project>{35CEF10F-2D4C-45F2-9DD1-161E0FEC583C}</Project>
|
||||
<Name>ICSharpCode.Core</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="FormsDesignerBinding\Dependecies\src\Main\ICSharpCode.Core.Presentation\ICSharpCode.Core.Presentation.csproj">
|
||||
<Project>{7E4A7172-7FF5-48D0-B719-7CD959DD1AC9}</Project>
|
||||
<Name>ICSharpCode.Core.Presentation</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="FormsDesignerBinding\Dependecies\src\Main\ICSharpCode.Core.WinForms\ICSharpCode.Core.WinForms.csproj">
|
||||
<Project>{857CA1A3-FC88-4BE0-AB6A-D1EE772AB288}</Project>
|
||||
<Name>ICSharpCode.Core.WinForms</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\pabcnetc\PABCNETC.csproj">
|
||||
<Name>PABCNETC</Name>
|
||||
<Project>{2aef58a1-2bcf-4c4b-ab03-f44bbb2628e6}</Project>
|
||||
<ProjectReference Include="../CodeCompletion/CodeCompletion.csproj" />
|
||||
<ProjectReference Include="../CompilerTools/CompilerTools.csproj" />
|
||||
<ProjectReference Include="../Compiler/Compiler.csproj" />
|
||||
<ProjectReference Include="../Errors/Errors.csproj" />
|
||||
<ProjectReference Include="../Localization/Localization.csproj" />
|
||||
<ProjectReference Include="../LanguageIntegrator/LanguageIntegrator.csproj" />
|
||||
<ProjectReference Include="../ParserTools/ParserTools.csproj" />
|
||||
<ProjectReference Include="../PluginsSupport/PluginsSupport.csproj" />
|
||||
<ProjectReference Include="../StringConstants/StringConstants.csproj" />
|
||||
<ProjectReference Include="../SyntaxTree/SyntaxTree.csproj" />
|
||||
<ProjectReference Include="../TreeConverter/TreeConverter.csproj" />
|
||||
<ProjectReference Include="../SyntaxVisitors/SyntaxVisitors.csproj" />
|
||||
<ProjectReference Include="FormsDesignerBinding/Dependecies/src/Main/Base/Project/ICSharpCode.SharpDevelop.csproj" />
|
||||
<ProjectReference Include="FormsDesignerBinding/Dependecies/src/Main/Core/Project/ICSharpCode.Core.csproj" />
|
||||
<ProjectReference Include="FormsDesignerBinding/Dependecies/src/Main/ICSharpCode.Core.Presentation/ICSharpCode.Core.Presentation.csproj" />
|
||||
<ProjectReference Include="FormsDesignerBinding/Dependecies/src/Main/ICSharpCode.Core.WinForms/ICSharpCode.Core.WinForms.csproj" />
|
||||
<ProjectReference Include="../pabcnetc/PABCNETC.csproj">
|
||||
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>Клиентский профиль .NET Framework 3.5 SP1</ProductName>
|
||||
<Install>false</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>Установщик Windows 3.1</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
<PackageReference Include="System.Resources.Extensions" Version="9.0.0" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<WCFMetadata Include="Service References\" />
|
||||
<Reference Include="Debugger.Core">
|
||||
<HintPath>..\Libraries\Debugger.Core.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="ICSharpCode.SharpDevelop.Dom, Version=4.2.1.8805, Culture=neutral, PublicKeyToken=f829da5c02be14ee, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>FormsDesignerBinding\Libs\ICSharpCode.SharpDevelop.Dom.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="ICSharpCode.SharpDevelop.Widgets, Version=4.2.1.8805, Culture=neutral, PublicKeyToken=f829da5c02be14ee, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>FormsDesignerBinding\Libs\ICSharpCode.SharpDevelop.Widgets.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="ICSharpCode.TextEditor">
|
||||
<HintPath>..\Libraries\ICSharpCode.TextEditor.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Build.Engine" />
|
||||
<Reference Include="Microsoft.Build.Framework" />
|
||||
<Reference Include="PresentationCore" />
|
||||
<Reference Include="PresentationFramework" />
|
||||
<Reference Include="SharpDisasm">
|
||||
<HintPath>..\Libraries\SharpDisasm.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Deployment" />
|
||||
<Reference Include="System.Design" />
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Messaging" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Windows.Forms.DataVisualization" />
|
||||
<Reference Include="System.Xaml" />
|
||||
<Reference Include="UIAutomationProvider" />
|
||||
<Reference Include="WeifenLuo.WinFormsUI.Docking">
|
||||
<HintPath>..\Libraries\WeifenLuo.WinFormsUI.Docking.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="WindowsBase" />
|
||||
<Reference Include="WindowsFormsIntegration" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
</Project>
|
||||
|
|
@ -14,6 +14,6 @@
|
|||
<bindingRedirect oldVersion="0.0.0.0-4.2.1.8805" newVersion="4.2.1.8805"/>
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
||||
|
||||
|
||||
</runtime>
|
||||
</configuration>
|
||||
|
|
|
|||
|
|
@ -1,115 +1,26 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="12.0">
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>9.0.30729</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{3BF3CEB4-0E08-485A-8E6D-924841818B01}</ProjectGuid>
|
||||
<TargetFramework>net471</TargetFramework>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<OutputPath>..\bin\</OutputPath>
|
||||
|
||||
<RootNamespace>VisualPascalABC</RootNamespace>
|
||||
<AssemblyName>PascalABCNETLinux</AssemblyName>
|
||||
<ApplicationIcon>_ABC13.ico</ApplicationIcon>
|
||||
<TargetZone>LocalIntranet</TargetZone>
|
||||
<GenerateManifests>false</GenerateManifests>
|
||||
<AllowUnsafeBlocks>False</AllowUnsafeBlocks>
|
||||
<NoStdLib>False</NoStdLib>
|
||||
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
|
||||
<FileUpgradeFlags>
|
||||
</FileUpgradeFlags>
|
||||
<OldToolsVersion>4.0</OldToolsVersion>
|
||||
<UpgradeBackupLocation>
|
||||
</UpgradeBackupLocation>
|
||||
<TargetFrameworkVersion>v4.7.1</TargetFrameworkVersion>
|
||||
<IsWebBootstrapper>false</IsWebBootstrapper>
|
||||
<TargetFrameworkProfile />
|
||||
<PublishUrl>publish\</PublishUrl>
|
||||
<Install>true</Install>
|
||||
<InstallFrom>Disk</InstallFrom>
|
||||
<UpdateEnabled>false</UpdateEnabled>
|
||||
<UpdateMode>Foreground</UpdateMode>
|
||||
<UpdateInterval>7</UpdateInterval>
|
||||
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
|
||||
<UpdatePeriodically>false</UpdatePeriodically>
|
||||
<UpdateRequired>false</UpdateRequired>
|
||||
<MapFileExtensions>true</MapFileExtensions>
|
||||
<ApplicationRevision>0</ApplicationRevision>
|
||||
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
||||
<UseApplicationTrust>false</UseApplicationTrust>
|
||||
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>..\bin\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<UseVSHostingProcess>false</UseVSHostingProcess>
|
||||
<RunCodeAnalysis>false</RunCodeAnalysis>
|
||||
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>PdbOnly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>..\bin\</OutputPath>
|
||||
<DefineConstants>RELEASE;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<DebugSymbols>false</DebugSymbols>
|
||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
|
||||
<CheckForOverflowUnderflow>False</CheckForOverflowUnderflow>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Platform)' == 'AnyCPU' ">
|
||||
<RegisterForComInterop>False</RegisterForComInterop>
|
||||
<GenerateSerializationAssemblies>Auto</GenerateSerializationAssemblies>
|
||||
<BaseAddress>4194304</BaseAddress>
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<FileAlignment>4096</FileAlignment>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
|
||||
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
||||
<EnableDefaultItems>false</EnableDefaultItems>
|
||||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
||||
|
||||
<ApplicationManifest>app.manifest</ApplicationManifest>
|
||||
|
||||
<GenerateResourceUsePreserializedResources>true</GenerateResourceUsePreserializedResources>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Debugger.Core">
|
||||
<HintPath>..\Libraries\Debugger.Core.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Build.Engine" />
|
||||
<Reference Include="Microsoft.Build.Framework" />
|
||||
<Reference Include="Microsoft.Build.Tasks" />
|
||||
<Reference Include="SharpDisasm">
|
||||
<HintPath>..\Libraries\SharpDisasm.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Deployment" />
|
||||
<Reference Include="System.Design" />
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Messaging" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Windows.Forms.DataVisualization" />
|
||||
<Reference Include="System.Xaml" />
|
||||
<Reference Include="System.Xml" />
|
||||
<Reference Include="UIAutomationProvider" />
|
||||
<Reference Include="WeifenLuo.WinFormsUI.Docking.ThemeVS2005Linux, Version=1.0.0.0, Culture=neutral, PublicKeyToken=5cded1a1a0a7b481, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\Libraries\WeifenLuo.WinFormsUI.Docking.ThemeVS2005Linux.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="WeifenLuo.WinFormsUI.DockingLinux, Version=1.0.0.0, Culture=neutral, PublicKeyToken=5cded1a1a0a7b481, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\Libraries\WeifenLuo.WinFormsUI.DockingLinux.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="WindowsBase" />
|
||||
<Reference Include="WindowsFormsIntegration" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Compile Include="ABCHealth.cs">
|
||||
<SubType>Form</SubType>
|
||||
|
|
@ -758,41 +669,17 @@
|
|||
<Compile Include="DS\Utils\ProcessRunner.cs" />
|
||||
<Compile Include="DS\VisualEnvironmentCompiler.cs" />
|
||||
<Compile Include="VisualStates.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\new_file1.bmp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\open.bmp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\save.bmp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\save_all.bmp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\undo.bmp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\redo.bmp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\cut.bmp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\copy.bmp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\paste.bmp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\start.bmp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\stop.bmp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="ABCNET32.ico" />
|
||||
<None Include="Resources\format1.png" />
|
||||
<None Include="Resources\format2.png" />
|
||||
|
|
@ -905,92 +792,57 @@
|
|||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\CodeCompletion\CodeCompletion.csproj">
|
||||
<Project>{1AB15F6E-C22E-499A-A7ED-54BA7DE5CFA6}</Project>
|
||||
<Name>CodeCompletion</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\CompilerTools\CompilerTools.csproj">
|
||||
<Project>{a25d26fb-3043-4bcf-833e-e3f4c3be795e}</Project>
|
||||
<Name>CompilerTools</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Compiler\Compiler.csproj">
|
||||
<Project>{1E42361A-EDA3-4872-88AF-A3AAF600D36D}</Project>
|
||||
<Name>Compiler</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Errors\Errors.csproj">
|
||||
<Project>{44A01F9E-DCE7-470C-AAE5-C3DE0CCBEE3B}</Project>
|
||||
<Name>Errors</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\ICSharpCode.TextEditorLinux\ICSharpCode.TextEditorLinux.csproj">
|
||||
<Project>{2d18be89-d210-49eb-a9dd-2246fbb3df6d}</Project>
|
||||
<Name>ICSharpCode.TextEditorLinux</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Localization\Localization.csproj">
|
||||
<Project>{2DE2842F-0912-4251-BC0F-480854C44A13}</Project>
|
||||
<Name>Localization</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\LanguageIntegrator\LanguageIntegrator.csproj">
|
||||
<Project>{a48d9069-d569-4110-9252-a10f139b669b}</Project>
|
||||
<Name>LanguageIntegrator</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\ParserTools\ParserTools.csproj">
|
||||
<Project>{AF2EFD7B-69DD-4B43-AF65-B59B29349C23}</Project>
|
||||
<Name>ParserTools</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\PluginsSupportLinux\PluginsSupportLinux.csproj">
|
||||
<Project>{e009e776-9280-4061-b5ca-7f0c3e2d3c2a}</Project>
|
||||
<Name>PluginsSupportLinux</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\StringConstants\StringConstants.csproj">
|
||||
<Project>{e8aefbf9-0113-4fa4-be45-6cda555498b7}</Project>
|
||||
<Name>StringConstants</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\SyntaxTree\SyntaxTree.csproj">
|
||||
<Project>{C2CAC65A-B2AE-4CCC-B067-E6B8E75DF73A}</Project>
|
||||
<Name>SyntaxTree</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\TreeConverter\TreeConverter.csproj">
|
||||
<Project>{1C9C945A-586D-42A2-A06B-65D84FA7FF78}</Project>
|
||||
<Name>TreeConverter</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\SyntaxVisitors\SyntaxVisitors.csproj">
|
||||
<Project>{a9ab4282-83b4-41a7-86c3-e5bf6a45e7e2}</Project>
|
||||
<Name>SyntaxVisitors</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\pabcnetc\PABCNETC.csproj">
|
||||
<Name>PABCNETC</Name>
|
||||
<Project>{2aef58a1-2bcf-4c4b-ab03-f44bbb2628e6}</Project>
|
||||
<ProjectReference Include="../CodeCompletion/CodeCompletion.csproj" />
|
||||
<ProjectReference Include="../CompilerTools/CompilerTools.csproj" />
|
||||
<ProjectReference Include="../Compiler/Compiler.csproj" />
|
||||
<ProjectReference Include="../Errors/Errors.csproj" />
|
||||
<ProjectReference Include="../ICSharpCode.TextEditorLinux/ICSharpCode.TextEditorLinux.csproj" />
|
||||
<ProjectReference Include="../Localization/Localization.csproj" />
|
||||
<ProjectReference Include="../LanguageIntegrator/LanguageIntegrator.csproj" />
|
||||
<ProjectReference Include="../ParserTools/ParserTools.csproj" />
|
||||
<ProjectReference Include="../PluginsSupportLinux/PluginsSupportLinux.csproj" />
|
||||
<ProjectReference Include="../StringConstants/StringConstants.csproj" />
|
||||
<ProjectReference Include="../SyntaxTree/SyntaxTree.csproj" />
|
||||
<ProjectReference Include="../TreeConverter/TreeConverter.csproj" />
|
||||
<ProjectReference Include="../SyntaxVisitors/SyntaxVisitors.csproj" />
|
||||
<ProjectReference Include="../pabcnetc/PABCNETC.csproj">
|
||||
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>Клиентский профиль .NET Framework 3.5 SP1</ProductName>
|
||||
<Install>false</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>Установщик Windows 3.1</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
<Reference Include="Debugger.Core">
|
||||
<HintPath>..\Libraries\Debugger.Core.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Build.Engine" />
|
||||
<Reference Include="Microsoft.Build.Framework" />
|
||||
<Reference Include="Microsoft.Build.Tasks" />
|
||||
<Reference Include="SharpDisasm">
|
||||
<HintPath>..\Libraries\SharpDisasm.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Messaging" />
|
||||
<Reference Include="System.Design" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Windows.Forms.DataVisualization" />
|
||||
<Reference Include="System.Xaml" />
|
||||
<Reference Include="System.Xml" />
|
||||
<Reference Include="UIAutomationProvider" />
|
||||
<Reference Include="WeifenLuo.WinFormsUI.Docking.ThemeVS2005Linux, Version=1.0.0.0, Culture=neutral, PublicKeyToken=5cded1a1a0a7b481, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\Libraries\WeifenLuo.WinFormsUI.Docking.ThemeVS2005Linux.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="WeifenLuo.WinFormsUI.DockingLinux, Version=1.0.0.0, Culture=neutral, PublicKeyToken=5cded1a1a0a7b481, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\Libraries\WeifenLuo.WinFormsUI.DockingLinux.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="WindowsBase" />
|
||||
<Reference Include="WindowsFormsIntegration" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<WCFMetadata Include="Service References\" />
|
||||
<PackageReference Include="System.Resources.Extensions" Version="9.0.0" />
|
||||
</ItemGroup>
|
||||
<ItemGroup />
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
</Project>
|
||||
|
|
@ -9,6 +9,5 @@
|
|||
<bindingRedirect oldVersion="0.0.0.0-4.2.1.8805" newVersion="4.2.1.8805"/>
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
||||
|
||||
</runtime>
|
||||
</configuration>
|
||||
|
|
|
|||
|
|
@ -1,42 +1,22 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{3AA92A45-7142-4C59-B12F-56DAE32A40E3}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>CodeTemplatesPlugin</RootNamespace>
|
||||
<AssemblyName>CodeTemplatesPlugin</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.7.1</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<Deterministic>true</Deterministic>
|
||||
<TargetFrameworkProfile />
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<TargetFramework>net471</TargetFramework>
|
||||
|
||||
<OutputPath>..\..\bin\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
<UseVSHostingProcess>false</UseVSHostingProcess>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>..\..\bin\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
||||
|
||||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
||||
|
||||
<GenerateResourceUsePreserializedResources>true</GenerateResourceUsePreserializedResources>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\PluginsSupport\PluginsSupport.csproj" />
|
||||
<ProjectReference Include="..\..\VisualPascalABCNET\VisualPascalABCNET.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Reference Include="AvalonDock, Version=1.3.3585.0, Culture=neutral, PublicKeyToken=f829da5c02be14ee" />
|
||||
<Reference Include="ICSharpCode.AvalonEdit, Version=4.2.1.8805, Culture=neutral, PublicKeyToken=9cc39be672370310" />
|
||||
<Reference Include="ICSharpCode.Core, Version=4.2.1.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\VisualPascalABCNET\FormsDesignerBinding\Dependecies\bin\ICSharpCode.Core.dll</HintPath>
|
||||
|
|
@ -49,7 +29,6 @@
|
|||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\VisualPascalABCNET\FormsDesignerBinding\Dependecies\bin\ICSharpCode.Core.WinForms.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="ICSharpCode.NRefactory, Version=4.2.1.8805, Culture=neutral, PublicKeyToken=efe927acf176eea2" />
|
||||
<Reference Include="ICSharpCode.SharpDevelop, Version=4.2.1.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\bin\ICSharpCode.SharpDevelop.dll</HintPath>
|
||||
|
|
@ -66,81 +45,23 @@
|
|||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\Libraries\ICSharpCode.TextEditor.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Build" />
|
||||
<Reference Include="Microsoft.Build.Framework" />
|
||||
<Reference Include="Mono.Cecil, Version=0.9.5.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756" />
|
||||
<Reference Include="PresentationCore" />
|
||||
<Reference Include="PresentationFramework" />
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.ServiceModel" />
|
||||
<Reference Include="System.Web.Services" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Xaml" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Net.Http" />
|
||||
<Reference Include="System.Xml" />
|
||||
<Reference Include="WeifenLuo.WinFormsUI.Docking">
|
||||
<HintPath>..\..\Libraries\WeifenLuo.WinFormsUI.Docking.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="WindowsBase" />
|
||||
<Reference Include="WindowsFormsIntegration" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Compile Include="CodeTemplatesForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="CodeTemplatesForm.Designer.cs">
|
||||
<DependentUpon>CodeTemplatesForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="CodeTemplatesPlugin.cs" />
|
||||
<Compile Include="Images.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Images.Designer.cs">
|
||||
<DependentUpon>Images.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="Properties\Resources.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>Resources.resx</DependentUpon>
|
||||
</Compile>
|
||||
<PackageReference Include="System.Resources.Extensions" Version="9.0.0" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\PluginsSupport\PluginsSupport.csproj">
|
||||
<Project>{cfc683f8-0165-4a9f-9c3f-bb8c5bab507f}</Project>
|
||||
<Name>PluginsSupport</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\VisualPascalABCNET\VisualPascalABCNET.csproj">
|
||||
<Project>{bc35f816-54ee-47e0-89fc-1c66eac155a9}</Project>
|
||||
<Name>VisualPascalABCNET</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="CodeTemplatesForm.resx">
|
||||
<DependentUpon>CodeTemplatesForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Images.resx">
|
||||
<DependentUpon>Images.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Properties\Resources.resx">
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||
</EmbeddedResource>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\CodeTemplates.bmp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\CodeTemplates1.bmp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\format.png" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
</Project>
|
||||
|
|
@ -1,140 +1,33 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>8.0.50727</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{50F4AB3F-0A1E-4AF9-88CF-48A8D3E1D1D7}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<TargetFramework>net462</TargetFramework>
|
||||
|
||||
<RootNamespace>VisualPascalABCPlugins</RootNamespace>
|
||||
<AssemblyName>CompilerController</AssemblyName>
|
||||
<FileUpgradeFlags>
|
||||
</FileUpgradeFlags>
|
||||
<OldToolsVersion>4.0</OldToolsVersion>
|
||||
<UpgradeBackupLocation>
|
||||
</UpgradeBackupLocation>
|
||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||
<TargetFrameworkProfile />
|
||||
<PublishUrl>publish\</PublishUrl>
|
||||
<Install>true</Install>
|
||||
<InstallFrom>Disk</InstallFrom>
|
||||
<UpdateEnabled>false</UpdateEnabled>
|
||||
<UpdateMode>Foreground</UpdateMode>
|
||||
<UpdateInterval>7</UpdateInterval>
|
||||
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
|
||||
<UpdatePeriodically>false</UpdatePeriodically>
|
||||
<UpdateRequired>false</UpdateRequired>
|
||||
<MapFileExtensions>true</MapFileExtensions>
|
||||
<ApplicationRevision>0</ApplicationRevision>
|
||||
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
||||
<IsWebBootstrapper>false</IsWebBootstrapper>
|
||||
<UseApplicationTrust>false</UseApplicationTrust>
|
||||
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
|
||||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
||||
|
||||
<OutputPath>..\..\bin\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<UseVSHostingProcess>true</UseVSHostingProcess>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>..\..\bin\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
||||
|
||||
<GenerateResourceUsePreserializedResources>true</GenerateResourceUsePreserializedResources>
|
||||
<Deterministic>false</Deterministic>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\CodeCompletion\CodeCompletion.csproj" />
|
||||
<ProjectReference Include="..\..\Compiler\Compiler.csproj" />
|
||||
<ProjectReference Include="..\..\Errors\Errors.csproj" />
|
||||
<ProjectReference Include="..\..\Localization\Localization.csproj" />
|
||||
<ProjectReference Include="..\..\PluginsSupport\PluginsSupport.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Reference Include="CompilerTools, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Compile Include="CompilerInformation.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="CompilerInformation.Designer.cs">
|
||||
<DependentUpon>CompilerInformation.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="CompilerControllerPlugin.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="Properties\Resources.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>Resources.resx</DependentUpon>
|
||||
</Compile>
|
||||
<Service Include="{94E38DFF-614B-4cbd-B67C-F211BB35CE8B}" />
|
||||
<PackageReference Include="System.Resources.Extensions" Version="9.0.0" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="CompilerInformation.resx">
|
||||
<SubType>Designer</SubType>
|
||||
<DependentUpon>CompilerInformation.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Properties\Resources.resx">
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||
</EmbeddedResource>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\CodeCompletion\CodeCompletion.csproj">
|
||||
<Project>{1AB15F6E-C22E-499A-A7ED-54BA7DE5CFA6}</Project>
|
||||
<Name>CodeCompletion</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\Compiler\Compiler.csproj">
|
||||
<Project>{1e42361a-eda3-4872-88af-a3aaf600d36d}</Project>
|
||||
<Name>Compiler</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\Errors\Errors.csproj">
|
||||
<Project>{44A01F9E-DCE7-470C-AAE5-C3DE0CCBEE3B}</Project>
|
||||
<Name>Errors</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\Localization\Localization.csproj">
|
||||
<Project>{2DE2842F-0912-4251-BC0F-480854C44A13}</Project>
|
||||
<Name>Localization</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\PluginsSupport\PluginsSupport.csproj">
|
||||
<Project>{cfc683f8-0165-4a9f-9c3f-bb8c5bab507f}</Project>
|
||||
<Name>PluginsSupport</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>Клиентский профиль .NET Framework 3.5 SP1</ProductName>
|
||||
<Install>false</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>Установщик Windows 3.1</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
</Project>
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// Этот код создан программой.
|
||||
// Исполняемая версия:4.0.30319.1
|
||||
// Исполняемая версия:4.0.30319.42000
|
||||
//
|
||||
// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
|
||||
// повторной генерации кода.
|
||||
|
|
@ -19,7 +19,7 @@ namespace VisualPascalABCPlugins.Properties {
|
|||
// с помощью такого средства, как ResGen или Visual Studio.
|
||||
// Чтобы добавить или удалить член, измените файл .ResX и снова запустите ResGen
|
||||
// с параметром /str или перестройте свой проект VS.
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
internal class Resources {
|
||||
|
|
|
|||
|
|
@ -1,149 +1,36 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>8.0.50727</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{A36031B7-D3D1-4372-B478-07621069602E}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<TargetFramework>net462</TargetFramework>
|
||||
|
||||
<RootNamespace>VisualPascalABCPlugins</RootNamespace>
|
||||
<AssemblyName>InternalErrorReport</AssemblyName>
|
||||
<FileUpgradeFlags>
|
||||
</FileUpgradeFlags>
|
||||
<OldToolsVersion>4.0</OldToolsVersion>
|
||||
<UpgradeBackupLocation>
|
||||
</UpgradeBackupLocation>
|
||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||
<TargetFrameworkProfile />
|
||||
<PublishUrl>publish\</PublishUrl>
|
||||
<Install>true</Install>
|
||||
<InstallFrom>Disk</InstallFrom>
|
||||
<UpdateEnabled>false</UpdateEnabled>
|
||||
<UpdateMode>Foreground</UpdateMode>
|
||||
<UpdateInterval>7</UpdateInterval>
|
||||
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
|
||||
<UpdatePeriodically>false</UpdatePeriodically>
|
||||
<UpdateRequired>false</UpdateRequired>
|
||||
<MapFileExtensions>true</MapFileExtensions>
|
||||
<ApplicationRevision>0</ApplicationRevision>
|
||||
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
||||
<IsWebBootstrapper>false</IsWebBootstrapper>
|
||||
<UseApplicationTrust>false</UseApplicationTrust>
|
||||
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
|
||||
<Deterministic>false</Deterministic>
|
||||
|
||||
<OutputPath>..\..\bin\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<UseVSHostingProcess>true</UseVSHostingProcess>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>..\..\bin\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
||||
|
||||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
||||
|
||||
<GenerateResourceUsePreserializedResources>true</GenerateResourceUsePreserializedResources>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\Compiler\Compiler.csproj" />
|
||||
<ProjectReference Include="..\..\Errors\Errors.csproj" />
|
||||
<ProjectReference Include="..\..\Localization\Localization.csproj" />
|
||||
<ProjectReference Include="..\..\PluginsSupport\PluginsSupport.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Reference Include="CompilerTools, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
</Reference>
|
||||
<Reference Include="ICSharpCode.SharpZipLib, Version=0.85.1.271, Culture=neutral, PublicKeyToken=1b03e6acf1164f73, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\Libraries\ICSharpCode.SharpZipLib.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Compile Include="CompilerInternalErrorReport.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="CompilerInternalErrorReport.Designer.cs">
|
||||
<DependentUpon>CompilerInternalErrorReport.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="ErrorReport.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="ErrorReport.Designer.cs">
|
||||
<DependentUpon>ErrorReport.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="InternalErrorReportPlugin.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="Properties\Resources.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>Resources.resx</DependentUpon>
|
||||
</Compile>
|
||||
<Service Include="{94E38DFF-614B-4cbd-B67C-F211BB35CE8B}" />
|
||||
<PackageReference Include="System.Resources.Extensions" Version="9.0.0" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="CompilerInternalErrorReport.resx">
|
||||
<SubType>Designer</SubType>
|
||||
<DependentUpon>CompilerInternalErrorReport.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="ErrorReport.resx">
|
||||
<SubType>Designer</SubType>
|
||||
<DependentUpon>ErrorReport.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Properties\Resources.resx">
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||
</EmbeddedResource>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\Compiler\Compiler.csproj">
|
||||
<Project>{1e42361a-eda3-4872-88af-a3aaf600d36d}</Project>
|
||||
<Name>Compiler</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\Errors\Errors.csproj">
|
||||
<Project>{44A01F9E-DCE7-470C-AAE5-C3DE0CCBEE3B}</Project>
|
||||
<Name>Errors</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\Localization\Localization.csproj">
|
||||
<Project>{2DE2842F-0912-4251-BC0F-480854C44A13}</Project>
|
||||
<Name>Localization</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\PluginsSupport\PluginsSupport.csproj">
|
||||
<Project>{cfc683f8-0165-4a9f-9c3f-bb8c5bab507f}</Project>
|
||||
<Name>PluginsSupport</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>Клиентский профиль .NET Framework 3.5 SP1</ProductName>
|
||||
<Install>false</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>Установщик Windows 3.1</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
</Project>
|
||||
|
|
@ -1,149 +1,40 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>8.0.50727</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{43879684-ADBE-470A-AAC6-2ACA36603971}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<TargetFramework>net462</TargetFramework>
|
||||
|
||||
<RootNamespace>Converter</RootNamespace>
|
||||
<AssemblyName>LanguageConverter</AssemblyName>
|
||||
<FileUpgradeFlags>
|
||||
</FileUpgradeFlags>
|
||||
<OldToolsVersion>4.0</OldToolsVersion>
|
||||
<UpgradeBackupLocation>
|
||||
</UpgradeBackupLocation>
|
||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||
<TargetFrameworkProfile />
|
||||
<PublishUrl>publish\</PublishUrl>
|
||||
<Install>true</Install>
|
||||
<InstallFrom>Disk</InstallFrom>
|
||||
<UpdateEnabled>false</UpdateEnabled>
|
||||
<UpdateMode>Foreground</UpdateMode>
|
||||
<UpdateInterval>7</UpdateInterval>
|
||||
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
|
||||
<UpdatePeriodically>false</UpdatePeriodically>
|
||||
<UpdateRequired>false</UpdateRequired>
|
||||
<MapFileExtensions>true</MapFileExtensions>
|
||||
<ApplicationRevision>0</ApplicationRevision>
|
||||
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
||||
<IsWebBootstrapper>false</IsWebBootstrapper>
|
||||
<UseApplicationTrust>false</UseApplicationTrust>
|
||||
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
|
||||
<OutputPath>..\..\bin\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<UseVSHostingProcess>true</UseVSHostingProcess>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
||||
|
||||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
||||
|
||||
<GenerateResourceUsePreserializedResources>true</GenerateResourceUsePreserializedResources>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Data" />
|
||||
<None Remove="Rules_CS.txt" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="Rules_CS.txt" />
|
||||
</ItemGroup>
|
||||
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\CompilerTools\CompilerTools.csproj" />
|
||||
<ProjectReference Include="..\..\Compiler\Compiler.csproj" />
|
||||
<ProjectReference Include="..\..\Errors\Errors.csproj" />
|
||||
<ProjectReference Include="..\..\Localization\Localization.csproj" />
|
||||
<ProjectReference Include="..\..\PluginsSupport\PluginsSupport.csproj" />
|
||||
<ProjectReference Include="..\..\SemanticTree\SemanticTree.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Compile Include="Properties\Resources.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>Resources.resx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Source\ISemanticNodeConverter.cs" />
|
||||
<Compile Include="Source\SemanticNodeConverter.cs" />
|
||||
<Compile Include="Source\ListSyntRules.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="Source\LanguageConverterPlugin.cs" />
|
||||
<Compile Include="Source\SourceTextBilder.cs" />
|
||||
<Compile Include="Source\TextFormatterForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Source\TextFormatterForm.Designer.cs">
|
||||
<DependentUpon>TextFormatterForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Source\Visitor.cs" />
|
||||
<Compile Include="Source\TextFormatter.cs" />
|
||||
<PackageReference Include="System.Resources.Extensions" Version="9.0.0" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="Properties\Resources.resx">
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Source\TextFormatterForm.resx">
|
||||
<SubType>Designer</SubType>
|
||||
<DependentUpon>TextFormatterForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="Source\Rules_CS.txt" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\CompilerTools\CompilerTools.csproj">
|
||||
<Project>{A25D26FB-3043-4BCF-833E-E3F4C3BE795E}</Project>
|
||||
<Name>CompilerTools</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\Compiler\Compiler.csproj">
|
||||
<Project>{1E42361A-EDA3-4872-88AF-A3AAF600D36D}</Project>
|
||||
<Name>Compiler</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\Errors\Errors.csproj">
|
||||
<Project>{44A01F9E-DCE7-470C-AAE5-C3DE0CCBEE3B}</Project>
|
||||
<Name>Errors</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\Localization\Localization.csproj">
|
||||
<Project>{2DE2842F-0912-4251-BC0F-480854C44A13}</Project>
|
||||
<Name>Localization</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\PluginsSupport\PluginsSupport.csproj">
|
||||
<Project>{CFC683F8-0165-4A9F-9C3F-BB8C5BAB507F}</Project>
|
||||
<Name>PluginsSupport</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\SemanticTree\SemanticTree.csproj">
|
||||
<Project>{613E0DDA-AA8A-437C-AC45-507B47429FF9}</Project>
|
||||
<Name>SemanticTree</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>Клиентский профиль .NET Framework 3.5 SP1</ProductName>
|
||||
<Install>false</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>Установщик Windows 3.1</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
</Project>
|
||||
|
|
@ -1,147 +1,32 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>9.0.30729</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{4A9AC1AA-698E-49C2-B1ED-15B5E4AB963D}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>PT4Provider</RootNamespace>
|
||||
<AssemblyName>PT4Provider</AssemblyName>
|
||||
<StartupObject>
|
||||
</StartupObject>
|
||||
<FileUpgradeFlags>
|
||||
</FileUpgradeFlags>
|
||||
<OldToolsVersion>4.0</OldToolsVersion>
|
||||
<UpgradeBackupLocation>
|
||||
</UpgradeBackupLocation>
|
||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||
<TargetFrameworkProfile />
|
||||
<PublishUrl>publish\</PublishUrl>
|
||||
<Install>true</Install>
|
||||
<InstallFrom>Disk</InstallFrom>
|
||||
<UpdateEnabled>false</UpdateEnabled>
|
||||
<UpdateMode>Foreground</UpdateMode>
|
||||
<UpdateInterval>7</UpdateInterval>
|
||||
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
|
||||
<UpdatePeriodically>false</UpdatePeriodically>
|
||||
<UpdateRequired>false</UpdateRequired>
|
||||
<MapFileExtensions>true</MapFileExtensions>
|
||||
<ApplicationRevision>0</ApplicationRevision>
|
||||
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
||||
<IsWebBootstrapper>false</IsWebBootstrapper>
|
||||
<UseApplicationTrust>false</UseApplicationTrust>
|
||||
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<TargetFramework>net462</TargetFramework>
|
||||
|
||||
<OutputPath>..\..\bin\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<UseVSHostingProcess>true</UseVSHostingProcess>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>..\..\bin\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
||||
|
||||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
||||
<GenerateResourceUsePreserializedResources>true</GenerateResourceUsePreserializedResources>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\Compiler\Compiler.csproj" />
|
||||
<ProjectReference Include="..\..\Errors\Errors.csproj" />
|
||||
<ProjectReference Include="..\..\Localization\Localization.csproj" />
|
||||
<ProjectReference Include="..\..\PluginsSupport\PluginsSupport.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Reference Include="PT4Tools, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\bin\PT4\PT4Tools.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Deployment" />
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Compile Include="Constants.cs" />
|
||||
<Compile Include="Images.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Images.Designer.cs">
|
||||
<DependentUpon>Images.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="PT4ProviderPlugin.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<EmbeddedResource Include="Images.resx">
|
||||
<SubType>Designer</SubType>
|
||||
<DependentUpon>Images.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Properties\Resources.resx">
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<Compile Include="Properties\Resources.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Resources.resx</DependentUpon>
|
||||
<DesignTime>True</DesignTime>
|
||||
</Compile>
|
||||
<None Include="Properties\Settings.settings">
|
||||
<Generator>SettingsSingleFileGenerator</Generator>
|
||||
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||
</None>
|
||||
<Compile Include="Properties\Settings.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Settings.settings</DependentUpon>
|
||||
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||
</Compile>
|
||||
<PackageReference Include="System.Resources.Extensions" Version="9.0.0" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\Compiler\Compiler.csproj">
|
||||
<Project>{1E42361A-EDA3-4872-88AF-A3AAF600D36D}</Project>
|
||||
<Name>Compiler</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\Errors\Errors.csproj">
|
||||
<Project>{44a01f9e-dce7-470c-aae5-c3de0ccbee3b}</Project>
|
||||
<Name>Errors</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\Localization\Localization.csproj">
|
||||
<Project>{2DE2842F-0912-4251-BC0F-480854C44A13}</Project>
|
||||
<Name>Localization</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\PluginsSupport\PluginsSupport.csproj">
|
||||
<Project>{cfc683f8-0165-4a9f-9c3f-bb8c5bab507f}</Project>
|
||||
<Name>PluginsSupport</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>Клиентский профиль .NET Framework 3.5 SP1</ProductName>
|
||||
<Install>false</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>Установщик Windows 3.1</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
</Project>
|
||||
|
|
@ -1,149 +1,34 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>8.0.50727</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{1437FD01-0741-4912-8035-6BDFEAA45626}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<TargetFramework>net462</TargetFramework>
|
||||
|
||||
<RootNamespace>VisualPascalABCPlugins</RootNamespace>
|
||||
<AssemblyName>SyntaxTreeVisualisator</AssemblyName>
|
||||
<FileUpgradeFlags>
|
||||
</FileUpgradeFlags>
|
||||
<OldToolsVersion>4.0</OldToolsVersion>
|
||||
<UpgradeBackupLocation>
|
||||
</UpgradeBackupLocation>
|
||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||
<TargetFrameworkProfile />
|
||||
<PublishUrl>publish\</PublishUrl>
|
||||
<Install>true</Install>
|
||||
<InstallFrom>Disk</InstallFrom>
|
||||
<UpdateEnabled>false</UpdateEnabled>
|
||||
<UpdateMode>Foreground</UpdateMode>
|
||||
<UpdateInterval>7</UpdateInterval>
|
||||
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
|
||||
<UpdatePeriodically>false</UpdatePeriodically>
|
||||
<UpdateRequired>false</UpdateRequired>
|
||||
<MapFileExtensions>true</MapFileExtensions>
|
||||
<ApplicationRevision>0</ApplicationRevision>
|
||||
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
||||
<IsWebBootstrapper>false</IsWebBootstrapper>
|
||||
<UseApplicationTrust>false</UseApplicationTrust>
|
||||
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
|
||||
<OutputPath>..\..\bin\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<UseVSHostingProcess>true</UseVSHostingProcess>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>..\..\bin\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
||||
|
||||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
||||
|
||||
<GenerateResourceUsePreserializedResources>true</GenerateResourceUsePreserializedResources>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\CompilerTools\CompilerTools.csproj" />
|
||||
<ProjectReference Include="..\..\Compiler\Compiler.csproj" />
|
||||
<ProjectReference Include="..\..\Errors\Errors.csproj" />
|
||||
<ProjectReference Include="..\..\LanguageIntegrator\LanguageIntegrator.csproj" />
|
||||
<ProjectReference Include="..\..\Localization\Localization.csproj" />
|
||||
<ProjectReference Include="..\..\ParserTools\ParserTools.csproj" />
|
||||
<ProjectReference Include="..\..\PluginsSupport\PluginsSupport.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Reference Include="SyntaxTree, Version=1.0.2514.32118, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Compile Include="Properties\Resources.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>Resources.resx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="SyntaxTreeVisualisatorForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="SyntaxTreeVisualisatorForm.Designer.cs">
|
||||
<DependentUpon>SyntaxTreeVisualisatorForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="SyntaxTreeVisualisatorPlugin.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="Visitors\get_node_info.cs" />
|
||||
<Compile Include="Visitors\visualizator.cs" />
|
||||
<PackageReference Include="System.Resources.Extensions" Version="9.0.0" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="Properties\Resources.resx">
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="SyntaxTreeVisualisatorForm.resx">
|
||||
<SubType>Designer</SubType>
|
||||
<DependentUpon>SyntaxTreeVisualisatorForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\CompilerTools\CompilerTools.csproj">
|
||||
<Project>{A25D26FB-3043-4BCF-833E-E3F4C3BE795E}</Project>
|
||||
<Name>CompilerTools</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\Compiler\Compiler.csproj">
|
||||
<Project>{1e42361a-eda3-4872-88af-a3aaf600d36d}</Project>
|
||||
<Name>Compiler</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\Errors\Errors.csproj">
|
||||
<Project>{44A01F9E-DCE7-470C-AAE5-C3DE0CCBEE3B}</Project>
|
||||
<Name>Errors</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\LanguageIntegrator\LanguageIntegrator.csproj">
|
||||
<Project>{a48d9069-d569-4110-9252-a10f139b669b}</Project>
|
||||
<Name>LanguageIntegrator</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\Localization\Localization.csproj">
|
||||
<Project>{2DE2842F-0912-4251-BC0F-480854C44A13}</Project>
|
||||
<Name>Localization</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\ParserTools\ParserTools.csproj">
|
||||
<Project>{AF2EFD7B-69DD-4B43-AF65-B59B29349C23}</Project>
|
||||
<Name>ParserTools</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\PluginsSupport\PluginsSupport.csproj">
|
||||
<Project>{cfc683f8-0165-4a9f-9c3f-bb8c5bab507f}</Project>
|
||||
<Name>PluginsSupport</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>Клиентский профиль .NET Framework 3.5 SP1</ProductName>
|
||||
<Install>false</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>Установщик Windows 3.1</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
</Project>
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// Этот код создан программой.
|
||||
// Исполняемая версия:4.0.30319.1
|
||||
// Исполняемая версия:4.0.30319.42000
|
||||
//
|
||||
// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
|
||||
// повторной генерации кода.
|
||||
|
|
@ -19,7 +19,7 @@ namespace VisualPascalABCPlugins.Properties {
|
|||
// с помощью такого средства, как ResGen или Visual Studio.
|
||||
// Чтобы добавить или удалить член, измените файл .ResX и снова запустите ResGen
|
||||
// с параметром /str или перестройте свой проект VS.
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
internal class Resources {
|
||||
|
|
|
|||
|
|
@ -1,140 +1,32 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>8.0.50727</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{DBE875B5-6187-45D8-8B75-2E43CC513A60}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<TargetFramework>net462</TargetFramework>
|
||||
|
||||
<RootNamespace>VisualPascalABCPlugins</RootNamespace>
|
||||
<AssemblyName>TestPlugin</AssemblyName>
|
||||
<FileUpgradeFlags>
|
||||
</FileUpgradeFlags>
|
||||
<OldToolsVersion>4.0</OldToolsVersion>
|
||||
<UpgradeBackupLocation>
|
||||
</UpgradeBackupLocation>
|
||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||
<TargetFrameworkProfile />
|
||||
<PublishUrl>publish\</PublishUrl>
|
||||
<Install>true</Install>
|
||||
<InstallFrom>Disk</InstallFrom>
|
||||
<UpdateEnabled>false</UpdateEnabled>
|
||||
<UpdateMode>Foreground</UpdateMode>
|
||||
<UpdateInterval>7</UpdateInterval>
|
||||
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
|
||||
<UpdatePeriodically>false</UpdatePeriodically>
|
||||
<UpdateRequired>false</UpdateRequired>
|
||||
<MapFileExtensions>true</MapFileExtensions>
|
||||
<ApplicationRevision>0</ApplicationRevision>
|
||||
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
||||
<IsWebBootstrapper>false</IsWebBootstrapper>
|
||||
<UseApplicationTrust>false</UseApplicationTrust>
|
||||
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
|
||||
<GenerateResourceUsePreserializedResources>true</GenerateResourceUsePreserializedResources>
|
||||
|
||||
<OutputPath>..\..\bin\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<UseVSHostingProcess>true</UseVSHostingProcess>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>..\..\bin\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
||||
|
||||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\CompilerTools\CompilerTools.csproj" />
|
||||
<ProjectReference Include="..\..\Compiler\Compiler.csproj" />
|
||||
<ProjectReference Include="..\..\Errors\Errors.csproj" />
|
||||
<ProjectReference Include="..\..\Localization\Localization.csproj" />
|
||||
<ProjectReference Include="..\..\ParserTools\ParserTools.csproj" />
|
||||
<ProjectReference Include="..\..\PluginsSupport\PluginsSupport.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Compile Include="Properties\Resources.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>Resources.resx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="TestForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="TestForm.Designer.cs">
|
||||
<DependentUpon>TestForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="TestPlugin.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<PackageReference Include="System.Resources.Extensions" Version="9.0.0" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="Properties\Resources.resx">
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="TestForm.resx">
|
||||
<SubType>Designer</SubType>
|
||||
<DependentUpon>TestForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\CompilerTools\CompilerTools.csproj">
|
||||
<Project>{A25D26FB-3043-4BCF-833E-E3F4C3BE795E}</Project>
|
||||
<Name>CompilerTools</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\Compiler\Compiler.csproj">
|
||||
<Project>{1e42361a-eda3-4872-88af-a3aaf600d36d}</Project>
|
||||
<Name>Compiler</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\Errors\Errors.csproj">
|
||||
<Project>{44A01F9E-DCE7-470C-AAE5-C3DE0CCBEE3B}</Project>
|
||||
<Name>Errors</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\Localization\Localization.csproj">
|
||||
<Project>{2DE2842F-0912-4251-BC0F-480854C44A13}</Project>
|
||||
<Name>Localization</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\ParserTools\ParserTools.csproj">
|
||||
<Project>{AF2EFD7B-69DD-4B43-AF65-B59B29349C23}</Project>
|
||||
<Name>ParserTools</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\PluginsSupport\PluginsSupport.csproj">
|
||||
<Project>{cfc683f8-0165-4a9f-9c3f-bb8c5bab507f}</Project>
|
||||
<Name>PluginsSupport</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>Клиентский профиль .NET Framework 3.5 SP1</ProductName>
|
||||
<Install>false</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>Установщик Windows 3.1</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
</Project>
|
||||
|
|
@ -1,169 +1,36 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="12.0">
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>8.0.50727</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{536CC813-7C4E-42BC-AE3A-BA1427F38756}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<TargetFramework>net471</TargetFramework>
|
||||
|
||||
<RootNamespace>VisualPascalABCPlugins</RootNamespace>
|
||||
<AssemblyName>TeacherControlPlugin</AssemblyName>
|
||||
<FileUpgradeFlags>
|
||||
</FileUpgradeFlags>
|
||||
<OldToolsVersion>4.0</OldToolsVersion>
|
||||
<UpgradeBackupLocation>
|
||||
</UpgradeBackupLocation>
|
||||
<TargetFrameworkVersion>v4.7.1</TargetFrameworkVersion>
|
||||
<TargetFrameworkProfile />
|
||||
<PublishUrl>publish\</PublishUrl>
|
||||
<Install>true</Install>
|
||||
<InstallFrom>Disk</InstallFrom>
|
||||
<UpdateEnabled>false</UpdateEnabled>
|
||||
<UpdateMode>Foreground</UpdateMode>
|
||||
<UpdateInterval>7</UpdateInterval>
|
||||
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
|
||||
<UpdatePeriodically>false</UpdatePeriodically>
|
||||
<UpdateRequired>false</UpdateRequired>
|
||||
<MapFileExtensions>true</MapFileExtensions>
|
||||
<ApplicationRevision>0</ApplicationRevision>
|
||||
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
||||
<IsWebBootstrapper>false</IsWebBootstrapper>
|
||||
<UseApplicationTrust>false</UseApplicationTrust>
|
||||
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
|
||||
<OutputPath>..\..\bin\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<UseVSHostingProcess>true</UseVSHostingProcess>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>..\..\bin\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
||||
|
||||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
||||
|
||||
<GenerateResourceUsePreserializedResources>true</GenerateResourceUsePreserializedResources>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\CompilerTools\CompilerTools.csproj"/>
|
||||
<ProjectReference Include="..\..\Compiler\Compiler.csproj" />
|
||||
<ProjectReference Include="..\..\Errors\Errors.csproj" />
|
||||
<ProjectReference Include="..\..\Localization\Localization.csproj" />
|
||||
<ProjectReference Include="..\..\ParserTools\ParserTools.csproj" />
|
||||
<ProjectReference Include="..\..\PluginsSupport\PluginsSupport.csproj" />
|
||||
<ProjectReference Include="..\..\SyntaxTree\SyntaxTree.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Management" />
|
||||
<Reference Include="System.Net.Http" />
|
||||
<Reference Include="System.Security" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Compile Include="LoginForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="LoginForm.designer.cs">
|
||||
<DependentUpon>LoginForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="TeacherPluginUtils.cs" />
|
||||
<Compile Include="Properties\Resources.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>Resources.resx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="SiteAccessInfo.cs" />
|
||||
<Compile Include="TeacherControlForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="TeacherControlForm.Designer.cs">
|
||||
<DependentUpon>TeacherControlForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="TeacherControlPlugin.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<PackageReference Include="System.Resources.Extensions" Version="9.0.0" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="LoginForm.resx">
|
||||
<DependentUpon>LoginForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Properties\Resources.resx">
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="TeacherControlForm.resx">
|
||||
<SubType>Designer</SubType>
|
||||
<DependentUpon>TeacherControlForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\CompilerTools\CompilerTools.csproj">
|
||||
<Project>{A25D26FB-3043-4BCF-833E-E3F4C3BE795E}</Project>
|
||||
<Name>CompilerTools</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\Compiler\Compiler.csproj">
|
||||
<Project>{1e42361a-eda3-4872-88af-a3aaf600d36d}</Project>
|
||||
<Name>Compiler</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\Errors\Errors.csproj">
|
||||
<Project>{44A01F9E-DCE7-470C-AAE5-C3DE0CCBEE3B}</Project>
|
||||
<Name>Errors</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\Localization\Localization.csproj">
|
||||
<Project>{2DE2842F-0912-4251-BC0F-480854C44A13}</Project>
|
||||
<Name>Localization</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\ParserTools\ParserTools.csproj">
|
||||
<Project>{AF2EFD7B-69DD-4B43-AF65-B59B29349C23}</Project>
|
||||
<Name>ParserTools</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\PluginsSupport\PluginsSupport.csproj">
|
||||
<Project>{cfc683f8-0165-4a9f-9c3f-bb8c5bab507f}</Project>
|
||||
<Name>PluginsSupport</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\SyntaxTree\SyntaxTree.csproj">
|
||||
<Project>{c2cac65a-b2ae-4ccc-b067-e6b8e75df73a}</Project>
|
||||
<Name>SyntaxTree</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>Клиентский профиль .NET Framework 3.5 SP1</ProductName>
|
||||
<Install>false</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>Установщик Windows 3.1</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="IconAuthorized1.ico" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\IconAuthorized.ico" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="IconAuthorized.ico" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
</Project>
|
||||
|
|
@ -1,72 +1,19 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{276EE073-60F6-46D2-8811-1B8026BCAADA}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>YieldConversionSyntax</RootNamespace>
|
||||
<AssemblyName>YieldConversionSyntax</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<TargetFrameworkProfile />
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<TargetFramework>net40</TargetFramework>
|
||||
|
||||
<OutputPath>..\..\bin\</OutputPath>
|
||||
<DefineConstants>TRACE;DEBUG</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>..\..\bin\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
||||
|
||||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
||||
<Deterministic>false</Deterministic>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Xml" />
|
||||
<ProjectReference Include="..\..\Errors\Errors.csproj" />
|
||||
<ProjectReference Include="..\..\SyntaxTreeConverters\SyntaxTreeConverters.csproj" />
|
||||
<ProjectReference Include="..\..\SyntaxTree\SyntaxTree.csproj" />
|
||||
<ProjectReference Include="..\..\SyntaxVisitors\SyntaxVisitors.csproj" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="YieldDesugarSyntaxTreeConverter.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\Errors\Errors.csproj">
|
||||
<Project>{44a01f9e-dce7-470c-aae5-c3de0ccbee3b}</Project>
|
||||
<Name>Errors</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\SyntaxTreeConverters\SyntaxTreeConverters.csproj">
|
||||
<Project>{f10a5330-dcf4-4533-877c-7b1b1be23884}</Project>
|
||||
<Name>SyntaxTreeConverters</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\SyntaxTree\SyntaxTree.csproj">
|
||||
<Project>{c2cac65a-b2ae-4ccc-b067-e6b8e75df73a}</Project>
|
||||
<Name>SyntaxTree</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\SyntaxVisitors\SyntaxVisitors.csproj">
|
||||
<Project>{a9ab4282-83b4-41a7-86c3-e5bf6a45e7e2}</Project>
|
||||
<Name>SyntaxVisitors</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
</Project>
|
||||
|
|
@ -1,55 +1,11 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{CE5C55C2-A11C-4E94-A9FA-3FC6CA3E4C09}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>YieldHelpers</RootNamespace>
|
||||
<AssemblyName>YieldHelpers</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<TargetFrameworkProfile />
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<TargetFramework>net40</TargetFramework>
|
||||
|
||||
<OutputPath>..\..\bin\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<UseVSHostingProcess>true</UseVSHostingProcess>
|
||||
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
||||
|
||||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="YieldConsts.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
</Project>
|
||||
|
|
@ -1,3 +1,3 @@
|
|||
call Studio.bat PascalABCNET.sln
|
||||
dotnet build PascalABCNET.sln
|
||||
|
||||
@IF %ERRORLEVEL% NEQ 0 PAUSE
|
||||
|
|
@ -1,3 +1,3 @@
|
|||
#!/bin/sh -e
|
||||
MONO_IOMAP=case msbuild /p:Configuration=Debug pabcnetc.sln
|
||||
MONO_IOMAP=case msbuild /p:Configuration=Debug PascalABCNETLinux.sln
|
||||
dotnet build pabcnetc.sln
|
||||
dotnet build PascalABCNETLinux.sln
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
call Studio.bat /t:clean PascalABCNET.sln
|
||||
dotnet clean PascalABCNET.sln
|
||||
|
||||
@IF %ERRORLEVEL% NEQ 0 PAUSE
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ Utils\ReplaceInFiles\ReplaceInFiles.exe Configuration\Version.defs Configuration
|
|||
Utils\ReplaceInFiles\ReplaceInFiles.exe Configuration\Version.defs ReleaseGenerators\PascalABCNET_version.nsh.tmpl ReleaseGenerators\PascalABCNET_version.nsh
|
||||
Utils\ReplaceInFiles\ReplaceInFiles.exe Configuration\Version.defs Configuration\pabcversion.txt.tmpl Release\pabcversion.txt
|
||||
|
||||
call Studio.bat /t:rebuild "/property:Configuration=Release" PascalABCNET.sln
|
||||
dotnet build -c Release --no-incremental PascalABCNET.sln
|
||||
|
||||
@IF %ERRORLEVEL% NEQ 0 GOTO ERROR
|
||||
|
||||
|
|
@ -53,7 +53,7 @@ call PascalABCNET_ALL.bat
|
|||
|
||||
cd ..
|
||||
|
||||
call Studio.bat /t:rebuild "/property:Configuration=Release" PascalABCNET.sln
|
||||
dotnet build -c Release --no-incremental PascalABCNET.sln
|
||||
|
||||
GOTO EXIT
|
||||
|
||||
|
|
|
|||
|
|
@ -32,6 +32,17 @@ copy bin\OptimizerConversion.dll Release\PascalABCNETLinux\OptimizerConversion.d
|
|||
copy bin\LanguageIntegrator.dll Release\PascalABCNETLinux\LanguageIntegrator.dll
|
||||
copy bin\StringConstants.dll Release\PascalABCNETLinux\StringConstants.dll
|
||||
|
||||
copy bin\Microsoft.Bcl.HashCode.dll Release\PascalABCNETLinux\Microsoft.Bcl.HashCode.dll
|
||||
copy bin\System.Buffers.dll Release\PascalABCNETLinux\System.Buffers.dll
|
||||
copy bin\System.Collections.Immutable.dll Release\PascalABCNETLinux\System.Collections.Immutable.dll
|
||||
copy bin\System.Formats.Nrbf.dll Release\PascalABCNETLinux\System.Formats.Nrbf.dll
|
||||
copy bin\System.Memory.dll Release\PascalABCNETLinux\System.Memory.dll
|
||||
copy bin\System.Numerics.Vectors.dll Release\PascalABCNETLinux\System.Numerics.Vectors.dll
|
||||
copy bin\System.Reflection.Metadata.dll Release\PascalABCNETLinux\System.Reflection.Metadata.dll
|
||||
copy bin\System.Resources.Extensions.dll Release\PascalABCNETLinux\System.Resources.Extensions.dll
|
||||
copy bin\System.Runtime.CompilerServices.Unsafe.dll Release\PascalABCNETLinux\System.Runtime.CompilerServices.Unsafe.dll
|
||||
copy bin\System.ValueTuple.dll Release\PascalABCNETLinux\System.ValueTuple.dll
|
||||
|
||||
copy bin\pabcnetc.exe Release\PascalABCNETLinux\pabcnetc.exe
|
||||
copy bin\pabcnetc.exe.config Release\PascalABCNETLinux\pabcnetc.exe.config
|
||||
copy bin\pabcnetcclear.exe Release\PascalABCNETLinux\pabcnetcclear.exe
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
call Studio.bat /t:rebuild PascalABCNET.sln
|
||||
dotnet build --no-incremental PascalABCNET.sln
|
||||
|
||||
@IF %ERRORLEVEL% NEQ 0 PAUSE
|
||||
|
|
@ -1,3 +1,3 @@
|
|||
call Studio.bat /t:rebuild /verbosity:d "/property:Configuration=Release" PascalABCNET.sln
|
||||
dotnet build -c Release --no-incremental -v d PascalABCNET.sln
|
||||
|
||||
@IF %ERRORLEVEL% NEQ 0 PAUSE
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
call Studio.bat /t:rebuild "/property:Configuration=Debug" "/p:Platform=Any CPU" PascalABCNET.sln
|
||||
dotnet build --no-incremental PascalABCNET.sln
|
||||
|
||||
@IF %ERRORLEVEL% NEQ 0 GOTO ERROR
|
||||
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@ cd Utils/DefaultLanguageResMaker
|
|||
mono LanguageResMaker.exe
|
||||
cd ../..
|
||||
|
||||
MONO_IOMAP=case msbuild /p:Configuration=Release pabcnetc.sln
|
||||
MONO_IOMAP=case msbuild /p:Configuration=Release PascalABCNETLinux.sln
|
||||
dotnet build -c Release --no-incremental pabcnetc.sln
|
||||
dotnet build -c Release --no-incremental PascalABCNETLinux.sln
|
||||
mono --aot bin/pabcnetc.exe
|
||||
mono --aot bin/NETGenerator.dll
|
||||
mono --aot bin/TreeConverter.dll
|
||||
|
|
@ -19,6 +19,6 @@ mono --aot bin/Errors.dll
|
|||
mono --aot bin/LanguageIntegrator.dll
|
||||
mono --aot bin/StringConstants.dll
|
||||
mono --aot bin/PascalABCLanguageInfo.dll
|
||||
export MONO_IOMAP=all
|
||||
|
||||
cd ReleaseGenerators
|
||||
mono ../bin/pabcnetc.exe RebuildStandartModulesMono.pas /rebuild
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
call Studio.bat /t:rebuild "/property:Configuration=Release" "/p:Platform=Any CPU" PascalABCNET.sln
|
||||
dotnet build -c Release --no-incremental PascalABCNET.sln
|
||||
|
||||
@IF %ERRORLEVEL% NEQ 0 GOTO ERROR
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
call Studio.bat /t:rebuild "/property:Configuration=Release" "/p:Platform=Any CPU" PascalABCNET.sln
|
||||
dotnet build -c Release --no-incremental PascalABCNET.sln
|
||||
|
||||
@IF %ERRORLEVEL% NEQ 0 GOTO ERROR
|
||||
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@ cd Utils/DefaultLanguageResMaker
|
|||
mono LanguageResMaker.exe
|
||||
cd ../..
|
||||
|
||||
MONO_IOMAP=case msbuild /p:Configuration=Release pabcnetc.sln
|
||||
MONO_IOMAP=case msbuild /p:Configuration=Release PascalABCNETLinux.sln
|
||||
dotnet build -c Release --no-incremental pabcnetc.sln
|
||||
dotnet build -c Release --no-incremental PascalABCNETLinux.sln
|
||||
mono --aot bin/pabcnetc.exe
|
||||
mono --aot bin/NETGenerator.dll
|
||||
mono --aot bin/TreeConverter.dll
|
||||
|
|
@ -19,7 +19,7 @@ mono --aot bin/Errors.dll
|
|||
mono --aot bin/LanguageIntegrator.dll
|
||||
mono --aot bin/StringConstants.dll
|
||||
mono --aot bin/PascalABCLanguageInfo.dll
|
||||
export MONO_IOMAP=all
|
||||
|
||||
cd ReleaseGenerators
|
||||
mono ../bin/pabcnetc.exe RebuildStandartModulesMono.pas /rebuild
|
||||
if [ $? -eq 0 ]; then
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
call Studio.bat /t:rebuild "/property:Configuration=Release" "/p:Platform=Any CPU" PascalABCNET.sln
|
||||
dotnet build -c Release PascalABCNET.sln
|
||||
|
||||
@IF %ERRORLEVEL% NEQ 0 GOTO ERROR
|
||||
|
||||
|
|
|
|||
|
|
@ -1,174 +1,34 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<ProjectType>Local</ProjectType>
|
||||
<ProductVersion>8.0.50727</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{2AEF58A1-2BCF-4C4B-AB03-F44BBB2628E6}</ProjectGuid>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ApplicationIcon>App.ico</ApplicationIcon>
|
||||
<AssemblyKeyContainerName>
|
||||
</AssemblyKeyContainerName>
|
||||
<AssemblyName>pabcnetc</AssemblyName>
|
||||
<AssemblyOriginatorKeyFile>
|
||||
</AssemblyOriginatorKeyFile>
|
||||
<DefaultClientScript>JScript</DefaultClientScript>
|
||||
<DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout>
|
||||
<DefaultTargetSchema>IE50</DefaultTargetSchema>
|
||||
<DelaySign>false</DelaySign>
|
||||
<TargetFramework>net40</TargetFramework>
|
||||
<OutputType>Exe</OutputType>
|
||||
<RootNamespace>PascalABCCompiler</RootNamespace>
|
||||
<RunPostBuildEvent>OnBuildSuccess</RunPostBuildEvent>
|
||||
<StartupObject>
|
||||
</StartupObject>
|
||||
<FileUpgradeFlags>
|
||||
</FileUpgradeFlags>
|
||||
<UpgradeBackupLocation>
|
||||
</UpgradeBackupLocation>
|
||||
<OldToolsVersion>4.0</OldToolsVersion>
|
||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||
<TargetFrameworkProfile />
|
||||
<PublishUrl>publish\</PublishUrl>
|
||||
<Install>true</Install>
|
||||
<InstallFrom>Disk</InstallFrom>
|
||||
<UpdateEnabled>false</UpdateEnabled>
|
||||
<UpdateMode>Foreground</UpdateMode>
|
||||
<UpdateInterval>7</UpdateInterval>
|
||||
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
|
||||
<UpdatePeriodically>false</UpdatePeriodically>
|
||||
<UpdateRequired>false</UpdateRequired>
|
||||
<MapFileExtensions>true</MapFileExtensions>
|
||||
<ApplicationRevision>0</ApplicationRevision>
|
||||
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
||||
<IsWebBootstrapper>false</IsWebBootstrapper>
|
||||
<UseApplicationTrust>false</UseApplicationTrust>
|
||||
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
|
||||
<ApplicationIcon>App.ico</ApplicationIcon>
|
||||
|
||||
<OutputPath>..\bin\</OutputPath>
|
||||
<AllowUnsafeBlocks>false</AllowUnsafeBlocks>
|
||||
<BaseAddress>285212672</BaseAddress>
|
||||
<CheckForOverflowUnderflow>false</CheckForOverflowUnderflow>
|
||||
<ConfigurationOverrideFile>
|
||||
</ConfigurationOverrideFile>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<DocumentationFile>
|
||||
</DocumentationFile>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<FileAlignment>4096</FileAlignment>
|
||||
<NoStdLib>false</NoStdLib>
|
||||
<NoWarn>
|
||||
</NoWarn>
|
||||
<Optimize>false</Optimize>
|
||||
<RegisterForComInterop>false</RegisterForComInterop>
|
||||
<RemoveIntegerChecks>false</RemoveIntegerChecks>
|
||||
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<DebugType>full</DebugType>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<UseVSHostingProcess>true</UseVSHostingProcess>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<OutputPath>..\bin\</OutputPath>
|
||||
<AllowUnsafeBlocks>false</AllowUnsafeBlocks>
|
||||
<BaseAddress>285212672</BaseAddress>
|
||||
<CheckForOverflowUnderflow>false</CheckForOverflowUnderflow>
|
||||
<ConfigurationOverrideFile>
|
||||
</ConfigurationOverrideFile>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<DocumentationFile>
|
||||
</DocumentationFile>
|
||||
<DebugSymbols>false</DebugSymbols>
|
||||
<FileAlignment>4096</FileAlignment>
|
||||
<NoStdLib>false</NoStdLib>
|
||||
<NoWarn>
|
||||
</NoWarn>
|
||||
<Optimize>true</Optimize>
|
||||
<RegisterForComInterop>false</RegisterForComInterop>
|
||||
<RemoveIntegerChecks>false</RemoveIntegerChecks>
|
||||
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<DebugType>none</DebugType>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
||||
<AssemblyName>pabcnetc</AssemblyName>
|
||||
|
||||
<Deterministic>false</Deterministic>
|
||||
|
||||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System">
|
||||
<Name>System</Name>
|
||||
</Reference>
|
||||
<Reference Include="System.Data">
|
||||
<Name>System.Data</Name>
|
||||
</Reference>
|
||||
<Reference Include="System.Xml">
|
||||
<Name>System.XML</Name>
|
||||
</Reference>
|
||||
<ProjectReference Include="..\Compiler\Compiler.csproj">
|
||||
<Name>Compiler</Name>
|
||||
<Project>{1E42361A-EDA3-4872-88AF-A3AAF600D36D}</Project>
|
||||
<Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\CompilerTools\CompilerTools.csproj">
|
||||
<Project>{A25D26FB-3043-4BCF-833E-E3F4C3BE795E}</Project>
|
||||
<Name>CompilerTools</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Errors\Errors.csproj">
|
||||
<Project>{44A01F9E-DCE7-470C-AAE5-C3DE0CCBEE3B}</Project>
|
||||
<Name>Errors</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Localization\Localization.csproj">
|
||||
<Project>{2DE2842F-0912-4251-BC0F-480854C44A13}</Project>
|
||||
<Name>Localization</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\LanguageIntegrator\LanguageIntegrator.csproj">
|
||||
<Project>{a48d9069-d569-4110-9252-a10f139b669b}</Project>
|
||||
<Name>LanguageIntegrator</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\ParserTools\ParserTools.csproj">
|
||||
<Project>{AF2EFD7B-69DD-4B43-AF65-B59B29349C23}</Project>
|
||||
<Name>ParserTools</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\SyntaxTree\SyntaxTree.csproj">
|
||||
<Project>{C2CAC65A-B2AE-4CCC-B067-E6B8E75DF73A}</Project>
|
||||
<Name>SyntaxTree</Name>
|
||||
</ProjectReference>
|
||||
<None Remove="App.ico" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="App.ico" />
|
||||
<Compile Include="AssemblyInfo.cs">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="CommandConsoleCompiler.cs" />
|
||||
<Compile Include="ConsoleCompiler.cs">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<None Include="app.config" />
|
||||
<ProjectReference Include="..\Localization\Localization.csproj" />
|
||||
<ProjectReference Include="..\Compiler\Compiler.csproj" />
|
||||
<ProjectReference Include="..\CompilerTools\CompilerTools.csproj" />
|
||||
<ProjectReference Include="..\Errors\Errors.csproj" />
|
||||
<ProjectReference Include="..\LanguageIntegrator\LanguageIntegrator.csproj" />
|
||||
<ProjectReference Include="..\ParserTools\ParserTools.csproj" />
|
||||
<ProjectReference Include="..\SyntaxTree\SyntaxTree.csproj" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>Клиентский профиль .NET Framework 3.5 SP1</ProductName>
|
||||
<Install>false</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>Установщик Windows 3.1</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
<PropertyGroup>
|
||||
<PreBuildEvent>
|
||||
</PreBuildEvent>
|
||||
<PostBuildEvent>
|
||||
</PostBuildEvent>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
|
|
@ -1,168 +1,28 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<ProjectType>Local</ProjectType>
|
||||
<ProductVersion>9.0.30729</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{146083AD-6684-4EBC-A539-AAD749A16364}</ProjectGuid>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ApplicationIcon>App.ico</ApplicationIcon>
|
||||
<AssemblyKeyContainerName>
|
||||
</AssemblyKeyContainerName>
|
||||
<AssemblyName>pabcnetcclear</AssemblyName>
|
||||
<DefaultClientScript>JScript</DefaultClientScript>
|
||||
<DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout>
|
||||
<DefaultTargetSchema>IE50</DefaultTargetSchema>
|
||||
<DelaySign>false</DelaySign>
|
||||
<TargetFramework>net40</TargetFramework>
|
||||
<OutputType>Exe</OutputType>
|
||||
<RootNamespace>PascalABCCompiler</RootNamespace>
|
||||
<RunPostBuildEvent>OnBuildSuccess</RunPostBuildEvent>
|
||||
<FileUpgradeFlags>
|
||||
</FileUpgradeFlags>
|
||||
<UpgradeBackupLocation>
|
||||
</UpgradeBackupLocation>
|
||||
<OldToolsVersion>3.5</OldToolsVersion>
|
||||
<IsWebBootstrapper>true</IsWebBootstrapper>
|
||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||
<TargetFrameworkProfile />
|
||||
<PublishUrl>http://localhost/pabcnetcclear/</PublishUrl>
|
||||
<Install>true</Install>
|
||||
<InstallFrom>Web</InstallFrom>
|
||||
<UpdateEnabled>true</UpdateEnabled>
|
||||
<UpdateMode>Foreground</UpdateMode>
|
||||
<UpdateInterval>7</UpdateInterval>
|
||||
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
|
||||
<UpdatePeriodically>false</UpdatePeriodically>
|
||||
<UpdateRequired>false</UpdateRequired>
|
||||
<MapFileExtensions>true</MapFileExtensions>
|
||||
<ApplicationRevision>0</ApplicationRevision>
|
||||
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
||||
<UseApplicationTrust>false</UseApplicationTrust>
|
||||
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
|
||||
<ApplicationIcon>App.ico</ApplicationIcon>
|
||||
|
||||
<OutputPath>..\bin\</OutputPath>
|
||||
<BaseAddress>285212672</BaseAddress>
|
||||
<ConfigurationOverrideFile>
|
||||
</ConfigurationOverrideFile>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<DocumentationFile>
|
||||
</DocumentationFile>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<FileAlignment>4096</FileAlignment>
|
||||
<Optimize>false</Optimize>
|
||||
<RegisterForComInterop>false</RegisterForComInterop>
|
||||
<RemoveIntegerChecks>false</RemoveIntegerChecks>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<DebugType>full</DebugType>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<UseVSHostingProcess>true</UseVSHostingProcess>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<OutputPath>..\bin\</OutputPath>
|
||||
<BaseAddress>285212672</BaseAddress>
|
||||
<ConfigurationOverrideFile>
|
||||
</ConfigurationOverrideFile>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<DocumentationFile>
|
||||
</DocumentationFile>
|
||||
<FileAlignment>4096</FileAlignment>
|
||||
<Optimize>true</Optimize>
|
||||
<RegisterForComInterop>false</RegisterForComInterop>
|
||||
<RemoveIntegerChecks>false</RemoveIntegerChecks>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<DebugType>none</DebugType>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
||||
<AssemblyName>pabcnetcclear</AssemblyName>
|
||||
|
||||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
||||
<Deterministic>false</Deterministic>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System">
|
||||
<Name>System</Name>
|
||||
</Reference>
|
||||
<Reference Include="System.Data">
|
||||
<Name>System.Data</Name>
|
||||
</Reference>
|
||||
<Reference Include="System.Xml">
|
||||
<Name>System.XML</Name>
|
||||
</Reference>
|
||||
<Reference Include="CompilerTools, Version=1.6.0.431, Culture=neutral, PublicKeyToken=null">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>D:\PascalABC.NET\!PABC_SVN\bin\CompilerTools.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Errors, Version=1.6.0.431, Culture=neutral, PublicKeyToken=null">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>D:\PascalABC.NET\!PABC_SVN\bin\Errors.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Localization, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>D:\PascalABC.NET\!PABC_SVN\bin\Localization.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="ParserTools, Version=1.6.0.431, Culture=neutral, PublicKeyToken=null">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>D:\PascalABC.NET\!PABC_SVN\bin\ParserTools.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="SyntaxTree, Version=1.6.0.431, Culture=neutral, PublicKeyToken=null">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>D:\PascalABC.NET\!PABC_SVN\bin\SyntaxTree.dll</HintPath>
|
||||
</Reference>
|
||||
<None Remove="App.ico" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="App.ico" />
|
||||
<Compile Include="AssemblyInfo.cs">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="CommandConsoleCompiler.cs" />
|
||||
<Compile Include="ConsoleCompiler.cs">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>Клиентский профиль .NET Framework 3.5 SP1</ProductName>
|
||||
<Install>false</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Framework.2.0">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 2.0 %28x86%29</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Framework.3.0">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.0 %28x86%29</ProductName>
|
||||
<Install>false</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.5</ProductName>
|
||||
<Install>false</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
||||
<Install>false</Install>
|
||||
</BootstrapperPackage>
|
||||
<ProjectReference Include="..\Compiler\Compiler.csproj" />
|
||||
<ProjectReference Include="..\LanguageIntegrator\LanguageIntegrator.csproj" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="app.config" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\Compiler\Compiler.csproj">
|
||||
<Project>{1e42361a-eda3-4872-88af-a3aaf600d36d}</Project>
|
||||
<Name>Compiler</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\LanguageIntegrator\LanguageIntegrator.csproj">
|
||||
<Project>{a48d9069-d569-4110-9252-a10f139b669b}</Project>
|
||||
<Name>LanguageIntegrator</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
<PropertyGroup>
|
||||
<PreBuildEvent>
|
||||
</PreBuildEvent>
|
||||
<PostBuildEvent>
|
||||
</PostBuildEvent>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
Loading…
Reference in a new issue