public class BlockStatementScopeResolver extends CursorPositionResolver
Constructor and Description |
---|
BlockStatementScopeResolver() |
Modifier and Type | Method and Description |
---|---|
boolean |
isCursorBeforeNode(DiagnosticPos nodePosition,
BLangNode node,
TreeVisitor treeVisitor,
LSServiceOperationContext completionContext)
Check whether the cursor position is located before the evaluating statement node.
|
public boolean isCursorBeforeNode(DiagnosticPos nodePosition, BLangNode node, TreeVisitor treeVisitor, LSServiceOperationContext completionContext)
isCursorBeforeNode
in class CursorPositionResolver
nodePosition
- position of the nodenode
- statement being evaluatedtreeVisitor
- TreeVisitor
current tree visitor instancecompletionContext
- Completion operation contextCopyright © 2018 WSO2. All rights reserved.