![]() |
Qt 6.x
The Qt SDK
|
#include <glslsymbol_p.h>
Inheritance diagram for GLSL::Scope:
Collaboration diagram for GLSL::Scope: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 |
Public Member Functions inherited from GLSL::Symbol | |
| 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().
Here is the caller graph for this function:
|
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().
Here is the caller graph for this function: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().
Here is the call graph for this function:
Here is the caller graph for this function:Reimplemented in GLSL::Block, GLSL::Namespace, GLSL::VectorType, GLSL::Struct, and GLSL::Function.
Definition at line 55 of file glslsymbol.cpp.