AST-Playground

This commit is contained in:
Michael Schimmel
2025-08-28 00:56:20 +02:00
parent 3268748c03
commit bb0e2fd5af
12 changed files with 2500 additions and 393 deletions
+6 -6
View File
@@ -553,7 +553,7 @@ type
class operator Implicit(const A: TDataType.TMethod): IDataMethodType; overload; inline;
property ArgType: IDataType read GetArgType;
property ResultType: IDataType read GetResultType;
function CreateValue(const Proc: TProc): TDataType.TMethod.TValue; inline;
function CreateValue(const Proc: TProc): TDataType.TMethod.TValue;
end;
// Helper to cast a generic TValue to a specific value helper.
@@ -598,11 +598,11 @@ type
class operator Implicit(const A: TDataType.TVector): TDataType; overload; inline;
// Type factories
class function Void: TDataType.TVoid; static; inline;
class function Ordinal: TDataType.TOrdinal; static; inline;
class function Float: TDataType.TFloat; static; inline;
class function Text: TDataType.TText; static; inline;
class function Timestamp: TDataType.TTimestamp; static; inline;
class function Void: TDataType.TVoid; static;
class function Ordinal: TDataType.TOrdinal; static;
class function Float: TDataType.TFloat; static;
class function Text: TDataType.TText; static;
class function Timestamp: TDataType.TTimestamp; static;
class function DecimalOf(const AScale: Integer): TDataType.TDecimal; static;
class function TupleOf(const AItemTypes: array of IDataType): TDataType.TTuple; overload; static;
class function TupleOf(const AItemValues: array of IDataValue): TDataType.TTuple.TValue; overload; static;