com.github.maven_nar.cpptasks.parser
Class CParser
java.lang.Object
com.github.maven_nar.cpptasks.parser.AbstractParser
com.github.maven_nar.cpptasks.parser.CParser
- All Implemented Interfaces:
- Parser
public final class CParser
- extends AbstractParser
- implements Parser
A parser that extracts #include statements from a Reader.
- Author:
- Adam Murdoch, Curt Arnold
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CParser
public CParser()
addFilename
public void addFilename(String include)
- Specified by:
addFilename in class AbstractParser
getIncludes
public String[] getIncludes()
- Specified by:
getIncludes in interface Parser
getNewLineState
public AbstractParserState getNewLineState()
- Specified by:
getNewLineState in class AbstractParser
parse
public void parse(Reader reader)
throws IOException
- Specified by:
parse in interface Parser- Overrides:
parse in class AbstractParser
- Throws:
IOException
Copyright © 2001-2013. All Rights Reserved.