public class ResourceParamScopeResolver extends CursorPositionResolver
Constructor and Description |
---|
ResourceParamScopeResolver() |
Modifier and Type | Method and Description |
---|---|
boolean |
isCursorBeforeNode(DiagnosticPos nodePosition,
Node node,
TreeVisitor treeVisitor,
TextDocumentServiceContext completionContext)
Check whether the cursor position is located before the evaluating statement node.
|
public boolean isCursorBeforeNode(DiagnosticPos nodePosition, Node node, TreeVisitor treeVisitor, TextDocumentServiceContext 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.