Engine Class

(QmlJS::QmlJS::Engine)

Public Functions

Engine()
~Engine()
void addComment(int pos, int len, int line, int col)
const QmlJS::QString &code() const
QList<AST::SourceLocation> comments() const
QmlJS::QmlJS::Directives *directives() const
QmlJS::QmlJS::Lexer *lexer() const
QmlJS::QStringRef midRef(int position, int size)
QmlJS::QStringRef newStringRef(const QmlJS::QString &s)
QmlJS::QStringRef newStringRef(const QmlJS::QChar *chars, int size)
QmlJS::QmlJS::MemoryPool *pool()
void setCode(const QmlJS::QString &code)
void setDirectives(QmlJS::QmlJS::Directives *directives)
void setLexer(QmlJS::QmlJS::Lexer *lexer)

Member Function Documentation

Engine::Engine()

Default constructs an instance of Engine.

Engine::~Engine()

Destroys the instance of Engine.

void Engine::addComment(int pos, int len, int line, int col)

const QmlJS::QString &Engine::code() const

See also setCode().

QList<AST::SourceLocation> Engine::comments() const

QmlJS::QmlJS::Directives *Engine::directives() const

See also setDirectives().

QmlJS::QmlJS::Lexer *Engine::lexer() const

See also setLexer().

QmlJS::QStringRef Engine::midRef(int position, int size)

QmlJS::QStringRef Engine::newStringRef(const QmlJS::QString &s)

QmlJS::QStringRef Engine::newStringRef(const QmlJS::QChar *chars, int size)

QmlJS::QmlJS::MemoryPool *Engine::pool()

void Engine::setCode(const QmlJS::QString &code)

See also code().

void Engine::setDirectives(QmlJS::QmlJS::Directives *directives)

See also directives().

void Engine::setLexer(QmlJS::QmlJS::Lexer *lexer)

See also lexer().