Format the linting response and update PineDocsManager.
Parameters
response: any
The linting response to format.
Returns Promise<null | string[]>
getLibData
getLibData(): void
Gets the library data from the linting response
This function will get the lib data from the linting response and set it in the pineFetchLibData object
Returns void
void
setAliases
setAliases(): void
Adds aliases to the pineDocsManager based on imports in the response.
This function adds aliases to the pineDocsManager object based on imports in the response.
Returns void
setFunctions
setFunctions(): void
Set functions in PineDocsManager.
Returns void
setImports
setImports(): void
Set imports in PineDocsManager.
Returns void
setUDT
setUDT(): void
Set user-defined types and fields in PineDocsManager.
Returns void
setVariables
setVariables(): void
Set variables in PineDocsManager.
Returns void
shouldRunConversion
shouldRunConversion(): boolean
Checks whether the code conversion should run based on changes in the response.
This function determines whether the code conversion should run based on changes in the response.
Returns boolean
A set of flags indicating which parts of the response have changed.
Class for formatting the linting response This class will take the linting response and format it into a usable format
Param: response
the linting response