File tree Expand file tree Collapse file tree 5 files changed +14
-14
lines changed
HydraScript.Application.CodeGeneration/Visitors
HydraScript.Application.StaticAnalysis/Visitors
Domain/HydraScript.Domain.FrontEnd/Parser/Impl/Ast Expand file tree Collapse file tree 5 files changed +14
-14
lines changed Original file line number Diff line number Diff line change 55 <IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
66 </PackageVersion >
77 <PackageVersion Include =" Microsoft.CodeAnalysis.CSharp" Version =" 4.13.0" />
8- <PackageVersion Include =" Microsoft.Extensions.DependencyInjection" Version =" 9.0.3 " />
9- <PackageVersion Include =" Microsoft.Extensions.Logging.Abstractions" Version =" 9.0.3 " />
10- <PackageVersion Include =" Microsoft.Extensions.Logging.Console" Version =" 9.0.3 " />
11- <PackageVersion Include =" Microsoft.Extensions.Options" Version =" 9.0.3 " />
8+ <PackageVersion Include =" Microsoft.Extensions.DependencyInjection" Version =" 9.0.4 " />
9+ <PackageVersion Include =" Microsoft.Extensions.Logging.Abstractions" Version =" 9.0.4 " />
10+ <PackageVersion Include =" Microsoft.Extensions.Logging.Console" Version =" 9.0.4 " />
11+ <PackageVersion Include =" Microsoft.Extensions.Options" Version =" 9.0.4 " />
1212 <PackageVersion Include =" System.CommandLine" Version =" 2.0.0-beta4.24126.1" />
13- <PackageVersion Include =" System.IO.Abstractions" Version =" 22.0.12 " />
14- <PackageVersion Include =" Visitor.NET" Version =" 4.1.2 " />
15- <PackageVersion Include =" Visitor.NET.AutoVisitableGen" Version =" 1.3.0 " />
13+ <PackageVersion Include =" System.IO.Abstractions" Version =" 22.0.14 " />
14+ <PackageVersion Include =" Visitor.NET" Version =" 4.2.0 " />
15+ <PackageVersion Include =" Visitor.NET.AutoVisitableGen" Version =" 1.5.2 " />
1616 </ItemGroup >
1717</Project >
Original file line number Diff line number Diff line change @@ -38,6 +38,8 @@ public InstructionProvider(
3838 _expressionVisitor = expressionVisitor ;
3939 }
4040
41+ public override AddressedInstructions Visit ( IAbstractSyntaxTreeNode visitable ) => [ ] ;
42+
4143 public AddressedInstructions Visit ( ScriptBody visitable )
4244 {
4345 var result = new AddressedInstructions ( ) ;
@@ -52,8 +54,6 @@ public AddressedInstructions Visit(ScriptBody visitable)
5254 return result ;
5355 }
5456
55- public override AddressedInstructions DefaultVisit { get ; } = [ ] ;
56-
5757 public AddressedInstructions Visit ( LexicalDeclaration visitable )
5858 {
5959 var result = new AddressedInstructions ( ) ;
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ public SemanticChecker(
6464 _typeBuilder = typeBuilder ;
6565 }
6666
67- public override Type DefaultVisit => "undefined" ;
67+ public override Type Visit ( IAbstractSyntaxTreeNode visitable ) => "undefined" ;
6868
6969 public Type Visit ( ScriptBody visitable )
7070 {
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ public bool ChildOf<T>(Predicate<T>? condition = null) where T : IAbstractSyntax
6060 }
6161
6262 public virtual TReturn Accept < TReturn > ( IVisitor < IAbstractSyntaxTreeNode , TReturn > visitor ) =>
63- visitor . DefaultVisit ;
63+ visitor . Visit ( this ) ;
6464
6565 protected abstract string NodeRepresentation ( ) ;
6666 public override string ToString ( ) =>
Original file line number Diff line number Diff line change 1212 <IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
1313 </PackageVersion >
1414 <PackageVersion Include =" Fare" Version =" 2.2.1" />
15- <PackageVersion Include =" AwesomeAssertions" Version =" 8.1 .0" />
15+ <PackageVersion Include =" AwesomeAssertions" Version =" 8.2 .0" />
1616 <PackageVersion Include =" MartinCostello.Logging.XUnit" Version =" 0.5.1" />
1717 <PackageVersion Include =" Microsoft.CodeAnalysis.CSharp.Workspaces" Version =" 4.13.0" />
18- <PackageVersion Include =" Microsoft.Extensions.Diagnostics.Testing" Version =" 9.3 .0" />
18+ <PackageVersion Include =" Microsoft.Extensions.Diagnostics.Testing" Version =" 9.4 .0" />
1919 <PackageVersion Include =" Microsoft.NET.Test.Sdk" Version =" 17.13.0" />
2020 <PackageVersion Include =" NSubstitute" Version =" 5.3.0" />
2121 <PackageVersion Include =" PolymorphicContracts.AutoFixture" Version =" 2.0.0" />
2222 <PackageVersion Include =" System.Text.RegularExpressions" Version =" 4.3.1" />
2323 <PackageVersion Include =" xunit" Version =" 2.9.3" />
2424 <PackageVersion Include =" Xunit.DependencyInjection" Version =" 9.9.0" />
25- <PackageVersion Include =" xunit.runner.visualstudio" Version =" 3.0.2 " >
25+ <PackageVersion Include =" xunit.runner.visualstudio" Version =" 3.1.0 " >
2626 <PrivateAssets >all</PrivateAssets >
2727 <IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
2828 </PackageVersion >
You can’t perform that action at this time.
0 commit comments