Package | Description |
---|---|
org.ballerinalang.langserver.completions.util | |
org.ballerinalang.langserver.completions.util.positioning.resolvers |
Modifier and Type | Method and Description |
---|---|
static boolean |
CompletionVisitorUtil.isCursorAtResourceIdentifier(BLangResource bLangResource,
LSContext context,
TreeVisitor treeVisitor)
Check whether the cursor is at the resource identifier.
|
static boolean |
CompletionVisitorUtil.isCursorWithinBlock(DiagnosticPos nodePosition,
SymbolEnv symbolEnv,
LSContext lsContext,
TreeVisitor treeVisitor)
Check whether the cursor is located within the given node's block scope.
|
static boolean |
CompletionVisitorUtil.isWithinParameterContext(String nodeName,
String nodeType,
SymbolEnv env,
LSContext lsContext,
TreeVisitor treeVisitor)
Check whether the cursor resides within the given node type's parameter context.
|
Modifier and Type | Method and Description |
---|---|
boolean |
PackageNodeScopeResolver.isCursorBeforeNode(DiagnosticPos nodePosition,
TreeVisitor treeVisitor,
LSContext completionContext,
BLangNode node,
BSymbol bSymbol)
Check whether the cursor is positioned before the given node start.
|
boolean |
ServiceScopeResolver.isCursorBeforeNode(DiagnosticPos nodePosition,
TreeVisitor treeVisitor,
LSContext completionContext,
BLangNode node,
BSymbol bSymbol)
Check whether the cursor is positioned before the given node start.
|
boolean |
ObjectTypeScopeResolver.isCursorBeforeNode(DiagnosticPos nodePosition,
TreeVisitor treeVisitor,
LSContext completionContext,
BLangNode node,
BSymbol bSymbol)
Check whether the cursor is positioned before the given node start.
|
abstract boolean |
CursorPositionResolver.isCursorBeforeNode(DiagnosticPos nodePosition,
TreeVisitor treeVisitor,
LSContext completionContext,
BLangNode node,
BSymbol bSymbol)
Check whether the cursor is positioned before the given node start.
|
boolean |
RecordScopeResolver.isCursorBeforeNode(DiagnosticPos nodePosition,
TreeVisitor treeVisitor,
LSContext completionContext,
BLangNode node,
BSymbol bSymbol)
Check whether the cursor is positioned before the given node start.
|
boolean |
FunctionNodeScopeResolver.isCursorBeforeNode(DiagnosticPos nodePosition,
TreeVisitor treeVisitor,
LSContext completionContext,
BLangNode node,
BSymbol bSymbol)
Check whether the cursor is positioned before the given node start.
|
boolean |
TopLevelNodeScopeResolver.isCursorBeforeNode(DiagnosticPos nodePosition,
TreeVisitor treeVisitor,
LSContext completionContext,
BLangNode node,
BSymbol bSymbol)
Check whether the cursor is positioned before the given node start.
|
boolean |
InvocationParameterScopeResolver.isCursorBeforeNode(DiagnosticPos nodePosition,
TreeVisitor treeVisitor,
LSContext completionContext,
BLangNode node,
BSymbol bSymbol)
Check whether the cursor is positioned before the given node start.
|
boolean |
BlockStatementScopeResolver.isCursorBeforeNode(DiagnosticPos nodePosition,
TreeVisitor treeVisitor,
LSContext completionContext,
BLangNode node,
BSymbol bSymbol)
Check whether the cursor is positioned before the given node start.
|
boolean |
MatchStatementScopeResolver.isCursorBeforeNode(DiagnosticPos nodePosition,
TreeVisitor treeVisitor,
LSContext completionContext,
BLangNode node,
BSymbol bSymbol)
Check whether the cursor is positioned before the given node start.
|
boolean |
ResourceParamScopeResolver.isCursorBeforeNode(DiagnosticPos nodePosition,
TreeVisitor treeVisitor,
LSContext completionContext,
BLangNode node,
BSymbol bSymbol)
Check whether the cursor is positioned before the given node start.
|
boolean |
MatchExpressionScopeResolver.isCursorBeforeNode(DiagnosticPos nodePosition,
TreeVisitor treeVisitor,
LSContext completionContext,
BLangNode node,
BSymbol bSymbol)
Check whether the cursor is positioned before the given node start.
|
Copyright © 2019 WSO2. All rights reserved.