public class PackageNodeScopeResolver extends CursorPositionResolver
Constructor and Description |
---|
PackageNodeScopeResolver() |
Modifier and Type | Method and Description |
---|---|
boolean |
isCursorBeforeNode(DiagnosticPos nodePosition,
Node node,
TreeVisitor treeVisitor,
TextDocumentServiceContext completionContext)
Check whether the cursor is positioned before the given node start.
|
public boolean isCursorBeforeNode(DiagnosticPos nodePosition, Node node, TreeVisitor treeVisitor, TextDocumentServiceContext completionContext)
CursorPositionResolver
isCursorBeforeNode
in class CursorPositionResolver
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.