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