public class DocumentationGenerator extends Object
Modifier and Type | Method and Description |
---|---|
static DocAttachmentInfo |
getDocumentationEditForNode(Node node)
Get the documentation edit attachment info for a given particular node.
|
static DocAttachmentInfo |
getDocumentationEditForNodeByPosition(String topLevelNodeType,
BLangPackage bLangPkg,
int line,
LSContext context)
Get Documentation edit for node at a given position.
|
public static DocAttachmentInfo getDocumentationEditForNode(Node node)
node
- Node givenpublic static DocAttachmentInfo getDocumentationEditForNodeByPosition(String topLevelNodeType, BLangPackage bLangPkg, int line, LSContext context)
topLevelNodeType
- top level node typebLangPkg
- BLang packageline
- position to be compared withcontext
- Language server contextCopyright © 2019 WSO2. All rights reserved.