A structure outline defines a general outline information about the structure of the source code. It is in a tree hierarchy, meaning every outline element can have children of their own, and so on.
Each structure outline contains the root entries which serve as the top level containers for any sub entries. The entries can have hierarchical relations, and therefore nested in each other in a parent-child structure.
The outline tree is usually display in the IDE in a tree view alongside the source code editor. See StructureOutlineEntry for more information.
Gets the top level root entries in this outline.
|public default String|
Gets the identifier string that is associated with the outline schema.
|public default Map<|
Gets the schema meta-data that is associated with the outline.
The schema identifiers are arbitrary strings that should uniquely identify the structure of the enclosed outline. It can be used by IDE plugins and others to interpret the outline structure and present the user a more readable display.
One use case for this is to create IDE plugins that assign various icons for the script outline to display.
The schema identifier can be provided by the scripting language, can be arbitrary, and should be unique among other scripting languages.
The meta-data can contain arbitrary key-value pairs that can be used to describe various aspects of the outline. This is used to convey information to the IDE plugins about different aspects of the outline.