37 const auto other_begin =
other.array.cbegin() +
other.from;
38 return std::equal(
begin,
end, other_begin);
53 static LexemStore lexemStore;
145 while (stackPos >= 0 &&
at(stackPos).
index >=
at(stackPos).symbols.size())
159 return name == sf.expandedMacro || sf.excludedSymbols.contains(
name);
161 return std::any_of(
cbegin(),
cend(), matchesName);
168 set << sf.expandedMacro;
169 set += sf.excludedSymbols;
qsizetype length() const noexcept
Same as size().
QByteArray & insert(qsizetype i, QByteArrayView data)
QByteArray mid(qsizetype index, qsizetype len=-1) const
Returns a byte array containing len bytes from this byte array, starting at position pos.
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
const_iterator constEnd() const noexcept
const_iterator constFind(const T &value) const
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
QSet< QString >::iterator it
Combined button and popup list for selecting options.
GLboolean GLboolean GLboolean GLboolean a
[7]
GLenum GLuint GLintptr GLsizeiptr size
[1]
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)