Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
GLSL::Namespace Class Reference

#include <glslsymbols_p.h>

Inheritance diagram for GLSL::Namespace:
Collaboration diagram for GLSL::Namespace:

Public Member Functions

 Namespace ()
 ~Namespace () override
void add (Symbol *symbol) override
Namespace * asNamespace () override
QList< Symbol * > members () const override
const Type * type () const override
Symbol * find (const QString &name) const override
Public Member Functions inherited from GLSL::Scope
 Scope (Scope *sscope=nullptr)
Symbol * lookup (const QString &name) const
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 ()

Detailed Description

Definition at line 79 of file glslsymbols_p.h.

Constructor & Destructor Documentation

◆ Namespace()

Namespace::Namespace ( )

Definition at line 73 of file glslsymbols.cpp.

◆ ~Namespace()

Namespace::~Namespace ( )
override

Definition at line 77 of file glslsymbols.cpp.

Member Function Documentation

◆ add()

void Namespace::add ( Symbol * symbol)
overridevirtual

Implements GLSL::Scope.

Definition at line 87 of file glslsymbols.cpp.

◆ asNamespace()

Namespace * GLSL::Namespace::asNamespace ( )
inlineoverridevirtual

Reimplemented from GLSL::Symbol.

Definition at line 87 of file glslsymbols_p.h.

◆ find()

Symbol * Namespace::find ( const QString & name) const
overridevirtual

Implements GLSL::Scope.

Definition at line 115 of file glslsymbols.cpp.

◆ members()

QList< Symbol * > Namespace::members ( ) const
overridevirtual

Reimplemented from GLSL::Scope.

Definition at line 82 of file glslsymbols.cpp.

◆ type()

const Type * Namespace::type ( ) const
overridevirtual

Implements GLSL::Symbol.

Definition at line 110 of file glslsymbols.cpp.


The documentation for this class was generated from the following files: