![]() |
Qt 6.x
The Qt SDK
|
#include <glsltypes_p.h>
Public Member Functions | |
Struct (Scope *scope=nullptr) | |
QList< Symbol * > | members () const override |
void | add (Symbol *member) override |
Symbol * | find (const QString &name) const override |
QString | toString () const override |
const Struct * | asStructType () const override |
bool | isEqualTo (const Type *other) const override |
bool | isLessThan (const Type *other) const override |
Struct * | asStruct () override |
const Type * | type () const override |
![]() | |
virtual | ~Type () |
virtual QString | toString () const =0 |
virtual const UndefinedType * | asUndefinedType () const |
virtual const VoidType * | asVoidType () const |
virtual const BoolType * | asBoolType () const |
virtual const IntType * | asIntType () const |
virtual const UIntType * | asUIntType () const |
virtual const FloatType * | asFloatType () const |
virtual const DoubleType * | asDoubleType () const |
virtual const ScalarType * | asScalarType () const |
virtual const IndexType * | asIndexType () const |
virtual const VectorType * | asVectorType () const |
virtual const MatrixType * | asMatrixType () const |
virtual const ArrayType * | asArrayType () const |
virtual const SamplerType * | asSamplerType () const |
virtual const OverloadSet * | asOverloadSetType () const |
virtual const Struct * | asStructType () const |
virtual const Function * | asFunctionType () const |
virtual bool | isEqualTo (const Type *other) const =0 |
virtual bool | isLessThan (const Type *other) const =0 |
![]() | |
Scope (Scope *sscope=nullptr) | |
Symbol * | lookup (const QString &name) const |
virtual QList< Symbol * > | members () const |
virtual void | add (Symbol *symbol)=0 |
virtual Symbol * | find (const QString &name) const =0 |
Scope * | asScope () override |
![]() | |
Symbol (Scope *scope=nullptr) | |
virtual | ~Symbol () |
Scope * | scope () const |
void | setScope (Scope *scope) |
QString | name () const |
void | setName (const QString &name) |
virtual Scope * | asScope () |
virtual Struct * | asStruct () |
virtual Function * | asFunction () |
virtual Argument * | asArgument () |
virtual Block * | asBlock () |
virtual Variable * | asVariable () |
virtual OverloadSet * | asOverloadSet () |
virtual Namespace * | asNamespace () |
virtual const Type * | type () const =0 |
Definition at line 178 of file glsltypes_p.h.
Definition at line 181 of file glsltypes_p.h.
Implements GLSL::Scope.
Definition at line 320 of file glsltypes.cpp.
|
inlineoverridevirtual |
Reimplemented from GLSL::Symbol.
Definition at line 195 of file glsltypes_p.h.
Referenced by GLSL::Semantic::visit().
|
inlineoverridevirtual |
Reimplemented from GLSL::Type.
Definition at line 190 of file glsltypes_p.h.
Implements GLSL::Scope.
Definition at line 325 of file glsltypes.cpp.
|
overridevirtual |
Implements GLSL::Type.
Definition at line 334 of file glsltypes.cpp.
References other(), and Q_UNUSED.
|
overridevirtual |
Implements GLSL::Type.
Definition at line 340 of file glsltypes.cpp.
References other(), and Q_UNUSED.
Reimplemented from GLSL::Scope.
Definition at line 310 of file glsltypes.cpp.
|
inlineoverridevirtual |
Implements GLSL::Type.
Definition at line 189 of file glsltypes_p.h.
|
inlineoverridevirtual |
Implements GLSL::Symbol.
Definition at line 196 of file glsltypes_p.h.