| Package | Description |
|---|---|
| org.ballerinalang.langserver.compiler |
| Modifier and Type | Field and Description |
|---|---|
static LSContext.Key<CompilerContext> |
DocumentServiceKeys.COMPILER_CONTEXT_KEY |
static LSContext.Key<BLangPackage> |
DocumentServiceKeys.CURRENT_BLANG_PACKAGE_CONTEXT_KEY |
static LSContext.Key<String> |
DocumentServiceKeys.CURRENT_PACKAGE_NAME_KEY |
static LSContext.Key<String> |
DocumentServiceKeys.FILE_NAME_KEY |
static LSContext.Key<String> |
DocumentServiceKeys.FILE_URI_KEY |
static LSContext.Key<LSContext> |
DocumentServiceKeys.OPERATION_META_CONTEXT_KEY |
static LSContext.Key<org.antlr.v4.runtime.ParserRuleContext> |
DocumentServiceKeys.PARSER_RULE_CONTEXT_KEY |
static LSContext.Key<org.eclipse.lsp4j.TextDocumentPositionParams> |
DocumentServiceKeys.POSITION_KEY |
static LSContext.Key<List<org.eclipse.lsp4j.SymbolInformation>> |
DocumentServiceKeys.SYMBOL_LIST_KEY |
static LSContext.Key<SymbolTable> |
DocumentServiceKeys.SYMBOL_TABLE_KEY |
static LSContext.Key<Integer> |
DocumentServiceKeys.TOKEN_INDEX_KEY |
static LSContext.Key<org.antlr.v4.runtime.TokenStream> |
DocumentServiceKeys.TOKEN_STREAM_KEY |
static LSContext.Key<org.antlr.v4.runtime.Vocabulary> |
DocumentServiceKeys.VOCABULARY_KEY |
| Modifier and Type | Method and Description |
|---|---|
<V> V |
LSContext.get(LSContext.Key<V> key)
Get property by Key.
|
<V> V |
LSServiceOperationContext.get(LSContext.Key<V> key) |
<V> void |
LSContext.put(LSContext.Key<V> key,
V value)
Add new Context property.
|
<V> void |
LSServiceOperationContext.put(LSContext.Key<V> key,
V value) |
Copyright © 2018 WSO2. All rights reserved.