Java Code Examples for com.intellij.psi.util.PsiTreeUtil#getChildrenOfTypeAsList()

The following examples show how to use com.intellij.psi.util.PsiTreeUtil#getChildrenOfTypeAsList() . These examples are extracted from open source projects. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source Project: JetBrains-NASM-Language   File: NASMStrucImpl.java    License: MIT License 4 votes vote down vote up
@Override
@NotNull
public List<NASMExpr> getExprList() {
  return PsiTreeUtil.getChildrenOfTypeAsList(this, NASMExpr.class);
}
 
Example 2
@Override
@NotNull
public List<WeaveExpression> getExpressionList() {
  return PsiTreeUtil.getChildrenOfTypeAsList(this, WeaveExpression.class);
}
 
Example 3
@Override
@NotNull
public List<HaskellDerivingdecl> getDerivingdeclList() {
  return PsiTreeUtil.getChildrenOfTypeAsList(this, HaskellDerivingdecl.class);
}
 
Example 4
@Override
@NotNull
public List<CypherPropertyKeyName> getPropertyKeyNameList() {
  return PsiTreeUtil.getChildrenOfTypeAsList(this, CypherPropertyKeyName.class);
}
 
Example 5
@Override
@NotNull
public List<MelMapEntryElement> getMapEntryElementList() {
  return PsiTreeUtil.getChildrenOfTypeAsList(this, MelMapEntryElement.class);
}
 
Example 6
@Override
@NotNull
public List<YangIfFeatureStmt> getIfFeatureStmtList() {
  return PsiTreeUtil.getChildrenOfTypeAsList(this, YangIfFeatureStmt.class);
}
 
Example 7
@Override
@NotNull
public List<YangErrorAppTagStmt> getErrorAppTagStmtList() {
  return PsiTreeUtil.getChildrenOfTypeAsList(this, YangErrorAppTagStmt.class);
}
 
Example 8
@Override
@NotNull
public List<XQueryForBinding> getForBindingList() {
  return PsiTreeUtil.getChildrenOfTypeAsList(this, XQueryForBinding.class);
}
 
Example 9
@Override
@NotNull
public List<HaskellCtype> getCtypeList() {
  return PsiTreeUtil.getChildrenOfTypeAsList(this, HaskellCtype.class);
}
 
Example 10
@Override
@NotNull
public List<CypherReduceFunctionInvocation> getReduceFunctionInvocationList() {
  return PsiTreeUtil.getChildrenOfTypeAsList(this, CypherReduceFunctionInvocation.class);
}
 
Example 11
@Override
@NotNull
public List<YangGroupingStmt> getGroupingStmtList() {
  return PsiTreeUtil.getChildrenOfTypeAsList(this, YangGroupingStmt.class);
}
 
Example 12
@Override
@NotNull
public List<HaskellPstringtoken> getPstringtokenList() {
  return PsiTreeUtil.getChildrenOfTypeAsList(this, HaskellPstringtoken.class);
}
 
Example 13
@Override
@NotNull
public List<CypherReadingClause> getReadingClauseList() {
  return PsiTreeUtil.getChildrenOfTypeAsList(this, CypherReadingClause.class);
}
 
Example 14
@Override
@NotNull
public List<HaskellClassdecl> getClassdeclList() {
  return PsiTreeUtil.getChildrenOfTypeAsList(this, HaskellClassdecl.class);
}
 
Example 15
Source Project: intellij-yang   File: YangLeafStmtImpl.java    License: Apache License 2.0 4 votes vote down vote up
@Override
@NotNull
public List<YangReferenceStmt> getReferenceStmtList() {
  return PsiTreeUtil.getChildrenOfTypeAsList(this, YangReferenceStmt.class);
}
 
Example 16
@Override
@NotNull
public List<JSGraphQLEndpointAnnotation> getAnnotationList() {
  return PsiTreeUtil.getChildrenOfTypeAsList(this, JSGraphQLEndpointAnnotation.class);
}
 
Example 17
Source Project: intellij-yang   File: YangMetaStmtsImpl.java    License: Apache License 2.0 4 votes vote down vote up
@Override
@NotNull
public List<YangDescriptionStmt> getDescriptionStmtList() {
  return PsiTreeUtil.getChildrenOfTypeAsList(this, YangDescriptionStmt.class);
}
 
Example 18
@Override
@NotNull
public List<GraphQLInputValueDefinition> getInputValueDefinitionList() {
  return PsiTreeUtil.getChildrenOfTypeAsList(this, GraphQLInputValueDefinition.class);
}
 
Example 19
@Override
@NotNull
public List<HaskellExp> getExpList() {
  return PsiTreeUtil.getChildrenOfTypeAsList(this, HaskellExp.class);
}
 
Example 20
Source Project: nix-idea   File: NixAttrPathImpl.java    License: Apache License 2.0 4 votes vote down vote up
@Override
@NotNull
public List<NixAttr> getAttrList() {
  return PsiTreeUtil.getChildrenOfTypeAsList(this, NixAttr.class);
}