|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.antcontrib.cpptasks.parser.AbstractParser
net.sf.antcontrib.cpptasks.trolltech.MetaObjectParser
public final class MetaObjectParser
Scans a source file for Q_OBJECT.
| Method Summary | |
|---|---|
protected void |
addFilename(java.lang.String filename)
Adds a filename to the list of included files. |
AbstractParserState |
getNewLineState()
Gets new line state. |
static boolean |
hasQObject(java.io.Reader reader)
Determines if source file contains Q_OBJECT. |
void |
parse(java.io.Reader reader)
Parse input file. |
void |
setQObject(boolean value)
Called FinalTState to set that Q_OBJECT was found. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static boolean hasQObject(java.io.Reader reader)
throws java.io.IOException
reader - Reader source reader
java.io.IOException - if unable to read source fileprotected void addFilename(java.lang.String filename)
addFilename in class AbstractParserfilename - filename to be addedpublic AbstractParserState getNewLineState()
getNewLineState in class AbstractParser
public void parse(java.io.Reader reader)
throws java.io.IOException
parse in class AbstractParserreader - Reader source file
java.io.IOException - if error reading source filepublic void setQObject(boolean value)
value - boolean new value for hasQObject
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||