Replaced Count-Node by RTL-Function
This commit is contained in:
@@ -262,13 +262,6 @@ type
|
||||
const AStaticType: IStaticType = nil
|
||||
): IAddSeriesItemNode; overload; static;
|
||||
|
||||
class function SeriesLength(const ASeries: IIdentifierNode; const Loc: ISourceLocation = nil): ISeriesLengthNode; overload; static;
|
||||
class function SeriesLength(
|
||||
const Identity: IAstIdentity;
|
||||
const ASeries: IIdentifierNode;
|
||||
const AStaticType: IStaticType = nil
|
||||
): ISeriesLengthNode; overload; static;
|
||||
|
||||
// --- PIPES ---
|
||||
|
||||
class function Pipe(
|
||||
@@ -871,27 +864,6 @@ begin
|
||||
);
|
||||
end;
|
||||
|
||||
class function TAst.SeriesLength(const ASeries: IIdentifierNode; const Loc: ISourceLocation): ISeriesLengthNode;
|
||||
begin
|
||||
var id := TIdentities.Structural(Loc);
|
||||
Result := TSeriesLengthNode.Create(ASeries, TTypes.Ordinal, id);
|
||||
end;
|
||||
|
||||
class function TAst.SeriesLength(
|
||||
const Identity: IAstIdentity;
|
||||
const ASeries: IIdentifierNode;
|
||||
const AStaticType: IStaticType
|
||||
): ISeriesLengthNode;
|
||||
begin
|
||||
Result :=
|
||||
TSeriesLengthNode.Create(
|
||||
ASeries,
|
||||
if AStaticType <> nil then AStaticType
|
||||
else TTypes.Ordinal,
|
||||
Identity
|
||||
);
|
||||
end;
|
||||
|
||||
// --- PIPES ---
|
||||
|
||||
class function TAst.Pipe(const AInputs: ITupleNode; const ATransformation: ILambdaExpressionNode; const Loc: ISourceLocation): IPipeNode;
|
||||
|
||||
Reference in New Issue
Block a user