AbstractParserState (cpptasks 1.0b5 API)
Keywords: net.sf.antcontrib.cpptasks.parser.AbstractParserState class

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## net.sf.antcontrib.cpptasks.parser
Class AbstractParserState

    java.lang.Object
      net.sf.antcontrib.cpptasks.parser.AbstractParserState

Direct Known Subclasses:
  BranchState, CaseInsensitiveLetterState, ConsumeToSpaceOrNewLine, FilenameState, LetterState, PostE, QuoteBranchState, WhitespaceOrCaseInsensitiveLetterState, WhitespaceOrLetterState

    public abstract class AbstractParserState

extends java.lang.Object

An base class for objects that represent the state of an AbstractParser.

Author:
  CurtArnold
See Also:
  `AbstractParser`

Constructor Summary
`protected` | `AbstractParserState(AbstractParser parser)`

Method Summary
`abstract AbstractParserState` | `consume(char ch)` Consume a character
`protected AbstractParser` | `getParser()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### AbstractParserState

    protected AbstractParserState(AbstractParser parser)

Method Detail

### consume

    public abstract AbstractParserState consume(char ch)

  Consume a character

  Returns:
    new state, may be null to ignore the rest of the line

### getParser

    protected AbstractParser getParser()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2008 Ant-Contrib Project. All Rights Reserved.