QmlJS Namespace
Header: | #include <QmlJS> |
Namespaces
namespace | AST |
namespace | AST |
namespace | AST |
namespace | CPlusPlus |
namespace | Constants |
namespace | Constants |
namespace | ImportKind |
namespace | ImportKind |
namespace | ImportType |
namespace | ImportType |
namespace | Internal |
namespace | Internal |
namespace | Internal |
namespace | Language |
namespace | Language |
namespace | PersistentTrie |
namespace | PersistentTrie |
namespace | QSOperator |
namespace | QmlJS |
namespace | Severity |
namespace | Severity |
namespace | StaticAnalysis |
namespace | StaticAnalysis |
namespace | Utils |
namespace | std |
Classes
Types
typedef | ContextPtr |
typedef | ContextPtr |
typedef | QmlDirComponents |
typedef | QmlDirPlugins |
typedef | QmlDirScripts |
typedef | ValueList |
typedef | ValueList |
Functions
int | classify2(const QChar *s, bool qmlMode) |
int | classify3(const QChar *s, bool qmlMode) |
int | classify4(const QChar *s, bool qmlMode) |
int | classify5(const QChar *s, bool qmlMode) |
int | classify6(const QChar *s, bool qmlMode) |
int | classify7(const QChar *s, bool qmlMode) |
int | classify8(const QChar *s, bool qmlMode) |
int | classify9(const QChar *s, bool qmlMode) |
int | classify10(const QChar *s, bool qmlMode) |
int | classify12(const QChar *s, bool qmlMode) |
QmlJS::DiagnosticMessage | errorMessage(const AST::SourceLocation &loc, const QString &message) |
QmlJS::DiagnosticMessage | errorMessage(const T *node, const QString &message) |
QmlJS::QmlJS::DiagnosticMessage | errorMessage(const T *node, const QmlJS::QString &message) |
QmlJS::QmlJS::DiagnosticMessage | errorMessage(const AST::SourceLocation &loc, const QmlJS::QString &message) |
AST::SourceLocation | fullLocationForQualifiedId(AST::UiQualifiedId *) |
AST::SourceLocation | fullLocationForQualifiedId(AST::UiQualifiedId *) |
QString | idOfObject(AST::Node *object, AST::UiScriptBinding **idBinding = 0) |
QmlJS::QString | idOfObject(AST::Node *object, AST::UiScriptBinding **idBinding = 0) |
AST::UiObjectInitializer * | initializerOfObject(AST::Node *object) |
AST::UiObjectInitializer * | initializerOfObject(AST::Node *object) |
double | integerFromString(const char *buf, int size, int radix) |
double | integerFromString(const char *buf, int size, int radix) |
double | integerFromString(const char *buf, int size, int radix) |
bool | isValidBuiltinPropertyType(const QString &name) |
bool | isValidBuiltinPropertyType(const QmlJS::QString &name) |
AST::SourceLocation | locationFromRange(const AST::SourceLocation &start, const AST::SourceLocation &end) |
AST::SourceLocation | locationFromRange(const T *node) |
AST::SourceLocation | locationFromRange(const T *node) |
AST::SourceLocation | locationFromRange(const AST::SourceLocation &start, const AST::SourceLocation &end) |
bool | maybeModuleVersion(const QString &version) |
bool | maybeModuleVersion(const QmlJS::QString &version) |
QString | modulePath(const QString &moduleImportName, const QString &version, const QStringList &importPaths) |
QmlJS::QString | modulePath(const QmlJS::QString &name, const QmlJS::QString &version, const QmlJS::QStringList &importPaths) |
uint | qHash(const QmlJS::ImportKey &info) |
uint | qHash(const QmlJS::FakeMetaObjectWithOrigin &fmoo) |
uint | qHash(const QmlJS::Dialect &o) |
int | qHash(const Debugger::QmlJS::ImportKey &) |
QmlJS::uint | qHash(const QmlJS::QmlJS::FakeMetaObjectWithOrigin &fmoo) |
int | qHash(const int &) |
AST::UiQualifiedId * | qualifiedTypeNameId(AST::Node *node) |
AST::UiQualifiedId * | qualifiedTypeNameId(AST::Node *node) |
QString | reformat(const Document::Ptr &doc) |
QString | reformat(const Document::Ptr &doc, int indentSize, int tabSize) |
QColor | toQColor(const QString &qmlColorString) |
QmlJS::QColor | toQColor(const QmlJS::QString &qmlColorString) |
QString | toString(AST::UiQualifiedId *qualifiedId, const QChar delimiter = QLatin1Char('.')) |
QmlJS::QString | toString(AST::UiQualifiedId *qualifiedId, const QmlJS::QChar delimiter = QLatin1Char('.')) |
const RetTy * | value_cast(const QmlJS::Value *) |
const RetTy * | value_cast(const QmlJS::QmlJS::Value *) |
bool | operator!=(const QmlJS::ImportMatchStrength &m1, const QmlJS::ImportMatchStrength &m2) |
bool | operator!=(const QmlJS::ImportKey &i1, const QmlJS::ImportKey &i2) |
bool | operator!=(const QmlJS::Export &i1, const QmlJS::Export &i2) |
bool | operator!=(const QmlJS::MatchedImport &m1, const QmlJS::MatchedImport &m2) |
bool | operator!=(const Debugger::QmlJS::MatchedImport &m1, const Debugger::QmlJS::MatchedImport &m2) |
bool | operator!=(const Debugger::QmlJS::Export &i1, const Debugger::QmlJS::Export &i2) |
bool | operator!=(const Debugger::QmlJS::ImportKey &i1, const Debugger::QmlJS::ImportKey &i2) |
bool | operator!=(const Debugger::QmlJS::ImportMatchStrength &m1, const Debugger::QmlJS::ImportMatchStrength &m2) |
bool | operator!=(const int &m1, const int &m2) |
bool | operator<(const QmlJS::ImportMatchStrength &m1, const QmlJS::ImportMatchStrength &m2) |
bool | operator<(const QmlJS::ImportKey &i1, const QmlJS::ImportKey &i2) |
bool | operator<(const QmlJS::MatchedImport &m1, const QmlJS::MatchedImport &m2) |
bool | operator<(const Debugger::QmlJS::MatchedImport &m1, const Debugger::QmlJS::MatchedImport &m2) |
bool | operator<(const Debugger::QmlJS::ImportKey &i1, const Debugger::QmlJS::ImportKey &i2) |
bool | operator<(const Debugger::QmlJS::ImportMatchStrength &m1, const Debugger::QmlJS::ImportMatchStrength &m2) |
bool | operator<(const int &m1, const int &m2) |
QmlJS::QDebug & | operator<<(QmlJS::QDebug &, const QmlDirParser::Component &) |
QmlJS::QDebug & | operator<<(QmlJS::QDebug &, const QmlDirParser::Script &) |
QDebug | operator<<(QDebug &dbg, const QmlJS::Dialect &dialect) |
QDebug | operator<<(QDebug &dbg, const QmlJS::PathAndLanguage &pathAndLanguage) |
bool | operator==(const QmlJS::ImportMatchStrength &m1, const QmlJS::ImportMatchStrength &m2) |
bool | operator==(const QmlJS::ImportKey &i1, const QmlJS::ImportKey &i2) |
bool | operator==(const QmlJS::Export &i1, const QmlJS::Export &i2) |
bool | operator==(const QmlJS::MatchedImport &m1, const QmlJS::MatchedImport &m2) |
bool | operator==(const Debugger::QmlJS::MatchedImport &m1, const Debugger::QmlJS::MatchedImport &m2) |
bool | operator==(const Debugger::QmlJS::Export &i1, const Debugger::QmlJS::Export &i2) |
bool | operator==(const Debugger::QmlJS::ImportKey &i1, const Debugger::QmlJS::ImportKey &i2) |
bool | operator==(const Debugger::QmlJS::ImportMatchStrength &m1, const Debugger::QmlJS::ImportMatchStrength &m2) |
bool | operator==(const int &m1, const int &m2) |
Detailed Description
QML and JavaScript language support library
Namespaces
namespace QmlJS::AST
namespace QmlJS::AST
namespace QmlJS::AST
namespace QmlJS::CPlusPlus
namespace QmlJS::Constants
namespace QmlJS::Constants
namespace QmlJS::ImportKind
namespace QmlJS::ImportKind
namespace QmlJS::ImportType
namespace QmlJS::ImportType
namespace QmlJS::Internal
namespace QmlJS::Internal
namespace QmlJS::Internal
namespace QmlJS::Language
namespace QmlJS::Language
namespace QmlJS::PersistentTrie
namespace QmlJS::PersistentTrie
namespace QmlJS::QSOperator
namespace QmlJS::QmlJS
namespace QmlJS::Severity
namespace QmlJS::Severity
namespace QmlJS::StaticAnalysis
namespace QmlJS::StaticAnalysis
namespace QmlJS::Utils
namespace QmlJS::std
Classes
class QmlJS::ASTFunctionValue
class ASTFunctionValue
class QmlJS::ASTObjectValue
class ASTObjectValue
class QmlJS::ASTPropertyReference
class ASTPropertyReference
class QmlJS::ASTSignal
class ASTSignal
class QmlJS::ASTVariableReference
class ASTVariableReference
class QmlJS::AnchorLineValue
class AnchorLineValue
class Bind
The Bind class collects information about a single Document. More...
class QmlJS::BooleanValue
class BooleanValue
class Check
class CodeFormatter
class QmlJS::ColorValue
class ColorValue
class QmlJS::Context
class Context
The Context class holds information about relationships between documents in a Snapshot. More...
class QmlJS::ConvertToNumber
class ConvertToNumber
class QmlJS::ConvertToObject
class ConvertToObject
class QmlJS::ConvertToString
class ConvertToString
class Debugger::QmlJS::CoreImport
class CoreImport
class QmlJS::CppComponentValue
class CppComponentValue
class QmlJS::CppQmlTypes
class CppQmlTypes
class QmlJS::CppQmlTypesLoader
class CppQmlTypesLoader
class QmlJS::CustomImportsProvider
class CustomImportsProvider
class Debugger::QmlJS::DependencyInfo
class DependencyInfo
class QmlJS::DescribeValueVisitor
class QmlJS::DiagnosticMessage
class Debugger::QmlJS::DiagnosticMessage
class DiagnosticMessage
class Dialect
class Debugger::QmlJS::Directives
class Directives
class QmlJS::Document
class Debugger::QmlJS::Document
class Document
The Document class creates a QML or JavaScript document. More...
class QmlJS::Engine
class Debugger::QmlJS::Engine
class Engine
class Evaluate
The Evaluate class evaluates AST::Nodes to Values. More...
class Debugger::QmlJS::Export
class Export
class QmlJS::FakeMetaObjectWithOrigin
class FakeMetaObjectWithOrigin
class FindExportedCppTypes
class QmlJS::Function
class Function
class QmlJS::FunctionValue
class FunctionValue
class Icons
class QmlJS::Import
class Import
class Debugger::QmlJS::ImportDependencies
class ImportDependencies
class QmlJS::ImportInfo
class ImportInfo
class Debugger::QmlJS::ImportKey
class ImportKey
class Debugger::QmlJS::ImportMatchStrength
class ImportMatchStrength
class QmlJS::Imports
class Imports
class QmlJS::IntValue
class IntValue
class QmlJS::JSImportScope
class JSImportScope
class JsonCheck
class LanguageMerger
class Debugger::QmlJS::Lexer
class Lexer
class QmlJS::LibraryInfo
class Debugger::QmlJS::LibraryInfo
class LibraryInfo
The LibraryInfo class creates a QML library. More...
class Link
The Link class creates a Context for a Snapshot. More...
class QmlJS::Managed
class Debugger::QmlJS::Managed
class Managed
class Debugger::QmlJS::MatchedImport
class MatchedImport
class QmlJS::MemberProcessor
class MemberProcessor
class QmlJS::MemoryPool
class Debugger::QmlJS::MemoryPool
class MemoryPool
class QmlJS::MetaFunction
class MetaFunction
class Debugger::QmlJS::ModelManagerInterface
class ModelManagerInterface
The ModelManagerInterface class acts as an interface to the global state of the QmlJS code model. More...
class QmlJS::ModuleApiInfo
class Debugger::QmlJS::ModuleApiInfo
class ModuleApiInfo
class QmlJS::NullValue
class NullValue
class QmlJS::NumberValue
class NumberValue
class QmlJS::ObjectValue
class ObjectValue
class Parser
class PathAndLanguage
class PathsAndLanguages
class PluginDumper
class QmlJS::PropertyData
class PropertyData
class QmlJS::PropertyInfo
class PropertyInfo
class PropertyReader
class QmlJS::PrototypeIterator
class PrototypeIterator
class Debugger::QmlJS::QmlBundle
class QmlBundle
class QmlComponentChain
class QmlDirParser
class QmlJS::QmlEnumValue
class QmlEnumValue
class Debugger::QmlJS::QmlLanguageBundles
class QmlLanguageBundles
class QmlJS::QmlPrototypeReference
class QmlPrototypeReference
class QmlJS::QrcCache
class Debugger::QmlJS::QrcCache
class QrcCache
class QmlJS::QrcParser
class Debugger::QmlJS::QrcParser
class QrcParser
Parses one or more qrc files, and keeps their content cached. More...
class QtStyleCodeFormatter
class QmlJS::RealValue
class RealValue
class QmlJS::Reference
class Reference
class QmlJS::ReferenceContext
class ReferenceContext
class Rewriter
class Scanner
class ScopeAstPath
class ScopeBuilder
class ScopeChain
The ScopeChain class describes the scopes used for global lookup in a specific location. More...
class SimpleAbstractStreamReader
class SimpleReader
class SimpleReaderNode
class QmlJS::Snapshot
class Debugger::QmlJS::Snapshot
class Snapshot
The Snapshot class holds and offers access to a set of Document::Ptr and LibraryInfo instances. More...
class QmlJS::StringValue
class StringValue
class Token
class TypeDescriptionReader
class QmlJS::TypeId
class TypeId
class QmlJS::TypeScope
class TypeScope
class QmlJS::UndefinedValue
class UndefinedValue
class QmlJS::UnknownValue
class UnknownValue
class QmlJS::UrlValue
class UrlValue
class QmlJS::Value
class Value
The Value class is an abstract base class for the result of a JS expression. More...
class QmlJS::ValueOwner
class ValueOwner
The ValueOwner class manages the lifetime of QmlJS::Values. More...
class QmlJS::ValueVisitor
class ValueVisitor
class QmlJS::ViewerContext
class ViewerContext
The ViewerContext class encapsulate selector and paths for a given viewer. More...
Type Documentation
typedef QmlJS::ContextPtr
typedef QmlJS::ContextPtr
typedef QmlJS::QmlDirComponents
typedef QmlJS::QmlDirPlugins
typedef QmlJS::QmlDirScripts
typedef QmlJS::ValueList
typedef QmlJS::ValueList
Function Documentation
int QmlJS::classify2(const QChar *s, bool qmlMode)
int QmlJS::classify3(const QChar *s, bool qmlMode)
int QmlJS::classify4(const QChar *s, bool qmlMode)
int QmlJS::classify5(const QChar *s, bool qmlMode)
int QmlJS::classify6(const QChar *s, bool qmlMode)
int QmlJS::classify7(const QChar *s, bool qmlMode)
int QmlJS::classify8(const QChar *s, bool qmlMode)
int QmlJS::classify9(const QChar *s, bool qmlMode)
int QmlJS::classify10(const QChar *s, bool qmlMode)
int QmlJS::classify12(const QChar *s, bool qmlMode)
QmlJS::DiagnosticMessage QmlJS::errorMessage(const AST::SourceLocation &loc, const QString &message)
QmlJS::DiagnosticMessage QmlJS::errorMessage(const T *node, const QString &message)
QmlJS::QmlJS::DiagnosticMessage QmlJS::errorMessage(const T *node, const QmlJS::QString &message)
QmlJS::QmlJS::DiagnosticMessage QmlJS::errorMessage(const AST::SourceLocation &loc, const QmlJS::QString &message)
AST::SourceLocation QmlJS::fullLocationForQualifiedId(AST::UiQualifiedId *)
AST::SourceLocation QmlJS::fullLocationForQualifiedId(AST::UiQualifiedId *)
QString QmlJS::idOfObject(AST::Node *object, AST::UiScriptBinding **idBinding = 0)
QmlJS::QString QmlJS::idOfObject(AST::Node *object, AST::UiScriptBinding **idBinding = 0)
\returns
the value of the 'id:' binding in object idBinding optional out parameter to get the UiScriptBinding for the id binding
AST::UiObjectInitializer *QmlJS::initializerOfObject(AST::Node *object)
AST::UiObjectInitializer *QmlJS::initializerOfObject(AST::Node *object)
\returns
the UiObjectInitializer if object is a UiObjectDefinition or UiObjectBinding, otherwise 0
double QmlJS::integerFromString(const char *buf, int size, int radix)
double QmlJS::integerFromString(const char *buf, int size, int radix)
double QmlJS::integerFromString(const char *buf, int size, int radix)
bool QmlJS::isValidBuiltinPropertyType(const QString &name)
bool QmlJS::isValidBuiltinPropertyType(const QmlJS::QString &name)
AST::SourceLocation QmlJS::locationFromRange(const AST::SourceLocation &start, const AST::SourceLocation &end)
AST::SourceLocation QmlJS::locationFromRange(const T *node)
AST::SourceLocation QmlJS::locationFromRange(const T *node)
AST::SourceLocation QmlJS::locationFromRange(const AST::SourceLocation &start, const AST::SourceLocation &end)
bool QmlJS::maybeModuleVersion(const QString &version)
bool QmlJS::maybeModuleVersion(const QmlJS::QString &version)
Permissive validation of a string representing a module version. version Returns True if \p
version is a valid version format (<digit(s)>.<digit(s)>), if it is the undefined version (-1.-1) or if it is empty. False otherwise.
QString QmlJS::modulePath(const QString &moduleImportName, const QString &version, const QStringList &importPaths)
QmlJS::QString QmlJS::modulePath(const QmlJS::QString &name, const QmlJS::QString &version, const QmlJS::QStringList &importPaths)
Get the path of a module name version importPaths
Given the qualified \p
name and \p
version of a module, look for a valid path in \p
importPaths. Most specific version are searched first, the version is searched also in parent modules. For example, given the \p
name QtQml.Models and \p
version 2.0, the following directories are searched in every element of \p
importPath:
- QtQml/Models.2.0 - QtQml.2.0/Models - QtQml/Models.2 - QtQml.2/Models - QtQml/Models
Returns The module paths if found, an empty string otherwise
See also qmlimportscanner, in, and qtdeclarative/tools.