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
@@ -31,6 +31,7 @@
using System;
using System.Collections.Generic;
using System.Data;
using System.Reflection.Metadata.Ecma335;
using System.Text;
namespace StgSharp.Script.Express
@@ -45,11 +46,24 @@ namespace StgSharp.Script.Express
public object? value => throw new NotImplementedException();
public override ExpToken Left => throw new NotImplementedException();
public override ExpToken Next
{
get => null!;
set { }
}
public override ExpToken Right => throw new NotImplementedException();
public override IExpElementSource EqualityTypeConvert => throw new NotImplementedException(
);
public override string TypeName => _source.Name;
}
public class ExpRuleSource : IExpImmutableElement
public class ExpRuleSource : ExpImmutableElementBase
{
private ScriptSourceTransmitter _transmitter;
@@ -61,18 +75,18 @@ namespace StgSharp.Script.Express
_transmitter = transmitter;
}
public ExpElementType ElementType => ExpElementType.Rule;
public override ExpElementType ElementType => ExpElementType.Rule;
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();
}