Merge from branch giga
This commit is contained in:
@@ -43,7 +43,7 @@ namespace StgSharp.Model.Step
|
||||
|
||||
private ExpSyntaxNode _begin;
|
||||
|
||||
public StepComplexEntityNode( ExpSyntaxNode node )
|
||||
private 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 => throw new NotImplementedException();
|
||||
public override IExpElementSource EqualityTypeConvert => StepEntityType.Source;
|
||||
|
||||
public StepComplexEntityNode FromTuple( ExpSyntaxNode node )
|
||||
public static StepComplexEntityNode FromTuple( ExpSyntaxNode node )
|
||||
{
|
||||
if( node is not ExpTupleNode tuple ) {
|
||||
throw new ExpInvalidSyntaxException( "Node to convert is not a complex" );
|
||||
|
||||
Reference in New Issue
Block a user