Interface ICodeHierarchy
public interface ICodeHierarchy
Get a tree representing the code hierarchy of a code unit.
-
Method Summary
-
Method Details
-
getRoot
ICodeNode getRoot()Retrieve the root code node.Note: Code nodes should not to be confused with
code objects
.- Returns:
- the code node root, generally a package (namespace)
-
findNode
Retrieve the node at the provided address.- Parameters:
address
- code node address- Returns:
- a node or null
-
findNode
Retrieve the node that best matches the provided address.- Parameters:
address
- code node addressbestEffort
- if true, will attempt to resolve to the nearest or most appropriate node if the address is not the exact one of a node- Returns:
- a node or null
-