Dialect Class
(QmlJS::Dialect)Public Types
enum | Enum { NoLanguage, JavaScript, Json, Qml, ..., AnyLanguage } |
Public Functions
Dialect(Enum dialect = NoLanguage) | |
QList<Dialect> | companionLanguages() const |
Enum | dialect() const |
bool | isFullySupportedLanguage() const |
bool | isQmlLikeLanguage() const |
bool | isQmlLikeOrJsLanguage() const |
void | mergeLanguage(const Dialect &l2) |
bool | restrictLanguage(const Dialect &l2) |
QString | toString() const |
bool | operator!=(const Dialect &o) const |
bool | operator<(const Dialect &o) const |
bool | operator==(const Dialect &o) const |
Static Public Members
Dialect | mergeLanguages(const Dialect &l1, const Dialect &l2) |
Member Function Documentation
Dialect::Dialect(Enum dialect = NoLanguage)
Default constructs an instance of Dialect.