Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qmlcodeparser.cpp File Reference

(5212645b4665917019a96ba873d9e98c1a136b5f)

#include "qmlcodeparser.h"
#include "node.h"
#include "qmlvisitor.h"
#include "utilities.h"
#include <private/qqmljsast_p.h>
#include <qdebug.h>
+ Include dependency graph for qmlcodeparser.cpp:

Go to the source code of this file.

Functions

void replaceWithSpace (QString &str, int idx, int n)
 Copy and paste from src/declarative/qml/qdeclarativescriptparser.cpp.
 

Function Documentation

◆ replaceWithSpace()

void replaceWithSpace ( QString & str,
int idx,
int n )

Copy and paste from src/declarative/qml/qdeclarativescriptparser.cpp.

This function blanks out the section of the str beginning at idx and running for n characters.

Definition at line 87 of file qmlcodeparser.cpp.

Referenced by QmlCodeParser::extractPragmas().

+ Here is the caller graph for this function: