![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include "lupdate.h"
#include <translator.h>
#include <QtCore/QDebug>
#include <QtCore/QFile>
#include <QtCore/QStack>
#include <QtCore/QString>
#include <QtCore/QCoreApplication>
#include <QtCore/QStringConverter>
#include <QtCore/QTextStream>
#include <iostream>
#include <ctype.h>
Go to the source code of this file.
Classes | |
class | Scope |
Functions | |
std::ostream & | yyMsg (int line=0) |
static QChar | getChar () |
static int | getToken () |
static bool | match (int t) |
static bool | matchString (QString &s) |
static bool | matchStringOrNull (QString &s) |
static bool | matchExpression () |
static const QString | context () |
static void | recordMessage (Translator *tor, const QString &context, const QString &text, const QString &comment, const QString &extracomment, bool plural, ConversionData &cd) |
static void | parse (Translator *tor, ConversionData &cd) |
bool | loadJava (Translator &translator, const QString &filename, ConversionData &cd) |
Variables | |
static QString | yyFileName |
static QChar | yyCh |
static QString | yyIdent |
static QString | yyComment |
static QString | yyString |
static bool | yyEOF = false |
static qlonglong | yyInteger |
static int | yyParenDepth |
static int | yyLineNo |
static int | yyCurLineNo |
static int | yyParenLineNo |
static int | yyTok |
static QString | yyInStr |
static int | yyInPos |
static QString | yyPackage |
static QStack< Scope * > | yyScope |
anonymous enum |
anonymous enum |
|
static |
Definition at line 398 of file java.cpp.
References Scope::Clazz, yyPackage, and yyScope.
Referenced by org.qtproject.qt.android.QtQuickView::QtQuickView(), org.qtproject.qt.android.QtQuickView::QtQuickView(), and org.qtproject.qt.android.QtQuickView::QtQuickView().
|
static |
Definition at line 81 of file java.cpp.
References yyCurLineNo, yyEOF, and yyInPos.
|
static |
Definition at line 93 of file java.cpp.
References Tok_class, Tok_Colon, Tok_Comma, Tok_Comment, Tok_Dot, Tok_Eof, Tok_Ident, Tok_Integer, Tok_LeftBrace, Tok_LeftParen, Tok_null, Tok_Package, Tok_Plus, Tok_PlusEq, Tok_PlusPlus, Tok_return, Tok_RightBrace, Tok_RightParen, Tok_Semicolon, Tok_String, Tok_tr, Tok_translate, yyCh, yyComment, yyCurLineNo, yyEOF, yyIdent, yyInteger, yyLineNo, yyMsg(), yyParenDepth, yyParenLineNo, yyString, and yyTok.
Referenced by match(), matchExpression(), matchString(), matchStringOrNull(), and parse().
bool loadJava | ( | Translator & | translator, |
const QString & | filename, | ||
ConversionData & | cd ) |
Definition at line 564 of file java.cpp.
References parse(), yyCurLineNo, yyFileName, yyInPos, yyInStr, yyPackage, yyParenDepth, yyParenLineNo, yyScope, and yyTok.
|
static |
Definition at line 315 of file java.cpp.
References getToken(), and yyTok.
Referenced by matchExpression(), and parse().
|
static |
Definition at line 370 of file java.cpp.
References getToken(), match(), Tok_Ident, Tok_Integer, Tok_LeftParen, Tok_RightParen, and yyTok.
Referenced by parse().
|
static |
Definition at line 323 of file java.cpp.
References getToken(), Tok_Plus, Tok_String, yyMsg(), and yyTok.
|
static |
Definition at line 345 of file java.cpp.
References getToken(), Tok_null, and yyTok.
|
static |
Definition at line 428 of file java.cpp.
References Scope::Clazz, getToken(), match(), matchExpression(), Scope::Other, Tok_class, Tok_Comma, Tok_Comment, Tok_Eof, Tok_Ident, Tok_LeftBrace, Tok_Package, Tok_RightBrace, Tok_RightParen, Tok_Semicolon, Tok_tr, Tok_translate, yyComment, yyEOF, yyLineNo, yyMsg(), yyPackage, yyParenDepth, yyParenLineNo, yyScope, and yyTok.
Referenced by loadJava().
|
static |
Definition at line 416 of file java.cpp.
References Translator::extend(), TranslatorMessage::Unfinished, and yyLineNo.
std::ostream & yyMsg | ( | int | line = 0 | ) |
Definition at line 76 of file java.cpp.
References yyLineNo.
Referenced by getToken(), matchString(), and parse().
|
static |
Definition at line 55 of file java.cpp.
Referenced by getToken().
|
static |
Definition at line 57 of file java.cpp.
Referenced by getToken(), and parse().
|
static |
Definition at line 64 of file java.cpp.
Referenced by getChar(), getToken(), and loadJava().
|
static |
Definition at line 59 of file java.cpp.
Referenced by getChar(), getToken(), and parse().
|
static |
Definition at line 54 of file java.cpp.
Referenced by loadJava().
|
static |
Definition at line 56 of file java.cpp.
Referenced by getToken().
|
static |
Definition at line 70 of file java.cpp.
Referenced by getChar(), and loadJava().
|
static |
Definition at line 69 of file java.cpp.
Referenced by loadJava().
|
static |
Definition at line 61 of file java.cpp.
Referenced by getToken().
|
static |
Definition at line 63 of file java.cpp.
Referenced by getToken(), parse(), recordMessage(), and yyMsg().
|
static |
Definition at line 73 of file java.cpp.
Referenced by context(), loadJava(), and parse().
|
static |
Definition at line 62 of file java.cpp.
Referenced by getToken(), loadJava(), and parse().
|
static |
Definition at line 65 of file java.cpp.
Referenced by getToken(), loadJava(), and parse().
Definition at line 74 of file java.cpp.
Referenced by context(), loadJava(), and parse().
|
static |
Definition at line 58 of file java.cpp.
Referenced by getToken().
|
static |
Definition at line 66 of file java.cpp.
Referenced by getToken(), loadJava(), match(), matchExpression(), matchString(), matchStringOrNull(), and parse().