Bind Class
(QmlJS::Bind)The Bind class collects information about a single Document. More...
Header: | #include <Bind> |
Inherits: | QmlJS::AST::Visitor (protected) |
Protected Functions
void | accept(AST::Node *node) |
QmlJS::ObjectValue * | bindObject(AST::UiQualifiedId *qualifiedTypeNameId, AST::UiObjectInitializer *initializer) |
QmlJS::ObjectValue * | switchObjectValue(QmlJS::ObjectValue *newObjectValue) |
Reimplemented Protected Functions
virtual bool | visit(AST::UiProgram *ast) override |
virtual bool | visit(AST::Program *ast) override |
virtual bool | visit(AST::UiImport *ast) override |
virtual bool | visit(AST::UiPublicMember *ast) override |
virtual bool | visit(AST::UiObjectDefinition *ast) override |
virtual bool | visit(AST::UiObjectBinding *ast) override |
virtual bool | visit(AST::UiScriptBinding *ast) override |
virtual bool | visit(AST::UiArrayBinding *ast) override |
virtual bool | visit(AST::FunctionDeclaration *ast) override |
virtual bool | visit(AST::FunctionExpression *ast) override |
virtual bool | visit(AST::VariableDeclaration *ast) override |
Additional Inherited Members
- 190 public functions inherited from QmlJS::AST::Visitor
Detailed Description
The Bind class collects information about a single Document.
Each Document owns an instance of Bind. It provides access to data that can be derived by looking at the document in isolation. If you need information that goes beyond that, you need to use a Context.
The document's imports are classified and available through imports().
This class makes the structural information found in the AST available for analysis through Value instances. See findQmlObject(), idEnvironment(), rootObjectValue() and findAttachedJSScope().
See also Document and Context.