File tree Expand file tree Collapse file tree
src/AXSharp.compiler/src/ixd Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6969 <HintPath >..\..\..\apax\stc\bin\AX.Text.dll</HintPath >
7070 <Private >False</Private >
7171 </Reference >
72+ <Reference Include =" AX.ST.Compiler.PluginAbstractions" >
73+ <HintPath >..\..\..\apax\stc\bin\AX.ST.Compiler.PluginAbstractions.dll</HintPath >
74+ <Private >False</Private >
75+ </Reference >
7276 </ItemGroup >
7377
7478 <ItemGroup >
Original file line number Diff line number Diff line change 11// See https://aka.ms/new-console-template for more information
22using AX . ST . Semantic ;
3+ using AX . ST . Semantic . Analyzer ;
34using AX . ST . Syntax . Parser ;
45using AX . ST . Syntax . Tree ;
56using AX . Text ;
67using AX . Text . Diagnostics ;
78using AXSharp . Compiler ;
89using AXSharp . ixc_doc ;
910using AXSharp . ixc_doc . Interfaces ;
11+ using AXSharp . ixc_doc . Schemas ;
1012using AXSharp . ixc_doc . Visitors ;
11- using System ;
13+ using CliWrap ;
1214using CommandLine ;
13- using AXSharp . ixc_doc . Schemas ;
15+ using NuGet . Packaging ;
16+ using System ;
17+ using System . Collections . Generic ;
1418using System . Reflection ;
15- using System . Text ;
16- using CliWrap ;
17- using System . Runtime . InteropServices ;
1819using System . Runtime . CompilerServices ;
19- using System . Collections . Generic ;
20- using NuGet . Packaging ;
20+ using System . Runtime . InteropServices ;
21+ using System . Text ;
2122
2223const string Logo =
2324@"| \ /
@@ -75,9 +76,9 @@ void GenerateYamls(Options o)
7576 //Console.WriteLine($"Compiling project {axProject.ProjectInfo.Name}...");
7677 //var projectSources = axProject.Sources.Select(p => (parseTree: STParser.ParseTextAsync(p).Result, source: p));
7778
78- var toCompile = projectSources . Select ( p => p . parseTree ) ;
79+ var toCompile = projectSources . Select ( p => p . parseTree ) . ToList ( ) ;
7980
80- var compilation = Compilation . Create ( toCompile , null , Compilation . Settings . Default ) . Result ;
81+ var compilation = Compilation . Create ( toCompile , new List < ISemanticAnalyzer > ( ) , Compilation . Settings . Default ) . Result ;
8182
8283 var semanticTree = compilation . Compilation . GetSemanticTree ( ) ;
8384
Original file line number Diff line number Diff line change 22 "profiles" : {
33 "ixd" : {
44 "commandName" : " Project" ,
5- "commandLineArgs" : " ixd -x C:\\ MTS\\ ix\\ axsharp\\ src\\ AXSharp.compiler\\ src\\ ixd\\ tests\\ samples\\ ax\\ -o C:\\ MTS\\ ix\\ axsharp\\ src\\ AXSharp.compiler\\ src\\ ixd\\ tests\\ docfx\\ docfx_project\\ api\\ "
5+ "commandLineArgs" : " ixd -x .\\ src\\ abstractions\\ ctrl -o .\\ docfx\\ apictrl\\ " ,
6+ "workingDirectory" : " c:\\ W\\ Develop\\ gh\\ inxton\\ simatic-ax\\ axopen.templates\\ axopen\\ "
67 },
78 "ixd-2" : {
89 "commandName" : " Project" ,
You can’t perform that action at this time.
0 commit comments