Class CommandUtil
- java.lang.Object
 - 
- jetbrains.mps.lang.smodel.query.runtime.CommandUtil
 
 
- 
public class CommandUtil extends Object
 
- 
- 
Constructor Summary
Constructors Constructor Description CommandUtil() 
- 
Method Summary
 
 - 
 
- 
- 
Method Detail
- 
nodes
public static Iterable<SNode> nodes(SearchScope scope)
 
- 
references
public static Iterable<SReference> references(SearchScope scope)
 
- 
models
public static Iterable<SModel> models(SearchScope scope)
 
- 
modules
public static Iterable<SModule> modules(SearchScope scope)
 
- 
usages
public static Collection<SReference> usages(SearchScope scope, SNode node)
 
- 
instances
public static Collection<SNode> instances(SearchScope scope, SAbstractConcept concept, boolean exact)
 
- 
nodesToResults
public static jetbrains.mps.baseLanguage.closures.runtime._FunctionTypes._return_P0_E0<? extends SearchResults> nodesToResults(Iterable<SNodeReference> nodes, SRepository repository)
 
- 
modelsToResults
public static jetbrains.mps.baseLanguage.closures.runtime._FunctionTypes._return_P0_E0<? extends SearchResults> modelsToResults(Iterable<SModelReference> models, SRepository repository)
 
- 
modulesToResults
public static jetbrains.mps.baseLanguage.closures.runtime._FunctionTypes._return_P0_E0<? extends SearchResults> modulesToResults(Iterable<SModuleReference> modules, SRepository repository)
 
- 
getNodeReference
public static SNodeReference getNodeReference(SNode aNode)
 
- 
getReferenceReference
public static SNodeReference getReferenceReference(SReference aReference)
 
- 
getModelReference
public static SModelReference getModelReference(SModel aModel)
 
- 
getModuleReference
public static SModuleReference getModuleReference(SModule aModule)
 
- 
createConsoleScope
@Deprecated public static SearchScope createConsoleScope(@Nullable SearchScope baseScope, boolean includeReadOnly, QueryExecutionContext context)
Deprecated. 
- 
selectScope
public static SearchScope selectScope(@Nullable SearchScope baseScope, QueryExecutionContext context)
 
- 
createScope
public static SearchScope createScope(SModel model)
 
- 
createScope
public static SearchScope createScope(SModule module)
 
- 
createScope
public static SearchScope createScope(Iterable modelsAndModules)
 
- 
createScope
public static SearchScope createScope(Project project)
 
- 
createScope
public static SearchScope createScope(SearchScope searchScope)
 
 - 
 
 -