mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-12 14:52:25 +02:00
pastojs: clean up
git-svn-id: trunk@47721 -
(cherry picked from commit bc88571884
)
This commit is contained in:
parent
b6f8316cbb
commit
b8ec5876ac
@ -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