IOutlineService¶
-
public interface
IOutlineService
<P extends IParseUnit, A extends IAnalyzeUnit>¶ Interface for creating outlines.
Parameters: - <P> – Type of parse units.
- <A> – Type of analyze units.
Methods¶
available¶
-
boolean
available
(ILanguageImpl langImpl)¶ Checks if outlining is available for given language implementation.
Parameters: - langImpl – Language implementation to check.
Returns: True if outlining is available, false if not.
outline¶
-
IOutline
outline
(P result)¶ Creates an outline from given parse unit.
Parameters: - result – Parsed result.
Throws: - MetaborgException – When creating an outline fails unexpectedly.
Returns: Created outline, or null if the outline is empty.
outline¶
-
IOutline
outline
(A result)¶ Creates an outline from given analyze unit.
Parameters: - result – Analyzed result.
Throws: - MetaborgException – When creating an outline fails unexpectedly.
Returns: Created outline, or null if the outline is empty.