private List < Node > createDependenciesList ( Node n ) { checkArgument ( n . isFunction ( ) ) ; Node params = NodeUtil . getFunctionParameters ( n ) ; if ( params != null ) { return createStringsFromParamList ( params ) ; } return new ArrayList <> ( ) ; }
Given a FUNCTION node returns array of STRING nodes representing function parameters .