public final class FortranParser extends AbstractParser implements Parser
Constructor and Description |
---|
FortranParser()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addFilename(java.lang.String include)
Called by FilenameState at completion of file name production.
|
java.lang.String[] |
getIncludes()
Gets collection of include file names encountered in parse.
|
AbstractParserState |
getNewLineState()
Get the state for the beginning of a new line.
|
void |
parse(java.io.Reader reader)
Collects all included files from the content of the reader.
|
public void addFilename(java.lang.String include)
addFilename
in class AbstractParser
include
- include file namepublic java.lang.String[] getIncludes()
getIncludes
in interface Parser
public AbstractParserState getNewLineState()
getNewLineState
in class AbstractParser
public void parse(java.io.Reader reader) throws java.io.IOException
parse
in interface Parser
parse
in class AbstractParser
reader
- character reader containing a FORTRAN source modulejava.io.IOException
- throw if I/O error during parseCopyright ? 2001-2014 Ant-Contrib project. All Rights Reserved.