public class EntryPointFinder
extends java.lang.Object
AbstractPartialContentAssistParser
to find the node at which to start parsing.Constructor and Description |
---|
EntryPointFinder() |
Modifier and Type | Method and Description |
---|---|
protected ICompositeNode |
findEntryPoint(ICompositeNode node,
int offset) |
ICompositeNode |
findEntryPoint(IParseResult parseResult,
int offset) |
protected ICompositeNode |
getApplicableNode(ICompositeNode result) |
protected ICompositeNode |
normalizeToParent(ICompositeNode result) |
protected boolean |
shouldUseParent(ICompositeNode result,
int offset,
ILeafNode leaf) |
public ICompositeNode findEntryPoint(IParseResult parseResult, int offset)
protected ICompositeNode findEntryPoint(ICompositeNode node, int offset)
protected boolean shouldUseParent(ICompositeNode result, int offset, ILeafNode leaf)
protected ICompositeNode normalizeToParent(ICompositeNode result)
protected ICompositeNode getApplicableNode(ICompositeNode result)