Modifier and Type | Method and Description |
---|---|
static BLangPackage |
TextDocumentServiceUtil.getBLangPackage(TextDocumentServiceContext context,
WorkspaceDocumentManager docManager)
Get the BLangPackage for a given program.
|
Constructor and Description |
---|
PositionTreeVisitor(TextDocumentServiceContext context) |
Constructor and Description |
---|
BallerinaCustomErrorStrategy(TextDocumentServiceContext context) |
TreeVisitor(TextDocumentServiceContext documentServiceContext) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
AbstractItemResolver.isInvocationOrFieldAccess(TextDocumentServiceContext documentServiceContext)
Check whether the token stream corresponds to a action invocation or a function invocation.
|
ArrayList<org.eclipse.lsp4j.CompletionItem> |
PackageNameContextResolver.resolveItems(TextDocumentServiceContext completionContext) |
ArrayList<org.eclipse.lsp4j.CompletionItem> |
BlockStatementContextResolver.resolveItems(TextDocumentServiceContext completionContext) |
ArrayList<org.eclipse.lsp4j.CompletionItem> |
TopLevelResolver.resolveItems(TextDocumentServiceContext completionContext) |
ArrayList<org.eclipse.lsp4j.CompletionItem> |
StatementContextResolver.resolveItems(TextDocumentServiceContext completionContext) |
ArrayList<org.eclipse.lsp4j.CompletionItem> |
FunctionContextResolver.resolveItems(TextDocumentServiceContext completionContext) |
ArrayList<org.eclipse.lsp4j.CompletionItem> |
GlobalScopeResolver.resolveItems(TextDocumentServiceContext completionContext) |
ArrayList<org.eclipse.lsp4j.CompletionItem> |
DefaultResolver.resolveItems(TextDocumentServiceContext completionContext) |
ArrayList<org.eclipse.lsp4j.CompletionItem> |
ResourceContextResolver.resolveItems(TextDocumentServiceContext completionContext) |
abstract ArrayList<org.eclipse.lsp4j.CompletionItem> |
AbstractItemResolver.resolveItems(TextDocumentServiceContext completionContext) |
ArrayList<org.eclipse.lsp4j.CompletionItem> |
BLangStructContextResolver.resolveItems(TextDocumentServiceContext completionContext) |
ArrayList<org.eclipse.lsp4j.CompletionItem> |
ParameterContextResolver.resolveItems(TextDocumentServiceContext completionContext) |
ArrayList<org.eclipse.lsp4j.CompletionItem> |
AnnotationAttachmentResolver.resolveItems(TextDocumentServiceContext completionContext) |
ArrayList<org.eclipse.lsp4j.CompletionItem> |
ConnectorDefinitionContextResolver.resolveItems(TextDocumentServiceContext completionContext) |
ArrayList<org.eclipse.lsp4j.CompletionItem> |
EndpointDefinitionContextResolver.resolveItems(TextDocumentServiceContext completionContext) |
ArrayList<org.eclipse.lsp4j.CompletionItem> |
ServiceContextResolver.resolveItems(TextDocumentServiceContext completionContext) |
ArrayList<org.eclipse.lsp4j.CompletionItem> |
PackageActionsAndFunctionsResolver.resolveItems(TextDocumentServiceContext completionContext) |
ArrayList<org.eclipse.lsp4j.CompletionItem> |
ConnectorActionContextResolver.resolveItems(TextDocumentServiceContext completionContext) |
ArrayList<org.eclipse.lsp4j.CompletionItem> |
AnnotationAttachmentContextResolver.resolveItems(TextDocumentServiceContext completionContext) |
Modifier and Type | Method and Description |
---|---|
ArrayList<org.eclipse.lsp4j.CompletionItem> |
ParserRuleStatementContextResolver.resolveItems(TextDocumentServiceContext completionContext) |
ArrayList<org.eclipse.lsp4j.CompletionItem> |
ParserRuleExpressionContextResolver.resolveItems(TextDocumentServiceContext completionContext) |
ArrayList<org.eclipse.lsp4j.CompletionItem> |
ParserRuleTriggerWorkerContext.resolveItems(TextDocumentServiceContext completionContext) |
ArrayList<org.eclipse.lsp4j.CompletionItem> |
ParserRuleVariableDefinitionStatementContextResolver.resolveItems(TextDocumentServiceContext completionContext) |
ArrayList<org.eclipse.lsp4j.CompletionItem> |
ParserRuleAssignmentStatementContextResolver.resolveItems(TextDocumentServiceContext completionContext) |
ArrayList<org.eclipse.lsp4j.CompletionItem> |
ParserRuleGlobalVariableDefinitionContextResolver.resolveItems(TextDocumentServiceContext completionContext) |
ArrayList<org.eclipse.lsp4j.CompletionItem> |
ParserRuleWorkerReplyContext.resolveItems(TextDocumentServiceContext completionContext) |
ArrayList<org.eclipse.lsp4j.CompletionItem> |
ParserRuleExpressionVariableDefStatementContextResolver.resolveItems(TextDocumentServiceContext completionContext) |
ArrayList<org.eclipse.lsp4j.CompletionItem> |
ParserRuleAnnotationBodyContextResolver.resolveItems(TextDocumentServiceContext completionContext)
here we provide the attach keyword completion item.
|
ArrayList<org.eclipse.lsp4j.CompletionItem> |
ParserRuleTypeNameContextResolver.resolveItems(TextDocumentServiceContext completionContext) |
ArrayList<org.eclipse.lsp4j.CompletionItem> |
ParserRuleConstantDefinitionContextResolver.resolveItems(TextDocumentServiceContext completionContext) |
ArrayList<org.eclipse.lsp4j.CompletionItem> |
ParserRuleAttachmentPointContextResolver.resolveItems(TextDocumentServiceContext completionContext) |
Modifier and Type | Method and Description |
---|---|
List<SymbolInfo> |
ConnectorInitExpressionItemFilter.filterItems(TextDocumentServiceContext context) |
List |
StatementTemplateFilter.filterItems(TextDocumentServiceContext completionContext) |
List<SymbolInfo> |
PackageActionFunctionAndTypesFilter.filterItems(TextDocumentServiceContext completionContext) |
abstract List |
AbstractSymbolFilter.filterItems(TextDocumentServiceContext completionContext)
Filters the symbolInfo from the list based on a particular filter criteria.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ResourceParamScopeResolver.isCursorBeforeNode(DiagnosticPos nodePosition,
Node node,
TreeVisitor treeVisitor,
TextDocumentServiceContext completionContext)
Check whether the cursor position is located before the evaluating statement node.
|
boolean |
PackageNodeScopeResolver.isCursorBeforeNode(DiagnosticPos nodePosition,
Node node,
TreeVisitor treeVisitor,
TextDocumentServiceContext completionContext) |
abstract boolean |
CursorPositionResolver.isCursorBeforeNode(DiagnosticPos nodePosition,
Node node,
TreeVisitor treeVisitor,
TextDocumentServiceContext completionContext)
Check whether the cursor is positioned before the given node start.
|
boolean |
TopLevelNodeScopeResolver.isCursorBeforeNode(DiagnosticPos nodePosition,
Node node,
TreeVisitor treeVisitor,
TextDocumentServiceContext completionContext)
Check whether the cursor is positioned before the given node start.
|
boolean |
ServiceScopeResolver.isCursorBeforeNode(DiagnosticPos nodePosition,
Node node,
TreeVisitor treeVisitor,
TextDocumentServiceContext completionContext) |
boolean |
BlockStatementScopeResolver.isCursorBeforeNode(DiagnosticPos nodePosition,
Node node,
TreeVisitor treeVisitor,
TextDocumentServiceContext completionContext)
Check whether the cursor position is located before the evaluating statement node.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
CompletionItemSorter.sortItems(TextDocumentServiceContext ctx,
List<org.eclipse.lsp4j.CompletionItem> completionItems)
Sort Completion Items based on a particular criteria.
|
void |
ServiceContextItemSorter.sortItems(TextDocumentServiceContext ctx,
List<org.eclipse.lsp4j.CompletionItem> completionItems) |
void |
StatementContextItemSorter.sortItems(TextDocumentServiceContext ctx,
List<org.eclipse.lsp4j.CompletionItem> completionItems)
Sort Completion Items based on a particular criteria.
|
void |
VariableDefContextItemSorter.sortItems(TextDocumentServiceContext ctx,
List<org.eclipse.lsp4j.CompletionItem> completionItems)
Sort Completion Items based on a particular criteria.
|
void |
EndpointDefContextItemSorter.sortItems(TextDocumentServiceContext ctx,
List<org.eclipse.lsp4j.CompletionItem> completionItems)
Sort Completion Items based on a particular criteria.
|
Constructor and Description |
---|
DefinitionTreeVisitor(TextDocumentServiceContext context) |
Modifier and Type | Method and Description |
---|---|
static List<org.eclipse.lsp4j.Location> |
DefinitionUtil.getDefinitionPosition(TextDocumentServiceContext definitionContext,
BLangPackageContext bLangPackageContext)
Get definition position for the given definition context.
|
Modifier and Type | Method and Description |
---|---|
static org.eclipse.lsp4j.Hover |
HoverUtil.getHoverContent(TextDocumentServiceContext hoverContext,
BLangPackage currentBLangPackage,
BLangPackageContext packageContext)
get current hover content.
|
static org.eclipse.lsp4j.Hover |
HoverUtil.getHoverInformation(BLangPackage bLangPackage,
TextDocumentServiceContext hoverContext)
Get the hover information for the given hover context.
|
Constructor and Description |
---|
ReferencesTreeVisitor(TextDocumentServiceContext context) |
Modifier and Type | Method and Description |
---|---|
static List<org.eclipse.lsp4j.Location> |
ReferenceUtil.getReferences(TextDocumentServiceContext referencesContext,
BLangPackageContext bLangPackageContext)
Get definition position for the given definition context.
|
Modifier and Type | Method and Description |
---|---|
static void |
SignatureHelpUtil.captureCallableItemInfo(org.eclipse.lsp4j.Position position,
String fileContent,
TextDocumentServiceContext serviceContext)
Capture the callable item information such as name, package of the item, delimiter (.
|
static org.eclipse.lsp4j.SignatureHelp |
SignatureHelpUtil.getFunctionSignatureHelp(TextDocumentServiceContext context)
Get the functionSignatureHelp instance.
|
Constructor and Description |
---|
SignatureTreeVisitor(TextDocumentServiceContext textDocumentServiceContext)
Public constructor.
|
Constructor and Description |
---|
SymbolFindingVisitor(TextDocumentServiceContext documentServiceContext) |
Copyright © 2018 WSO2. All rights reserved.