![]() |
Qt 6.x
The Qt SDK
|
#include <glslsymbol_p.h>
Public Member Functions | |
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 56 of file glslsymbol_p.h.
Definition at line 40 of file glslsymbol.cpp.
Implemented in GLSL::Struct, GLSL::Block, GLSL::Namespace, GLSL::VectorType, GLSL::Function, and GLSL::OverloadSet.
Referenced by GLSL::Semantic::visit().
|
inlineoverridevirtual |
Reimplemented from GLSL::Symbol.
Definition at line 67 of file glslsymbol_p.h.
Implemented in GLSL::Block, GLSL::Namespace, GLSL::VectorType, GLSL::Struct, GLSL::Function, and GLSL::OverloadSet.
Referenced by lookup().
Definition at line 45 of file glslsymbol.cpp.
References find(), and GLSL::Symbol::scope().
Referenced by GLSL::Semantic::functionIdentifier(), GLSL::Semantic::visit(), and GLSL::Semantic::visit().
Reimplemented in GLSL::Block, GLSL::Namespace, GLSL::VectorType, GLSL::Struct, and GLSL::Function.
Definition at line 55 of file glslsymbol.cpp.