QmlJS Namespace | Extending Qt Creator Manual

Extending Qt Creator Manual | QmlJS Namespace

Extending Qt Creator Manual 4.4.1

# QmlJS Namespace

Header: | #include <QmlJS>

## Namespaces

namespace | AST
namespace | Constants
namespace | ImportKind
namespace | ImportType
namespace | Internal
namespace | Language
namespace | PersistentTrie
namespace | Severity
namespace | StaticAnalysis

## Classes

class | ASTFunctionValue
class | ASTObjectValue
class | ASTPropertyReference
class | ASTSignal
class | ASTVariableReference
class | AnchorLineValue
class | Bind
class | BooleanValue
class | Check
class | CodeFormatter
class | ColorValue
class | CompletionContextFinder
class | Context
class | ConvertToNumber
class | ConvertToObject
class | ConvertToString
class | CoreImport
class | CppComponentValue
class | CppQmlTypes
class | CppQmlTypesLoader
class | CustomImportsProvider
class | DependencyInfo
class | DescribeValueVisitor
class | Dialect
class | Document
class | Evaluate
class | Export
class | FakeMetaObjectWithOrigin
class | FindExportedCppTypes
class | Function
class | FunctionValue
class | IContextPane
class | Icons
class | Import
class | ImportDependencies
class | ImportInfo
class | ImportMatchStrength
class | Imports
class | IntValue
class | JSImportScope
class | JsonCheck
class | LanguageMerger
class | LibraryInfo
class | LineInfo
class | Link
class | MatchedImport
class | MemberProcessor
class | MetaFunction
class | ModelManagerInterface
class | ModuleApiInfo
class | NullValue
class | NumberValue
class | ObjectValue
class | PathAndLanguage
class | PathsAndLanguages
class | PluginDumper
class | PropertyData
class | PropertyInfo
class | PropertyReader
class | PrototypeIterator
class | QmlBundle
class | QmlComponentChain
class | QmlEnumValue
class | QmlJSIndenter
class | QmlLanguageBundles
class | QmlPrototypeReference
class | QrcCache
class | QrcParser
class | QtStyleCodeFormatter
class | RealValue
class | Reference
class | ReferenceContext
class | Rewriter
class | Scanner
class | ScopeAstPath
class | ScopeBuilder
class | ScopeChain
class | SimpleAbstractStreamReader
class | SimpleReader
class | SimpleReaderNode
class | Snapshot
class | StringValue
class | Token
class | TypeDescriptionReader
class | TypeId
class | TypeScope
class | UndefinedValue
class | UnknownValue
class | UrlValue
class | Value
class | ValueOwner
class | ValueVisitor
class | ViewerContext

## Types

typedef | ContextPtr
typedef | ValueList

## Functions

DiagnosticMessage | errorMessage(const T *node, const QString &message)
AST::SourceLocation | locationFromRange(const T *node)
uint | qHash(const ImportKey &info)
const RetTy * | value_cast(const Value *)
const NullValue * | value_cast(const Value *v)
const UndefinedValue * | value_cast(const Value *v)
const UnknownValue * | value_cast(const Value *v)
const NumberValue * | value_cast(const Value *v)
const IntValue * | value_cast(const Value *v)
const RealValue * | value_cast(const Value *v)
const BooleanValue * | value_cast(const Value *v)
const StringValue * | value_cast(const Value *v)
const UrlValue * | value_cast(const Value *v)
const ObjectValue * | value_cast(const Value *v)
const ASTFunctionValue * | value_cast(const Value *v)
const FunctionValue * | value_cast(const Value *v)
const Reference * | value_cast(const Value *v)
const ColorValue * | value_cast(const Value *v)
const AnchorLineValue * | value_cast(const Value *v)
const CppComponentValue * | value_cast(const Value *v)
const ASTObjectValue * | value_cast(const Value *v)
const QmlEnumValue * | value_cast(const Value *v)
const QmlPrototypeReference * | value_cast(const Value *v)
const ASTPropertyReference * | value_cast(const Value *v)
const Internal::QtObjectPrototypeReference * | value_cast(const Value *v)
const ASTVariableReference * | value_cast(const Value *v)
const Function * | value_cast(const Value *v)
const MetaFunction * | value_cast(const Value *v)
const JSImportScope * | value_cast(const Value *v)
const TypeScope * | value_cast(const Value *v)
const ASTSignal * | value_cast(const Value *v)
bool | operator!=(const ImportMatchStrength &m1, const ImportMatchStrength &m2)
bool | operator!=(const ImportKey &i1, const ImportKey &i2)
bool | operator!=(const Export &i1, const Export &i2)
bool | operator!=(const MatchedImport &m1, const MatchedImport &m2)
bool | operator<(const ImportMatchStrength &m1, const ImportMatchStrength &m2)
bool | operator<(const ImportKey &i1, const ImportKey &i2)
bool | operator<(const MatchedImport &m1, const MatchedImport &m2)
QMLJS_EXPORT | operator<<(QDebug &dbg, const Dialect &dialect)
QMLJS_EXPORT | operator<<(QDebug &dbg, const PathAndLanguage &pathAndLanguage)
bool | operator==(const ImportMatchStrength &m1, const ImportMatchStrength &m2)
bool | operator==(const ImportKey &i1, const ImportKey &i2)
bool | operator==(const Export &i1, const Export &i2)
bool | operator==(const MatchedImport &m1, const MatchedImport &m2)

## Detailed Description

QML and JavaScript language support library

## Namespaces

### namespace QmlJS::AST

### namespace QmlJS::Constants

### namespace QmlJS::ImportKind

### namespace QmlJS::ImportType

### namespace QmlJS::Internal

### namespace QmlJS::Language

### namespace QmlJS::PersistentTrie

### namespace QmlJS::Severity

### namespace QmlJS::StaticAnalysis

## Classes

### class ASTFunctionValue

### class ASTObjectValue

### class ASTPropertyReference

### class ASTSignal

### class ASTVariableReference

### class AnchorLineValue

### class Bind

The Bind class collects information about a single Document. More...

### class BooleanValue

### class Check

### class CodeFormatter

### class ColorValue

### class CompletionContextFinder

### class Context

The Context class holds information about relationships between documents in a Snapshot. More...

### class ConvertToNumber

### class ConvertToObject

### class ConvertToString

### class CoreImport

### class CppComponentValue

### class CppQmlTypes

### class CppQmlTypesLoader

### class CustomImportsProvider

### class DependencyInfo

### class DescribeValueVisitor

### class Dialect

### class Document

The Document class creates a QML or JavaScript document. More...

### class Evaluate

The Evaluate class evaluates AST::Nodes to Values. More...

### class Export

### class FakeMetaObjectWithOrigin

### class FindExportedCppTypes

### class Function

### class FunctionValue

### class IContextPane

### class Icons

### class Import

### class ImportDependencies

### class ImportInfo

### class ImportMatchStrength

### class Imports

### class IntValue

### class JSImportScope

### class JsonCheck

### class LanguageMerger

### class LibraryInfo

The LibraryInfo class creates a QML library. More...

### class LineInfo

### class Link

The Link class creates a Context for a Snapshot. More...

### class MatchedImport

### class MemberProcessor

### class MetaFunction

### class ModelManagerInterface

The ModelManagerInterface class acts as an interface to the global state of the QmlJS code model. More...

### class ModuleApiInfo

### class NullValue

### class NumberValue

### class ObjectValue

### class PathAndLanguage

### class PathsAndLanguages

### class PluginDumper

### class PropertyData

### class PropertyInfo

### class PropertyReader

### class PrototypeIterator

### class QmlBundle

### class QmlComponentChain

### class QmlEnumValue

### class QmlJSIndenter

### class QmlLanguageBundles

### class QmlPrototypeReference

### class QrcCache

### class QrcParser

### class QtStyleCodeFormatter

### class RealValue

### class Reference

### 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 Snapshot

The Snapshot class holds and offers access to a set of Document::Ptr and LibraryInfo instances. More...

### class StringValue

### class Token

### class TypeDescriptionReader

### class TypeId

### class TypeScope

### class UndefinedValue

### class UnknownValue

### class UrlValue

### class Value

The Value class is an abstract base class for the result of a JS expression. More...

### class ValueOwner

The ValueOwner class manages the lifetime of QmlJS::Values. More...

### class ValueVisitor

### class ViewerContext

The ViewerContext class encapsulate selector and paths for a given viewer. More...

## Type Documentation

### typedef QmlJS::ContextPtr

### typedef QmlJS::ValueList

## Function Documentation

### DiagnosticMessage QmlJS::errorMessage(const T *node, const QString &message)

### AST::SourceLocation QmlJS::locationFromRange(const T *node)

### uint QmlJS::qHash(const ImportKey &info)

### const RetTy *QmlJS::value_cast(const Value *)

### const NullValue *QmlJS::value_cast(const Value *v)

### const UndefinedValue *QmlJS::value_cast(const Value *v)

### const UnknownValue *QmlJS::value_cast(const Value *v)

### const NumberValue *QmlJS::value_cast(const Value *v)

### const IntValue *QmlJS::value_cast(const Value *v)

### const RealValue *QmlJS::value_cast(const Value *v)

### const BooleanValue *QmlJS::value_cast(const Value *v)

### const StringValue *QmlJS::value_cast(const Value *v)

### const UrlValue *QmlJS::value_cast(const Value *v)

### const ObjectValue *QmlJS::value_cast(const Value *v)

### const ASTFunctionValue *QmlJS::value_cast(const Value *v)

### const FunctionValue *QmlJS::value_cast(const Value *v)

### const Reference *QmlJS::value_cast(const Value *v)

### const ColorValue *QmlJS::value_cast(const Value *v)

### const AnchorLineValue *QmlJS::value_cast(const Value *v)

### const CppComponentValue *QmlJS::value_cast(const Value *v)

### const ASTObjectValue *QmlJS::value_cast(const Value *v)

### const QmlEnumValue *QmlJS::value_cast(const Value *v)

### const QmlPrototypeReference *QmlJS::value_cast(const Value *v)

### const ASTPropertyReference *QmlJS::value_cast(const Value *v)

### const Internal::QtObjectPrototypeReference *QmlJS::value_cast(const Value *v)

### const ASTVariableReference *QmlJS::value_cast(const Value *v)

### const Function *QmlJS::value_cast(const Value *v)

### const MetaFunction *QmlJS::value_cast(const Value *v)

### const JSImportScope *QmlJS::value_cast(const Value *v)

### const TypeScope *QmlJS::value_cast(const Value *v)

### const ASTSignal *QmlJS::value_cast(const Value *v)

### bool QmlJS::operator!=(const ImportMatchStrength &m1, const ImportMatchStrength &m2)

### bool QmlJS::operator!=(const ImportKey &i1, const ImportKey &i2)

### bool QmlJS::operator!=(const Export &i1, const Export &i2)

### bool QmlJS::operator!=(const MatchedImport &m1, const MatchedImport &m2)

### bool QmlJS::operator<(const ImportMatchStrength &m1, const ImportMatchStrength &m2)

### bool QmlJS::operator<(const ImportKey &i1, const ImportKey &i2)

### bool QmlJS::operator<(const MatchedImport &m1, const MatchedImport &m2)

### QMLJS_EXPORT QmlJS::operator<<(QDebug &dbg, const Dialect &dialect)

### QMLJS_EXPORT QmlJS::operator<<(QDebug &dbg, const PathAndLanguage &pathAndLanguage)

### bool QmlJS::operator==(const ImportMatchStrength &m1, const ImportMatchStrength &m2)

### bool QmlJS::operator==(const ImportKey &i1, const ImportKey &i2)

### bool QmlJS::operator==(const Export &i1, const Export &i2)

### bool QmlJS::operator==(const MatchedImport &m1, const MatchedImport &m2)