Daily update on 20250313-044921 by Nitload Youmu. Additional Message : Parser to TokenFlag.Member, improvement of exiting StgSharp platform
Signed-off-by: Nitload <YoumuLiu_NSI@whv0t.onmicrosoft.com>
This commit is contained in:
@@ -56,6 +56,8 @@ namespace StgSharp.Script.Express
|
||||
|
||||
public void Analyse();
|
||||
|
||||
public bool TryGetMember( string name, out ExpNode memberNode );
|
||||
|
||||
}
|
||||
|
||||
public abstract class ExpInstantiableElement : IExpElementSource
|
||||
@@ -102,6 +104,8 @@ namespace StgSharp.Script.Express
|
||||
return element == null || element == ExpVoidElement.Only;
|
||||
}
|
||||
|
||||
public abstract bool TryGetMember( string name, out ExpNode memberNode );
|
||||
|
||||
private sealed class ExpVoidElement : ExpInstantiableElement
|
||||
{
|
||||
|
||||
@@ -125,6 +129,14 @@ namespace StgSharp.Script.Express
|
||||
return default!;
|
||||
}
|
||||
|
||||
public override bool TryGetMember(
|
||||
string name,
|
||||
out ExpNode memberNode )
|
||||
{
|
||||
memberNode = ExpNode.Empty;
|
||||
return false;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
@@ -156,5 +168,7 @@ namespace StgSharp.Script.Express
|
||||
|
||||
public abstract ExpNode MakeReference( params object[] options );
|
||||
|
||||
public abstract bool TryGetMember( string name, out ExpNode memberNode );
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user