| java.lang.Object org.netbeans.modules.cnd.api.utils.FortranReader
FortranReader | public class FortranReader (Code) | | Read a Fortran file. Return complete Fortran statements, taking into consideration
things like the source form, line length, continuation lines, and comments. This
class works in conjunction with FortranParse to parse fortran files for mod and use
statements.
|
Inner Class :public class State | |
Method Summary | |
public String | getStatement() Read and return a complete Fortran statement, taking consideration of Source
Line Formats. | public static void | main(String[] args) |
lastcol | int lastcol(Code) | | Save the last column number so it can be restored during ungetc() calls
|
FortranReader | public FortranReader(String file, String options, boolean verbose) throws FileNotFoundException(Code) | | Create for reading, starting with current source line format
Parameters: file - The name of the file to read Parameters: options - The Fortran options in effect A single complete Fortran statement |
getStatement | public String getStatement() throws UnexpectedEOFException(Code) | | Read and return a complete Fortran statement, taking consideration of Source
Line Formats. The statement is NOT newline terminated.
A single complete fortran statement |
|
|