JSONPath Tools / @jsonpath-tools/jsonpath / SignatureHelpService
Class: SignatureHelpService
Provides a signature for a called function.
Constructors
new SignatureHelpService()
ts
new SignatureHelpService(queryOptions): SignatureHelpServiceParameters
queryOptions
Query options.
Returns
SignatureHelpService
Methods
provideSignature()
ts
provideSignature(query, position): null | SignatureProvides a signature at the given caret position in the query text. When no signature is available it returns null.
Parameters
query
Query.
position
number
Caret position in the query text (starts with 0).
Returns
null | Signature