Daily update on 20250318-203619 by Nitload Youmu. Additional Message : Syntax analyzer rebuilding, a neet and flexible structure introduced
Signed-off-by: Nitload <YoumuLiu_NSI@whv0t.onmicrosoft.com>
This commit is contained in:
@@ -31,6 +31,7 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
@@ -39,11 +40,11 @@ namespace StgSharp.Script.Express
|
||||
public class ExpInstanceReferenceNode : ExpNode
|
||||
{
|
||||
|
||||
private ExpElementInstanceBase _instance;
|
||||
private ExpElementInstanceNode _instance;
|
||||
|
||||
public ExpInstanceReferenceNode(
|
||||
Token source,
|
||||
ExpElementInstanceBase instance )
|
||||
internal ExpInstanceReferenceNode(
|
||||
Token source,
|
||||
ExpElementInstanceNode instance )
|
||||
: base( source )
|
||||
{
|
||||
_instance = instance;
|
||||
@@ -56,5 +57,13 @@ namespace StgSharp.Script.Express
|
||||
|
||||
public override IExpElementSource EqualityTypeConvert => _instance.EqualityTypeConvert;
|
||||
|
||||
[MethodImpl( MethodImplOptions.AggressiveInlining )]
|
||||
public static ExpInstanceReferenceNode Create(
|
||||
Token source,
|
||||
ExpElementInstanceNode instance )
|
||||
{
|
||||
return new ExpInstanceReferenceNode( source, instance );
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user