This commit is contained in:
Nitload
2025-08-25 09:50:30 +08:00
parent bd0e31e922
commit 1359ff4ecc
1630 changed files with 738486 additions and 2399 deletions
@@ -43,7 +43,7 @@ namespace StgSharp.Model.Step
private ExpSyntaxNode _begin;
private StepComplexEntityNode( ExpSyntaxNode node )
public StepComplexEntityNode( ExpSyntaxNode node )
: base( node.Source )
{
_begin = node;
@@ -53,9 +53,9 @@ namespace StgSharp.Model.Step
public override ExpSyntaxNode Right => _begin;
public override IExpElementSource EqualityTypeConvert => StepEntityType.Source;
public override IExpElementSource EqualityTypeConvert => throw new NotImplementedException();
public static StepComplexEntityNode FromTuple( ExpSyntaxNode node )
public StepComplexEntityNode FromTuple( ExpSyntaxNode node )
{
if( node is not ExpTupleNode tuple ) {
throw new ExpInvalidSyntaxException( "Node to convert is not a complex" );