35 const auto other_begin =
other.array.cbegin() +
other.from;
36 return std::equal(
begin,
end, other_begin);
111 while (stackPos >= 0 &&
at(stackPos).
index >=
at(stackPos).symbols.size())
125 return name == sf.expandedMacro || sf.excludedSymbols.contains(
name);
127 return std::any_of(
cbegin(),
cend(), matchesName);
132 QSet<QByteArray>
set;
134 set << sf.expandedMacro;
135 set += sf.excludedSymbols;
QByteArray mid(qsizetype index, qsizetype len=-1) const &
qsizetype size() const noexcept
bool isEmpty() const noexcept
const_reference at(qsizetype i) const noexcept
const_iterator cend() const noexcept
const_iterator cbegin() const noexcept
SafeSymbols & top()
Returns a reference to the stack's top item.
SafeSymbols pop()
Removes the top item from the stack and returns it.
QSet< QByteArray > excludeSymbols() const
QByteArray unquotedLexem()
const Symbol & symbol() const
bool dontReplaceSymbol(const QByteArray &name) const
Combined button and popup list for selecting options.
GLboolean GLboolean GLboolean GLboolean a
[7]
GLenum GLuint GLintptr GLsizeiptr size
[1]
static Q_CONSTINIT QBasicAtomicInteger< unsigned > seed
QtPrivate::QRegularExpressionMatchIteratorRangeBasedForIterator begin(const QRegularExpressionMatchIterator &iterator)
#define Q_DECLARE_TYPEINFO(TYPE, FLAGS)
QFuture< QSet< QChar > > set
[10]
QSet< QByteArray > excludedSymbols
bool operator==(const SubArray &other) const
SubArray(const QByteArray &a)
SubArray(const QByteArray &a, qsizetype from, qsizetype len)
Symbol(int lineNum, Token token)
bool operator==(const Symbol &o) const
Symbol(int lineNum, Token token, const QByteArray &lexem, qsizetype from, qsizetype len)
QByteArray unquotedLexem() const
Symbol(int lineNum, Token token, const QByteArray &lexem)
size_t qHash(const SubArray &key, size_t seed=0)