|
Eclipse CDT Pre-release 3.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.cdt.internal.core.search.matching.CSearchPattern
org.eclipse.cdt.core.search.OrPattern
public class OrPattern
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.eclipse.cdt.internal.core.search.matching.CSearchPattern |
|---|
org.eclipse.cdt.internal.core.search.matching.CSearchPattern.Requestor |
| Field Summary |
|---|
| Fields inherited from class org.eclipse.cdt.internal.core.search.matching.CSearchPattern |
|---|
_caseSensitive, _limitTo, _matchMode, ACCURATE_MATCH, fSearchForValues, IMPOSSIBLE_MATCH, INACCURATE_MATCH, POSSIBLE_MATCH |
| Constructor Summary | |
|---|---|
OrPattern()
|
|
| Method Summary | |
|---|---|
void |
addPattern(ICSearchPattern pattern)
|
boolean |
canAccept(ICSearchConstants.LimitTo limit)
|
protected void |
decodeIndexEntry(IEntryResult entryResult)
Decodes the index entry |
void |
feedIndexRequestor(org.eclipse.cdt.internal.core.search.IIndexSearchRequestor requestor,
int detailLevel,
int[] fileRefs,
int[][] offsets,
int[][] offsetLengths,
IndexInput input,
ICSearchScope scope)
Feed the requestor according to the current search pattern |
void |
findIndexMatches(IndexInput input,
org.eclipse.cdt.internal.core.search.IIndexSearchRequestor requestor,
int detailLevel,
IProgressMonitor progressMonitor,
ICSearchScope scope)
Query a given index for matching entries. |
char[] |
indexEntryPrefix()
Answers the suitable prefix that should be used in order to query indexes for the corresponding item. |
protected boolean |
matchIndexEntry()
Checks whether an entry matches the current search pattern |
int |
matchLevel(org.eclipse.cdt.core.parser.ISourceElementCallbackDelegate node,
ICSearchConstants.LimitTo limit)
|
protected void |
resetIndexInfo()
Called to reset any variables used in the decoding of index entries, this ensures that the matchIndexEntry is not polluted by index info from previous entries. |
| Methods inherited from class org.eclipse.cdt.internal.core.search.matching.CSearchPattern |
|---|
createPattern, createScanner, createScanner, getLimitTo, getMatchLocatable, matchesName, matchQualifications, matchQualifications, parse, parse, scanForParameters |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OrPattern()
| Method Detail |
|---|
public void addPattern(ICSearchPattern pattern)
pattern -
public int matchLevel(org.eclipse.cdt.core.parser.ISourceElementCallbackDelegate node,
ICSearchConstants.LimitTo limit)
public boolean canAccept(ICSearchConstants.LimitTo limit)
canAccept in interface ICSearchPatterncanAccept in class org.eclipse.cdt.internal.core.search.matching.CSearchPattern
public void findIndexMatches(IndexInput input,
org.eclipse.cdt.internal.core.search.IIndexSearchRequestor requestor,
int detailLevel,
IProgressMonitor progressMonitor,
ICSearchScope scope)
throws IOException
org.eclipse.cdt.internal.core.search.matching.CSearchPattern
findIndexMatches in class org.eclipse.cdt.internal.core.search.matching.CSearchPatternIOException
public void feedIndexRequestor(org.eclipse.cdt.internal.core.search.IIndexSearchRequestor requestor,
int detailLevel,
int[] fileRefs,
int[][] offsets,
int[][] offsetLengths,
IndexInput input,
ICSearchScope scope)
throws IOException
org.eclipse.cdt.internal.core.search.matching.CSearchPattern
feedIndexRequestor in class org.eclipse.cdt.internal.core.search.matching.CSearchPatternIOExceptionprotected void resetIndexInfo()
org.eclipse.cdt.internal.core.search.matching.CSearchPattern
resetIndexInfo in class org.eclipse.cdt.internal.core.search.matching.CSearchPatternprotected void decodeIndexEntry(IEntryResult entryResult)
org.eclipse.cdt.internal.core.search.matching.CSearchPattern
decodeIndexEntry in class org.eclipse.cdt.internal.core.search.matching.CSearchPatternpublic char[] indexEntryPrefix()
org.eclipse.cdt.internal.core.search.matching.CSearchPattern
indexEntryPrefix in class org.eclipse.cdt.internal.core.search.matching.CSearchPatternprotected boolean matchIndexEntry()
org.eclipse.cdt.internal.core.search.matching.CSearchPattern
matchIndexEntry in class org.eclipse.cdt.internal.core.search.matching.CSearchPattern
|
Eclipse CDT Pre-release 3.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||