|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.github.maven_nar.cpptasks.parser.AbstractParser
com.github.maven_nar.cpptasks.trolltech.MetaObjectParser
public final class MetaObjectParser
Scans a source file for Q_OBJECT.
| Method Summary | |
|---|---|
protected void |
addFilename(String filename)
Adds a filename to the list of included files. |
AbstractParserState |
getNewLineState()
Gets new line state. |
static boolean |
hasQObject(Reader reader)
Determines if source file contains Q_OBJECT. |
void |
parse(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(Reader reader)
throws IOException
reader - Reader source reader
IOException - if unable to read source fileprotected void addFilename(String filename)
addFilename in class AbstractParserfilename - filename to be addedpublic AbstractParserState getNewLineState()
getNewLineState in class AbstractParser
public void parse(Reader reader)
throws IOException
parse in class AbstractParserreader - Reader source file
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 | |||||||||