From 683d490074d93baa8a47db7ec43b7bd31145a12a Mon Sep 17 00:00:00 2001 From: Mark Donszelmann Date: Thu, 5 Nov 2009 23:00:15 +0100 Subject: Tar file expanded and committed --- .../antcontrib/cpptasks/parser/FortranParser.html | 346 +++++++++++++++++++++ 1 file changed, 346 insertions(+) create mode 100644 site/apidocs/net/sf/antcontrib/cpptasks/parser/FortranParser.html (limited to 'site/apidocs/net/sf/antcontrib/cpptasks/parser/FortranParser.html') diff --git a/site/apidocs/net/sf/antcontrib/cpptasks/parser/FortranParser.html b/site/apidocs/net/sf/antcontrib/cpptasks/parser/FortranParser.html new file mode 100644 index 0000000..b256b9d --- /dev/null +++ b/site/apidocs/net/sf/antcontrib/cpptasks/parser/FortranParser.html @@ -0,0 +1,346 @@ + + + + + + + +FortranParser (cpptasks 1.0b5 API) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +net.sf.antcontrib.cpptasks.parser +
+Class FortranParser

+
+java.lang.Object
+  extended by net.sf.antcontrib.cpptasks.parser.AbstractParser
+      extended by net.sf.antcontrib.cpptasks.parser.FortranParser
+
+
+
All Implemented Interfaces:
Parser
+
+
+
+
public final class FortranParser
extends AbstractParser
implements Parser
+ + +

+A parser that extracts INCLUDE statements from a Reader. +

+ +

+

+
Author:
+
Curt Arnold
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
FortranParser() + +
+          Default constructor.
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddFilename(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.
+ AbstractParserStategetNewLineState() + +
+          Get the state for the beginning of a new line.
+ voidparse(java.io.Reader reader) + +
+          Collects all included files from the content of the reader.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+FortranParser

+
+public FortranParser()
+
+
Default constructor. +

+

+ + + + + + + + +
+Method Detail
+ +

+addFilename

+
+public void addFilename(java.lang.String include)
+
+
Called by FilenameState at completion of file name production. +

+

+
Specified by:
addFilename in class AbstractParser
+
+
+
Parameters:
include - include file name
+
+
+
+ +

+getIncludes

+
+public java.lang.String[] getIncludes()
+
+
Gets collection of include file names encountered in parse. +

+

+
Specified by:
getIncludes in interface Parser
+
+
+ +
Returns:
include file names
+
+
+
+ +

+getNewLineState

+
+public AbstractParserState getNewLineState()
+
+
Get the state for the beginning of a new line. +

+

+
Specified by:
getNewLineState in class AbstractParser
+
+
+ +
Returns:
start of line state
+
+
+
+ +

+parse

+
+public void parse(java.io.Reader reader)
+           throws java.io.IOException
+
+
Collects all included files from the content of the reader. +

+

+
Specified by:
parse in interface Parser
Overrides:
parse in class AbstractParser
+
+
+
Parameters:
reader - character reader containing a FORTRAN source module +
Throws: +
java.io.IOException - throw if I/O error during parse
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2001-2008 Ant-Contrib Project. All Rights Reserved. + + -- cgit v1.2.3