mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-04-14 20:50:03 +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);
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user