public abstract class CursorPositionResolver extends Object
Constructor and Description |
---|
CursorPositionResolver() |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
isCursorBeforeNode(DiagnosticPos nodePosition,
Node node,
TreeVisitor treeVisitor,
TextDocumentServiceContext completionContext)
Check whether the cursor is positioned before the given node start.
|
public abstract boolean isCursorBeforeNode(DiagnosticPos nodePosition, Node node, TreeVisitor treeVisitor, TextDocumentServiceContext completionContext)
nodePosition
- Position of the nodenode
- NodetreeVisitor
- TreeVisitor
current tree visitor instancecompletionContext
- Completion operation contextBoolean
Whether the cursor is before the node start or notCopyright © 2018 WSO2. All rights reserved.