Class AbstractParserState
java.lang.Object
net.sf.antcontrib.cpptasks.parser.AbstractParserState
- Direct Known Subclasses:
BranchState
,CaseInsensitiveLetterState
,ConsumeToSpaceOrNewLine
,FilenameState
,LetterState
,PostE
,QuoteBranchState
,WhitespaceOrCaseInsensitiveLetterState
,WhitespaceOrLetterState
An base class for objects that represent the state of an AbstractParser.
- Author:
- CurtArnold
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract AbstractParserState
consume
(char ch) Consume a characterprotected AbstractParser
-
Constructor Details
-
AbstractParserState
-
-
Method Details
-
consume
Consume a character- Returns:
- new state, may be null to ignore the rest of the line
-
getParser
-