mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-08-18 12:09:06 +02:00
pastojs: clean up
This commit is contained in:
parent
56a9c2d912
commit
a86581a9ea
@ -24444,15 +24444,6 @@ var
|
|||||||
Result:=(C=TPasFunction) or (C=TPasProcedure) or (C=TPasConstructor) or (C=TPasDestructor);
|
Result:=(C=TPasFunction) or (C=TPasProcedure) or (C=TPasConstructor) or (C=TPasDestructor);
|
||||||
end;
|
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);
|
procedure Append_GetClass(Member: TPasElement);
|
||||||
var
|
var
|
||||||
P: TPasElement;
|
P: TPasElement;
|
||||||
|
Loading…
Reference in New Issue
Block a user