![]() |
Qt 6.x
The Qt SDK
|
#include <glslsymbol_p.h>
Public Member Functions | |
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 28 of file glslsymbol_p.h.
Definition at line 11 of file glslsymbol.cpp.
|
virtual |
Definition at line 16 of file glslsymbol.cpp.
|
inlinevirtual |
Reimplemented in GLSL::Argument.
Definition at line 43 of file glslsymbol_p.h.
Referenced by GLSL::Function::add().
|
inlinevirtual |
Reimplemented in GLSL::Block.
Definition at line 44 of file glslsymbol_p.h.
|
inlinevirtual |
Reimplemented in GLSL::Function.
Definition at line 42 of file glslsymbol_p.h.
Referenced by GLSL::Namespace::add(), and GLSL::OverloadSet::add().
|
inlinevirtual |
Reimplemented in GLSL::Namespace.
Definition at line 47 of file glslsymbol_p.h.
|
inlinevirtual |
Reimplemented in GLSL::OverloadSet.
Definition at line 46 of file glslsymbol_p.h.
Referenced by GLSL::Namespace::add().
|
inlinevirtual |
Reimplemented in GLSL::Scope.
Definition at line 40 of file glslsymbol_p.h.
|
inlinevirtual |
Reimplemented in GLSL::Struct.
Definition at line 41 of file glslsymbol_p.h.
|
inlinevirtual |
Reimplemented in GLSL::Variable.
Definition at line 45 of file glslsymbol_p.h.
QString Symbol::name | ( | ) | const |
Definition at line 30 of file glslsymbol.cpp.
Referenced by GLSL::Block::add(), GLSL::Namespace::add(), GLSL::VectorType::add(), GLSL::Function::prettyPrint(), and setName().
Scope * Symbol::scope | ( | ) | const |
Definition at line 20 of file glslsymbol.cpp.
Referenced by GLSL::Scope::lookup(), and setScope().
Definition at line 35 of file glslsymbol.cpp.
References name().
Referenced by GLSL::Semantic::visit().
Definition at line 25 of file glslsymbol.cpp.
References scope().
|
pure virtual |
Implemented in GLSL::Argument, GLSL::Variable, GLSL::Block, GLSL::Namespace, GLSL::VectorType, GLSL::Struct, GLSL::Function, and GLSL::OverloadSet.