Daily update on 20250324-100332 by Nitload Youmu. Additional Message : Single line syntax analyzer ok, gonging on unit test of multi line, func call. Then building branch, loop, area syntax analyzer. Some of descriptors not supported.
Signed-off-by: Nitload <YoumuLiu_NSI@whv0t.onmicrosoft.com>
This commit is contained in:
@@ -50,14 +50,14 @@ namespace StgSharp.Script.Express
|
||||
}
|
||||
|
||||
public override IExpElementSource EqualityTypeConvert => ExpSchema.BuiltinSchema
|
||||
.TryGetType(
|
||||
ExpressCompile.KeyWord.Integer,
|
||||
out ExpTypeSource? type ) ?
|
||||
.TryGetType(
|
||||
ExpressCompile.Keyword.Integer,
|
||||
out ExpTypeSource? type ) ?
|
||||
type : throw new ExpCompileNotInitializedException();
|
||||
|
||||
public int Value => _value;
|
||||
|
||||
public override string TypeName => ExpressCompile.KeyWord.Integer;
|
||||
public override string TypeName => ExpressCompile.Keyword.Integer;
|
||||
|
||||
}
|
||||
|
||||
@@ -74,9 +74,9 @@ namespace StgSharp.Script.Express
|
||||
}
|
||||
|
||||
public override IExpElementSource EqualityTypeConvert => ExpSchema.BuiltinSchema
|
||||
.TryGetType(
|
||||
ExpressCompile.KeyWord.String,
|
||||
out ExpTypeSource? type ) ?
|
||||
.TryGetType(
|
||||
ExpressCompile.Keyword.String,
|
||||
out ExpTypeSource? type ) ?
|
||||
type : throw new ExpCompileNotInitializedException();
|
||||
|
||||
public override string TypeName => EqualityTypeConvert.Name;
|
||||
@@ -100,9 +100,9 @@ namespace StgSharp.Script.Express
|
||||
public bool Value => _value;
|
||||
|
||||
public override IExpElementSource EqualityTypeConvert => ExpSchema.BuiltinSchema
|
||||
.TryGetType(
|
||||
ExpressCompile.KeyWord.Boolean,
|
||||
out ExpTypeSource? type ) ?
|
||||
.TryGetType(
|
||||
ExpressCompile.Keyword.Boolean,
|
||||
out ExpTypeSource? type ) ?
|
||||
type : throw new ExpCompileNotInitializedException();
|
||||
|
||||
public override string TypeName => EqualityTypeConvert.Name;
|
||||
@@ -124,9 +124,9 @@ namespace StgSharp.Script.Express
|
||||
public float Value => _value;
|
||||
|
||||
public override IExpElementSource EqualityTypeConvert => ExpSchema.BuiltinSchema
|
||||
.TryGetType(
|
||||
ExpressCompile.KeyWord.String,
|
||||
out ExpTypeSource? type ) ?
|
||||
.TryGetType(
|
||||
ExpressCompile.Keyword.String,
|
||||
out ExpTypeSource? type ) ?
|
||||
type : throw new ExpCompileNotInitializedException();
|
||||
|
||||
public override string TypeName => EqualityTypeConvert.Name;
|
||||
@@ -148,9 +148,9 @@ namespace StgSharp.Script.Express
|
||||
public ExpLogic Value => _value;
|
||||
|
||||
public override IExpElementSource EqualityTypeConvert => ExpSchema.BuiltinSchema
|
||||
.TryGetType(
|
||||
ExpressCompile.KeyWord.Logical,
|
||||
out ExpTypeSource? type ) ?
|
||||
.TryGetType(
|
||||
ExpressCompile.Keyword.Logical,
|
||||
out ExpTypeSource? type ) ?
|
||||
type : throw new ExpCompileNotInitializedException();
|
||||
|
||||
public override string TypeName => EqualityTypeConvert.Name;
|
||||
|
||||
Reference in New Issue
Block a user