Package | Description |
---|---|
org.ballerinalang.langserver.compiler | |
org.ballerinalang.langserver.compiler.format |
Modifier and Type | Method and Description |
---|---|
static BallerinaFile |
LSCompiler.compileContent(String content,
CompilerPhase phase)
Returns a BallerinaFile compiling in-memory content.
|
BLangPackage |
LSCompiler.getBLangPackage(LSContext context,
WorkspaceDocumentManager docManager,
boolean preserveWS,
Class errStrategy,
boolean compileFullProject)
Get the BLangPackage for a given program.
|
BallerinaFile |
LSCompiler.updateAndCompileFile(Path filePath,
String content,
CompilerPhase phase,
WorkspaceDocumentManager documentManager)
Updates content and compile file.
|
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.