![]() |
Qt 6.x
The Qt SDK
|
#include <glsltypes_p.h>
Public Member Functions | |
OverloadSet (Scope *enclosingScope=nullptr) | |
QVector< Function * > | functions () const |
void | addFunction (Function *function) |
OverloadSet * | asOverloadSet () override |
const Type * | type () const override |
Symbol * | find (const QString &name) const override |
void | add (Symbol *symbol) override |
QString | toString () const override |
const OverloadSet * | asOverloadSetType () const override |
bool | isEqualTo (const Type *other) const override |
bool | isLessThan (const Type *other) 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 259 of file glsltypes_p.h.
Definition at line 454 of file glsltypes.cpp.
Implements GLSL::Scope.
Definition at line 479 of file glsltypes.cpp.
References addFunction(), GLSL::Symbol::asFunction(), and fun.
Definition at line 464 of file glsltypes.cpp.
References function.
Referenced by add().
|
inlineoverridevirtual |
Reimplemented from GLSL::Symbol.
Definition at line 268 of file glsltypes_p.h.
|
inlineoverridevirtual |
Reimplemented from GLSL::Type.
Definition at line 275 of file glsltypes_p.h.
Referenced by GLSL::Semantic::visit().
Implements GLSL::Scope.
Definition at line 474 of file glsltypes.cpp.
Definition at line 459 of file glsltypes.cpp.
|
overridevirtual |
Implements GLSL::Type.
Definition at line 487 of file glsltypes.cpp.
References other(), and Q_UNUSED.
|
overridevirtual |
Implements GLSL::Type.
Definition at line 493 of file glsltypes.cpp.
References other(), and Q_UNUSED.
|
inlineoverridevirtual |
Implements GLSL::Type.
Definition at line 274 of file glsltypes_p.h.
|
overridevirtual |
Implements GLSL::Symbol.
Definition at line 469 of file glsltypes.cpp.