4#ifndef QSSG_GLSLTYPES_H
5#define QSSG_GLSLTYPES_H
18#include <QtQuick3DGlslParser/private/glsltype_p.h>
19#include <QtQuick3DGlslParser/private/glslsymbol_p.h>
40 bool isEqualTo(
const Type *
other)
const override;
41 bool isLessThan(
const Type *
other)
const override;
49 bool isEqualTo(
const Type *
other)
const override;
50 bool isLessThan(
const Type *
other)
const override;
58 bool isEqualTo(
const Type *
other)
const override;
59 bool isLessThan(
const Type *
other)
const override;
67 bool isEqualTo(
const Type *
other)
const override;
68 bool isLessThan(
const Type *
other)
const override;
76 bool isEqualTo(
const Type *
other)
const override;
77 bool isLessThan(
const Type *
other)
const override;
85 bool isEqualTo(
const Type *
other)
const override;
86 bool isLessThan(
const Type *
other)
const override;
94 bool isEqualTo(
const Type *
other)
const override;
95 bool isLessThan(
const Type *
other)
const override;
102 IndexType(
const Type *indexElementType) : _indexElementType(indexElementType) {}
109 const Type *_indexElementType;
116 :
IndexType(elementType), _dimension(dimension) {}
129 bool isEqualTo(
const Type *
other)
const override;
130 bool isLessThan(
const Type *
other)
const override;
146 :
IndexType(columnType), _elementType(elementType), _columns(columns), _rows(rows) {}
151 int rows()
const {
return _rows; }
155 bool isEqualTo(
const Type *
other)
const override;
156 bool isLessThan(
const Type *
other)
const override;
159 const Type *_elementType;
174 bool isEqualTo(
const Type *
other)
const override;
175 bool isLessThan(
const Type *
other)
const override;
191 bool isEqualTo(
const Type *
other)
const override;
192 bool isLessThan(
const Type *
other)
const override;
208 const Type *returnType()
const;
209 void setReturnType(
const Type *returnType);
213 int argumentCount()
const;
220 bool isEqualTo(
const Type *
other)
const override;
221 bool isLessThan(
const Type *
other)
const override;
238 const Type *_returnType;
248 int kind()
const {
return _kind; }
252 bool isEqualTo(
const Type *
other)
const override;
253 bool isLessThan(
const Type *
other)
const override;
276 bool isEqualTo(
const Type *
other)
const override;
277 bool isLessThan(
const Type *
other)
const override;
const ArrayType * asArrayType() const override
ArrayType(const Type *elementType)
const Type * elementType() const
const BoolType * asBoolType() const override
QString toString() const override
const DoubleType * asDoubleType() const override
QString toString() const override
QString toString() const override
const FloatType * asFloatType() const override
void add(Symbol *symbol) override
Function(Scope *scope=nullptr)
const Type * type() const override
Function * asFunction() override
const Function * asFunctionType() const override
const IndexType * asIndexType() const override
IndexType(const Type *indexElementType)
const Type * indexElementType() const
QString toString() const override
const IntType * asIntType() const override
const Type * columnType() const
const MatrixType * asMatrixType() const override
MatrixType(const Type *elementType, int columns, int rows, const Type *columnType)
const Type * elementType() const
OverloadSet * asOverloadSet() override
const OverloadSet * asOverloadSetType() const override
QString toString() const override
const SamplerType * asSamplerType() const override
const ScalarType * asScalarType() const override
const Type * type() const override
const Struct * asStructType() const override
Struct * asStruct() override
Struct(Scope *scope=nullptr)
QString toString() const override
virtual Argument * asArgument()
QString toString() const override
const UIntType * asUIntType() const override
QString toString() const override
const UndefinedType * asUndefinedType() const override
const VectorType * asVectorType() const override
VectorType(const Type *elementType, int dimension)
QList< Symbol * > members() const override
const Type * type() const override
const Type * elementType() const
QString toString() const override
const VoidType * asVoidType() const override
\macro QT_RESTRICTED_CAST_FROM_ASCII
QList< QVariant > arguments
Combined button and popup list for selecting options.
DBusConnection const char DBusError DBusBusType DBusError return DBusConnection DBusHandleMessageFunction function
static QString addFunction(const FunctionDef &mm, bool isSignal=false)
GLint GLenum GLint components
static void add(QPainterPath &path, const QWingedEdge &list, int edge, QPathEdge::Traversal traversal)
QCborArray members(const QCborMap *classDef, QLatin1StringView key, QTypeRevision maxMajorVersion, Postprocess &&process)
QLatin1StringView QLatin1String
char * toString(const MyType &t)
[31]