Document Class
(Debugger::QmlJS::Document)Public Types
typedef | MutablePtr |
typedef | Ptr |
Public Functions
~Document() | |
AST::Node * | ast() const |
Debugger::QmlJS::Bind * | bind() const |
Debugger::QString | componentName() const |
QList<Debugger::QmlJS::DiagnosticMessage> | diagnosticMessages() const |
int | editorRevision() const |
const QmlJS::Engine * | engine() const |
AST::ExpressionNode * | expression() const |
Debugger::QString | fileName() const |
Debugger::QByteArray | fingerprint() const |
Debugger::QString | importId() const |
bool | isParsedCorrectly() const |
bool | isQmlDocument() const |
QList<AST::SourceLocation> | jsDirectives() const |
AST::Program * | jsProgram() const |
int | language() const |
bool | parse() |
bool | parseExpression() |
bool | parseJavaScript() |
bool | parseQml() |
Debugger::QString | path() const |
Document::Ptr | ptr() const |
AST::UiProgram * | qmlProgram() const |
void | setEditorRevision(int revision) |
void | setLanguage(int l) |
void | setSource(const Debugger::QString &source) |
Debugger::QString | source() const |
Static Public Members
Debugger::QmlJS::Document::MutablePtr | create(const Debugger::QString &fileName, int language) |
Protected Functions
Document(const Debugger::QString &fileName, int language) |
Member Function Documentation
[protected]
Document::Document(const Debugger::QString &fileName, int language)
Default constructs an instance of Document.
Document::~Document()
Destroys the instance of Document.
AST::Node *Document::ast() const
Debugger::QmlJS::Bind *Document::bind() const
Debugger::QString Document::componentName() const
[static]
Debugger::QmlJS::Document::MutablePtr Document::create(const Debugger::QString &fileName, int language)
QList<Debugger::QmlJS::DiagnosticMessage> Document::diagnosticMessages() const
int Document::editorRevision() const
See also setEditorRevision().
const QmlJS::Engine *Document::engine() const
AST::ExpressionNode *Document::expression() const
Debugger::QString Document::fileName() const
Debugger::QByteArray Document::fingerprint() const
Debugger::QString Document::importId() const
bool Document::isParsedCorrectly() const
bool Document::isQmlDocument() const
QList<AST::SourceLocation> Document::jsDirectives() const
AST::Program *Document::jsProgram() const
int Document::language() const
See also setLanguage().
bool Document::parse()
bool Document::parseExpression()
bool Document::parseJavaScript()
bool Document::parseQml()
Debugger::QString Document::path() const
Document::Ptr Document::ptr() const
AST::UiProgram *Document::qmlProgram() const
void Document::setEditorRevision(int revision)
See also editorRevision().
void Document::setLanguage(int l)
See also language().
void Document::setSource(const Debugger::QString &source)
See also source().
Debugger::QString Document::source() const
See also setSource().