| Package | Description |
|---|---|
| org.ballerinalang.langserver.compiler | |
| org.ballerinalang.langserver.compiler.common | |
| org.ballerinalang.langserver.compiler.format |
| Modifier and Type | Class and Description |
|---|---|
class |
LSServiceOperationContext
Language server context for text document server.
|
| Modifier and Type | Field and Description |
|---|---|
static LSContext.Key<LSContext> |
DocumentServiceKeys.OPERATION_META_CONTEXT_KEY |
| Modifier and Type | Method and Description |
|---|---|
static List<BLangPackage> |
LSCompiler.getBLangPackage(LSContext context,
WorkspaceDocumentManager docManager,
boolean preserveWhitespace,
Class customErrorStrategy,
boolean compileFullProject)
Get the BLangPackage for a given program.
|
| Modifier and Type | Method and Description |
|---|---|
static LSCustomErrorStrategy |
CustomErrorStrategyFactory.getCustomErrorStrategy(Class customErrorStrategyClass,
LSContext context)
Get custom error strategy for given class.
|
| Constructor and Description |
|---|
LSCustomErrorStrategy(LSContext context) |
| Modifier and Type | Method and Description |
|---|---|
static com.google.gson.JsonObject |
TextDocumentFormatUtil.getAST(org.eclipse.lsp4j.DocumentFormattingParams params,
WorkspaceDocumentManager documentManager,
LSContext context)
Get the AST for the current text document's content.
|
Copyright © 2018 WSO2. All rights reserved.