pastojs: clean up

git-svn-id: trunk@47721 -
(cherry picked from commit bc88571884)
This commit is contained in:
Mattias Gaertner 2020-12-08 11:52:07 +00:00 committed by Florian Klämpfl
parent b6f8316cbb
commit b8ec5876ac

View File

@ -24444,15 +24444,6 @@ var
Result:=(C=TPasFunction) or (C=TPasProcedure) or (C=TPasConstructor) or (C=TPasDestructor);
end;
function ProcHasNoSelf(Proc: TPasProcedure): boolean;
begin
if Proc=nil then exit(false);
if not (Proc.Parent is TPasMembersType) then
exit(true);
if Proc.IsStatic then exit(true);
Result:=false;
end;
procedure Append_GetClass(Member: TPasElement);
var
P: TPasElement;