Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
GLSL::Block Class Reference

#include <glslsymbols_p.h>

+ Inheritance diagram for GLSL::Block:
+ Collaboration diagram for GLSL::Block:

Public Member Functions

 Block (Scope *enclosingScope=nullptr)
 
QList< Symbol * > members () const override
 
void add (Symbol *symbol) override
 
BlockasBlock () override
 
const Typetype () const override
 
Symbolfind (const QString &name) const override
 
- Public Member Functions inherited from GLSL::Scope
 Scope (Scope *sscope=nullptr)
 
Symbollookup (const QString &name) const
 
ScopeasScope () override
 
- Public Member Functions inherited from GLSL::Symbol
 Symbol (Scope *scope=nullptr)
 
virtual ~Symbol ()
 
Scopescope () const
 
void setScope (Scope *scope)
 
QString name () const
 
void setName (const QString &name)
 
virtual StructasStruct ()
 
virtual FunctionasFunction ()
 
virtual ArgumentasArgument ()
 
virtual VariableasVariable ()
 
virtual OverloadSetasOverloadSet ()
 
virtual NamespaceasNamespace ()
 

Detailed Description

Definition at line 60 of file glslsymbols_p.h.

Constructor & Destructor Documentation

◆ Block()

Block::Block ( Scope * enclosingScope = nullptr)

Definition at line 28 of file glslsymbols.cpp.

Member Function Documentation

◆ add()

void Block::add ( Symbol * symbol)
overridevirtual

Implements GLSL::Scope.

Definition at line 38 of file glslsymbols.cpp.

References GLSL::Symbol::name().

+ Here is the call graph for this function:

◆ asBlock()

Block * GLSL::Block::asBlock ( )
inlineoverridevirtual

Reimplemented from GLSL::Symbol.

Definition at line 68 of file glslsymbols_p.h.

◆ find()

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

Implements GLSL::Scope.

Definition at line 49 of file glslsymbols.cpp.

◆ members()

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

Reimplemented from GLSL::Scope.

Definition at line 33 of file glslsymbols.cpp.

◆ type()

const Type * Block::type ( ) const
overridevirtual

Implements GLSL::Symbol.

Definition at line 43 of file glslsymbols.cpp.


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