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
@@ -47,11 +47,24 @@ namespace StgSharp.Script.Express
public ExpElementType ElementType => ExpElementType.Function;
public override ExpToken Left => throw new NotImplementedException();
public override ExpToken Next
{
get => throw new NotImplementedException();
set => throw new NotImplementedException();
}
public override ExpToken Right => throw new NotImplementedException();
public override IExpElementSource EqualityTypeConvert => throw new NotImplementedException(
);
public void CallThisFunction( params ExpToken[] parameters ) { }
}
public class ExpFunctionSource : IExpImmutableElement
public class ExpFunctionSource : ExpImmutableElementBase
{
private ScriptSourceTransmitter _transmitter;
@@ -65,18 +78,18 @@ namespace StgSharp.Script.Express
_transmitter = transmitter;
}
public ExpElementType ElementType => ExpElementType.Function;
public override ExpElementType ElementType => ExpElementType.Function;
public IScriptSourceProvider SourceProvider => _transmitter;
public override IScriptSourceProvider SourceProvider => _transmitter;
public string Name => _name;
public override string Name => _name;
public void Analyse()
public override void Analyse()
{
throw new NotImplementedException();
}
public ExpToken MakeReference( params object[] options )
public override ExpToken MakeReference( params object[] options )
{
throw new NotImplementedException();
}