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 --- .../cpptasks/parser/WhitespaceOrLetterState.html | 284 +++++++++++++++++++++ 1 file changed, 284 insertions(+) create mode 100644 site/apidocs/net/sf/antcontrib/cpptasks/parser/WhitespaceOrLetterState.html (limited to 'site/apidocs/net/sf/antcontrib/cpptasks/parser/WhitespaceOrLetterState.html') diff --git a/site/apidocs/net/sf/antcontrib/cpptasks/parser/WhitespaceOrLetterState.html b/site/apidocs/net/sf/antcontrib/cpptasks/parser/WhitespaceOrLetterState.html new file mode 100644 index 0000000..6b565cc --- /dev/null +++ b/site/apidocs/net/sf/antcontrib/cpptasks/parser/WhitespaceOrLetterState.html @@ -0,0 +1,284 @@ + + + + + + + +WhitespaceOrLetterState (cpptasks 1.0b5 API) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

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

+
+java.lang.Object
+  extended by net.sf.antcontrib.cpptasks.parser.AbstractParserState
+      extended by net.sf.antcontrib.cpptasks.parser.WhitespaceOrLetterState
+
+
+
+
public final class WhitespaceOrLetterState
extends AbstractParserState
+ + +

+This parser state checks consumed characters against a specific character or + whitespace. +

+ +

+

+
Author:
+
Curt Arnold
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
WhitespaceOrLetterState(AbstractParser parser, + char matchLetter, + AbstractParserState nextStateArg) + +
+          Constructor.
+  + + + + + + + + + + + +
+Method Summary
+ AbstractParserStateconsume(char ch) + +
+          Consumes a character and returns the next state for the parser.
+ + + + + + + +
Methods inherited from class net.sf.antcontrib.cpptasks.parser.AbstractParserState
getParser
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

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

+WhitespaceOrLetterState

+
+public WhitespaceOrLetterState(AbstractParser parser,
+                               char matchLetter,
+                               AbstractParserState nextStateArg)
+
+
Constructor. +

+

+
Parameters:
parser - parser
matchLetter - letter to match
nextStateArg - next state if a match on the letter
+
+ + + + + + + + +
+Method Detail
+ +

+consume

+
+public AbstractParserState consume(char ch)
+
+
Consumes a character and returns the next state for the parser. +

+

+
Specified by:
consume in class AbstractParserState
+
+
+
Parameters:
ch - next character @returns the configured nextState if ch is the + expected character or the configure noMatchState otherwise. +
Returns:
next state
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2001-2008 Ant-Contrib Project. All Rights Reserved. + + -- cgit v1.2.3