@ Override protected Parser createParser ( final File source ) { if ( source != null ) { final String sourceName = source . getName ( ) ; final int lastDot = sourceName . lastIndexOf ( ' ' ) ; if ( lastDot >= 0 && lastDot + 1 < sourceName . length ( ) ) { final char afterDot = sourceName . charAt ( lastDot + 1 ) ; if ( afterDot == ' ' || afterDot == ' ' ) { return new FortranParser ( ) ; } } } return new CParser ( ) ; }
Create parser to determine dependencies .