![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#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 |
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 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.
Scope::Scope | ( | Scope * | sscope = nullptr | ) |
Definition at line 40 of file glslsymbol.cpp.
Implemented in GLSL::Block, GLSL::Function, GLSL::Namespace, GLSL::OverloadSet, GLSL::Struct, and GLSL::VectorType.
|
inlineoverridevirtual |
Reimplemented from GLSL::Symbol.
Definition at line 67 of file glslsymbol_p.h.
Implemented in GLSL::Block, GLSL::Function, GLSL::Namespace, GLSL::OverloadSet, GLSL::Struct, and GLSL::VectorType.
Definition at line 45 of file glslsymbol.cpp.
Reimplemented in GLSL::Block, GLSL::Function, GLSL::Namespace, GLSL::Struct, and GLSL::VectorType.
Definition at line 55 of file glslsymbol.cpp.