mirror of
https://github.com/overte-org/overte.git
synced 2025-07-23 14:24:04 +02:00
Update JSBaker.h
This commit is contained in:
parent
167dda9f80
commit
70a39f03f7
1 changed files with 12 additions and 14 deletions
|
@ -30,23 +30,21 @@ private :
|
||||||
QString _bakedOutputDir;
|
QString _bakedOutputDir;
|
||||||
QString _bakedJSFilePath;
|
QString _bakedJSFilePath;
|
||||||
|
|
||||||
void importJS();
|
static bool bakeJS(QByteArray*, QByteArray*);
|
||||||
void bakeJS(QFile*);
|
|
||||||
void exportJS(QFile*);
|
|
||||||
|
|
||||||
void handleSingleLineComments(QTextStream*);
|
static void handleSingleLineComments(QTextStream*);
|
||||||
void handleMultiLineComments(QTextStream*);
|
static bool handleMultiLineComments(QTextStream*);
|
||||||
|
|
||||||
bool canOmitSpace(QChar, QChar);
|
static bool canOmitSpace(QChar, QChar);
|
||||||
bool canOmitNewLine(QChar, QChar);
|
static bool canOmitNewLine(QChar, QChar);
|
||||||
|
|
||||||
bool isAlphanum(QChar);
|
static bool isAlphanum(QChar);
|
||||||
bool isNonAscii(QChar c);
|
static bool isNonAscii(QChar c);
|
||||||
bool isSpecialCharacter(QChar c);
|
static bool isSpecialCharacter(QChar c);
|
||||||
bool isSpecialCharacterPrevious(QChar c);
|
static bool isSpecialCharacterPrevious(QChar c);
|
||||||
bool isSpecialCharacterNext(QChar c);
|
static bool isSpecialCharacterNext(QChar c);
|
||||||
bool isSpaceOrTab(QChar);
|
static bool isSpaceOrTab(QChar);
|
||||||
bool isQuote(QChar);
|
static bool isQuote(QChar);
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // !hifi_JSBaker_h
|
#endif // !hifi_JSBaker_h
|
||||||
|
|
Loading…
Reference in a new issue