List < ASTNode > function ( ASTNode arg0 ) { if ( arg0 == null ) { return Collections . emptyList ( ) ; } List < ASTNode > loc0 = new LinkedList < ASTNode > ( ) ; for ( int loc1 = 0 ; loc1 < arg0 . getChildrenCount ( ) ; loc1 ++ ) { if ( arg0 . getChild ( loc1 ) != null ) { loc0 . add ( arg0 . getChild ( loc1 ) ) ; } } return loc0 ; }
returns the children of a node as collection of astnode the left element is the first in the list . concode_field_sep PlaceHolder placeHolder concode_field_sep boolean containsIdentifierInstance concode_elem_sep Collection<T> getAllNodesOfType concode_elem_sep boolean checkAncestorSequence concode_elem_sep boolean isOfType concode_elem_sep T getFirstChildOfType concode_elem_sep Collection<CHILD_TYPE> collectFieldsWithName concode_elem_sep CompoundStatement getEnclosingCompound concode_elem_sep T getParentForName concode_elem_sep ASTNode checkSuccessorSequence concode_elem_sep Identifier getIdentifierWithEqualName concode_elem_sep Collection<T> getChildsOfType concode_elem_sep TranslationUnit getAstRoot concode_elem_sep NesCExternalDefinitionList getModuleImplementationNodeIfInside