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 |
---|---|
BLangPackage |
LSCompiler.getBLangPackage(LSContext context,
WorkspaceDocumentManager docManager,
boolean preserveWS,
Class errStrategy,
boolean compileFullProject)
Get the BLangPackage for a given program.
|
List<BLangPackage> |
LSCompiler.getBLangPackages(LSContext context,
WorkspaceDocumentManager docManager,
boolean preserveWS,
Class errStrategy,
boolean compileFullProject)
Get the BLangPackage for a given program.
|
static Compiler |
LSCompilerUtil.getCompiler(LSContext context,
String relativeFilePath,
CompilerContext compilerContext,
Class customErrorStrategy)
Get compiler for the given context and file.
|
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(Path file,
LSCompiler lsCompiler,
WorkspaceDocumentManager documentManager,
LSContext context)
Get the AST for the current text document's content.
|
Copyright © 2019 WSO2. All rights reserved.