public abstract class CursorPositionResolver extends Object
Constructor and Description |
---|
CursorPositionResolver() |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
isCursorBeforeNode(DiagnosticPos nodePosition,
TreeVisitor treeVisitor,
LSContext completionContext,
BLangNode node,
BSymbol bSymbol)
Check whether the cursor is positioned before the given node start.
|
public abstract boolean isCursorBeforeNode(DiagnosticPos nodePosition, TreeVisitor treeVisitor, LSContext completionContext, BLangNode node, BSymbol bSymbol)
nodePosition
- Position of the nodetreeVisitor
- TreeVisitor
current tree visitor instancecompletionContext
- Completion operation contextnode
- NodebSymbol
- Node's SymbolBoolean
Whether the cursor is before the node start or notCopyright © 2019 WSO2. All rights reserved.