|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.xtend.shared.ui.core.search.XtendXpandSearchEngine
public class XtendXpandSearchEngine
Search engine for Xtend.
Nested Class Summary | |
---|---|
class |
XtendXpandSearchEngine.ExpressionVisitor
|
Constructor Summary | |
---|---|
XtendXpandSearchEngine()
|
Method Summary | |
---|---|
static java.util.List<Definition> |
findAllDefines(IXtendXpandProject project)
|
static java.util.List<SearchMatch> |
findAllOccurrences(IXtendXpandProject project,
java.lang.String identifier)
|
static java.util.List<SearchMatch> |
findDeclarations(IXtendXpandProject project,
java.lang.String identifier)
Find all extension declarations for the given identifier. |
static ExpandStatement |
findDefinition(java.lang.String name,
org.eclipse.jface.text.IRegion region,
Template template)
Search a template for a ExpandStatement
inside given region. |
static java.util.List<AbstractDefinition> |
findDefinitionsByNameInResourceAndImports(IXtendXpandProject project,
java.lang.String identifier,
XpandResource resource)
Find all reachable Xpand declarations by name in given template resource or imported templates. |
static OperationCall |
findExpressionInExtensionFile(org.eclipse.jface.text.IRegion region,
ExtensionFile extensionFile,
java.lang.String name)
Search a ExtensionFile for a OperationCall inside region. |
static OperationCall |
findExpressionInTemplate(java.lang.String name,
Template template)
Search a template for a Expression
inside region. |
static java.util.List<Extension> |
findExtensionsByNameInResourceAndImports(IXtendXpandProject project,
java.lang.String identifier,
IXtendXpandResource resource)
Find all reachable Extensions declarations with name identifier in given resource. |
static java.util.List<SearchMatch> |
findReferences(IXtendXpandProject project,
java.lang.String identifier)
Find all operation invocations for the given identifier. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XtendXpandSearchEngine()
Method Detail |
---|
public static java.util.List<Definition> findAllDefines(IXtendXpandProject project)
public static java.util.List<SearchMatch> findAllOccurrences(IXtendXpandProject project, java.lang.String identifier)
public static java.util.List<SearchMatch> findReferences(IXtendXpandProject project, java.lang.String identifier)
public static java.util.List<SearchMatch> findDeclarations(IXtendXpandProject project, java.lang.String identifier)
public static java.util.List<AbstractDefinition> findDefinitionsByNameInResourceAndImports(IXtendXpandProject project, java.lang.String identifier, XpandResource resource)
public static java.util.List<Extension> findExtensionsByNameInResourceAndImports(IXtendXpandProject project, java.lang.String identifier, IXtendXpandResource resource)
public static OperationCall findExpressionInTemplate(java.lang.String name, Template template)
Expression
inside region.
hyperlinkRegion
- The region inside the template to search fortemplate
- the template to search inside
null
public static OperationCall findExpressionInExtensionFile(org.eclipse.jface.text.IRegion region, ExtensionFile extensionFile, java.lang.String name)
OperationCall
inside region.
hyperlinkRegion
- The region inside the template to search forextensionFile
- the ExtensionFile to search inside
null
public static ExpandStatement findDefinition(java.lang.String name, org.eclipse.jface.text.IRegion region, Template template)
ExpandStatement
inside given region.
region
- The region inside the template to search fortemplate
- The template to search inside
null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |