net.sf.antcontrib.cpptasks.borland
Class ConsumeToSpaceOrNewLine

java.lang.Object
  extended by net.sf.antcontrib.cpptasks.parser.AbstractParserState
      extended by net.sf.antcontrib.cpptasks.borland.ConsumeToSpaceOrNewLine

public class ConsumeToSpaceOrNewLine
extends AbstractParserState


Constructor Summary
ConsumeToSpaceOrNewLine(AbstractParser parser)
           
 
Method Summary
 AbstractParserState consume(char ch)
          Consume a character
 
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

ConsumeToSpaceOrNewLine

public ConsumeToSpaceOrNewLine(AbstractParser parser)
Method Detail

consume

public AbstractParserState consume(char ch)
Description copied from class: AbstractParserState
Consume a character

Specified by:
consume in class AbstractParserState
Returns:
new state, may be null to ignore the rest of the line


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