daily update on 20250214 by nitload youmu, building syntax analysor, tough!

This commit is contained in:
Nitload
2025-02-14 13:30:17 +08:00
parent c23b640cae
commit ccef0de6f6
68 changed files with 2594 additions and 913 deletions
@@ -40,9 +40,22 @@ namespace StgSharp.Script.Express
public ExpEntity( string name, ExpSchema context )
: base( name, context ) { }
public override ExpToken Left => throw new NotImplementedException();
public override ExpToken Right => throw new NotImplementedException();
public override ExpToken Next
{
get => throw new NotImplementedException();
set => throw new NotImplementedException();
}
public override IExpElementSource EqualityTypeConvert => throw new NotImplementedException(
);
}
public class ExpEntitySource : IExpInstantiableElement
public class ExpEntitySource : ExpInstantiableElementBase
{
private ExpExpressionTree _expressionTree;
@@ -55,18 +68,23 @@ namespace StgSharp.Script.Express
_source = provider;
}
public ExpElementType ElementType => ExpElementType.Entity;
public override ExpElementType ElementType => ExpElementType.Entity;
public IScriptSourceProvider SourceProvider => _source;
public override IScriptSourceProvider SourceProvider => _source;
public string Name => _name;
public override string Name => _name;
public void Analyse()
public override void Analyse()
{
throw new NotImplementedException();
}
public ExpToken CreateInstanceToken()
public override ExpToken CreateInstanceToken()
{
throw new NotImplementedException();
}
public override bool IsConvertable( IExpElementSource targetType )
{
throw new NotImplementedException();
}