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
PragmaInfo Struct Reference

Container for the result of processing a pragma declaration. More...

Collaboration diagram for PragmaInfo:

Public Attributes

QString value
qsizetype startOffset
qsizetype length
int nextToken

Detailed Description

Container for the result of processing a pragma declaration.

\list

  • value contains the pragma value (e.g., "library", "singleton").
  • startOffset is the start position in script to replace.
  • length is the length of text to replace.
  • nextToken holds the next token after the pragma. \list

Definition at line 113 of file qmlcodeparser.cpp.

Member Data Documentation

◆ length

qsizetype PragmaInfo::length

◆ nextToken

int PragmaInfo::nextToken

Definition at line 117 of file qmlcodeparser.cpp.

◆ startOffset

qsizetype PragmaInfo::startOffset

Definition at line 115 of file qmlcodeparser.cpp.

◆ value

QString PragmaInfo::value

Definition at line 114 of file qmlcodeparser.cpp.


The documentation for this struct was generated from the following file: