mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-03 15:49:56 +01:00
codetools: clean up
git-svn-id: trunk@49345 -
This commit is contained in:
parent
bb34413487
commit
913b752bcc
@ -268,10 +268,8 @@ type
|
||||
function FindRootNode(Desc: TCodeTreeNodeDesc): TCodeTreeNode;
|
||||
function FindInterfaceNode: TCodeTreeNode;
|
||||
function FindMainUsesNode(UseContainsSection: boolean = false): TCodeTreeNode;
|
||||
function FindMainUsesSection(UseContainsSection: boolean = false): TCodeTreeNode; deprecated; // use FindMainUsesNode
|
||||
function FindImplementationNode: TCodeTreeNode;
|
||||
function FindImplementationUsesNode: TCodeTreeNode;
|
||||
function FindImplementationUsesSection: TCodeTreeNode; deprecated; // use FindImplementationUsesNode
|
||||
function FindInitializationNode: TCodeTreeNode;
|
||||
function FindFinalizationNode: TCodeTreeNode;
|
||||
function FindMainBeginEndNode: TCodeTreeNode;
|
||||
@ -5882,11 +5880,6 @@ begin
|
||||
if (Result.Desc<>ctnUsesSection) then Result:=nil;
|
||||
end;
|
||||
|
||||
function TPascalParserTool.FindImplementationUsesSection: TCodeTreeNode;
|
||||
begin
|
||||
Result:=FindImplementationUsesNode;
|
||||
end;
|
||||
|
||||
function TPascalParserTool.FindInitializationNode: TCodeTreeNode;
|
||||
begin
|
||||
Result:=FindRootNode(ctnInitialization);
|
||||
@ -5933,12 +5926,6 @@ begin
|
||||
end;
|
||||
end;
|
||||
|
||||
function TPascalParserTool.FindMainUsesSection(UseContainsSection: boolean
|
||||
): TCodeTreeNode;
|
||||
begin
|
||||
Result:=FindMainUsesNode(UseContainsSection);
|
||||
end;
|
||||
|
||||
function TPascalParserTool.FindFirstSectionChild: TCodeTreeNode;
|
||||
begin
|
||||
Result:=Tree.Root;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user