Package | Description |
---|---|
org.ballerinalang.langserver.compiler.format |
Modifier and Type | Method and Description |
---|---|
static com.google.gson.JsonElement |
TextDocumentFormatUtil.generateJSON(Node node,
Map<String,Node> anonStructs,
Map<BLangNode,List<SymbolMetaInfo>> symbolMetaInfoMap)
Generate json representation for the given node.
|
static com.google.gson.JsonObject |
TextDocumentFormatUtil.getAST(Path file,
LSCompiler lsCompiler,
WorkspaceDocumentManager documentManager,
LSContext context)
Get the AST for the current text document's content.
|
Copyright © 2019 WSO2. All rights reserved.