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

The following examples show how to use com.intellij.psi.util.PsiTreeUtil#getChildrenOfTypeAsList() . 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 File: YangNotificationStmtImpl.java    From intellij-yang with Apache License 2.0 4 votes vote down vote up
@Override
@NotNull
public List<YangGroupingStmt> getGroupingStmtList() {
  return PsiTreeUtil.getChildrenOfTypeAsList(this, YangGroupingStmt.class);
}
 
Example 2
Source File: NixAttrPathImpl.java    From nix-idea with Apache License 2.0 4 votes vote down vote up
@Override
@NotNull
public List<NixAttr> getAttrList() {
  return PsiTreeUtil.getChildrenOfTypeAsList(this, NixAttr.class);
}
 
Example 3
Source File: HaskellRhsImpl.java    From intellij-haskforce with Apache License 2.0 4 votes vote down vote up
@Override
@NotNull
public List<HaskellExp> getExpList() {
  return PsiTreeUtil.getChildrenOfTypeAsList(this, HaskellExp.class);
}
 
Example 4
Source File: GraphQLInputObjectValueDefinitionsImpl.java    From js-graphql-intellij-plugin with MIT License 4 votes vote down vote up
@Override
@NotNull
public List<GraphQLInputValueDefinition> getInputValueDefinitionList() {
  return PsiTreeUtil.getChildrenOfTypeAsList(this, GraphQLInputValueDefinition.class);
}
 
Example 5
Source File: YangMetaStmtsImpl.java    From intellij-yang with Apache License 2.0 4 votes vote down vote up
@Override
@NotNull
public List<YangDescriptionStmt> getDescriptionStmtList() {
  return PsiTreeUtil.getChildrenOfTypeAsList(this, YangDescriptionStmt.class);
}
 
Example 6
Source File: JSGraphQLEndpointObjectTypeDefinitionImpl.java    From js-graphql-intellij-plugin with MIT License 4 votes vote down vote up
@Override
@NotNull
public List<JSGraphQLEndpointAnnotation> getAnnotationList() {
  return PsiTreeUtil.getChildrenOfTypeAsList(this, JSGraphQLEndpointAnnotation.class);
}
 
Example 7
Source File: YangLeafStmtImpl.java    From intellij-yang with Apache License 2.0 4 votes vote down vote up
@Override
@NotNull
public List<YangReferenceStmt> getReferenceStmtList() {
  return PsiTreeUtil.getChildrenOfTypeAsList(this, YangReferenceStmt.class);
}
 
Example 8
Source File: HaskellBodyImpl.java    From intellij-haskforce with Apache License 2.0 4 votes vote down vote up
@Override
@NotNull
public List<HaskellClassdecl> getClassdeclList() {
  return PsiTreeUtil.getChildrenOfTypeAsList(this, HaskellClassdecl.class);
}
 
Example 9
Source File: CypherReadingWithReturnImpl.java    From jetbrains-plugin-graph-database-support with Apache License 2.0 4 votes vote down vote up
@Override
@NotNull
public List<CypherReadingClause> getReadingClauseList() {
  return PsiTreeUtil.getChildrenOfTypeAsList(this, CypherReadingClause.class);
}
 
Example 10
Source File: HaskellCdeclImpl.java    From intellij-haskforce with Apache License 2.0 4 votes vote down vote up
@Override
@NotNull
public List<HaskellPstringtoken> getPstringtokenList() {
  return PsiTreeUtil.getChildrenOfTypeAsList(this, HaskellPstringtoken.class);
}
 
Example 11
Source File: NASMStrucImpl.java    From JetBrains-NASM-Language with MIT License 4 votes vote down vote up
@Override
@NotNull
public List<NASMExpr> getExprList() {
  return PsiTreeUtil.getChildrenOfTypeAsList(this, NASMExpr.class);
}
 
Example 12
Source File: CypherExpressionImpl.java    From jetbrains-plugin-graph-database-support with Apache License 2.0 4 votes vote down vote up
@Override
@NotNull
public List<CypherReduceFunctionInvocation> getReduceFunctionInvocationList() {
  return PsiTreeUtil.getChildrenOfTypeAsList(this, CypherReduceFunctionInvocation.class);
}
 
Example 13
Source File: HaskellCdeclImpl.java    From intellij-haskforce with Apache License 2.0 4 votes vote down vote up
@Override
@NotNull
public List<HaskellCtype> getCtypeList() {
  return PsiTreeUtil.getChildrenOfTypeAsList(this, HaskellCtype.class);
}
 
Example 14
Source File: XQueryForClauseImpl.java    From intellij-xquery with Apache License 2.0 4 votes vote down vote up
@Override
@NotNull
public List<XQueryForBinding> getForBindingList() {
  return PsiTreeUtil.getChildrenOfTypeAsList(this, XQueryForBinding.class);
}
 
Example 15
Source File: YangLengthStmtImpl.java    From intellij-yang with Apache License 2.0 4 votes vote down vote up
@Override
@NotNull
public List<YangErrorAppTagStmt> getErrorAppTagStmtList() {
  return PsiTreeUtil.getChildrenOfTypeAsList(this, YangErrorAppTagStmt.class);
}
 
Example 16
Source File: YangContainerStmtImpl.java    From intellij-yang with Apache License 2.0 4 votes vote down vote up
@Override
@NotNull
public List<YangIfFeatureStmt> getIfFeatureStmtList() {
  return PsiTreeUtil.getChildrenOfTypeAsList(this, YangIfFeatureStmt.class);
}
 
Example 17
Source File: MelMapExpressionImpl.java    From mule-intellij-plugins with Apache License 2.0 4 votes vote down vote up
@Override
@NotNull
public List<MelMapEntryElement> getMapEntryElementList() {
  return PsiTreeUtil.getChildrenOfTypeAsList(this, MelMapEntryElement.class);
}
 
Example 18
Source File: CypherPropertyKeyNamesImpl.java    From jetbrains-plugin-graph-database-support with Apache License 2.0 4 votes vote down vote up
@Override
@NotNull
public List<CypherPropertyKeyName> getPropertyKeyNameList() {
  return PsiTreeUtil.getChildrenOfTypeAsList(this, CypherPropertyKeyName.class);
}
 
Example 19
Source File: HaskellBodyImpl.java    From intellij-haskforce with Apache License 2.0 4 votes vote down vote up
@Override
@NotNull
public List<HaskellDerivingdecl> getDerivingdeclList() {
  return PsiTreeUtil.getChildrenOfTypeAsList(this, HaskellDerivingdecl.class);
}
 
Example 20
Source File: WeaveTernaryExpressionImpl.java    From mule-intellij-plugins with Apache License 2.0 4 votes vote down vote up
@Override
@NotNull
public List<WeaveExpression> getExpressionList() {
  return PsiTreeUtil.getChildrenOfTypeAsList(this, WeaveExpression.class);
}