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::Argument Class Reference

#include <glslsymbols_p.h>

+ Inheritance diagram for GLSL::Argument:
+ Collaboration diagram for GLSL::Argument:

Public Member Functions

 Argument (Function *scope)
 
const Typetype () const override
 
void setType (const Type *type)
 
ArgumentasArgument () 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 ScopeasScope ()
 
virtual StructasStruct ()
 
virtual FunctionasFunction ()
 
virtual BlockasBlock ()
 
virtual VariableasVariable ()
 
virtual OverloadSetasOverloadSet ()
 
virtual NamespaceasNamespace ()
 

Detailed Description

Definition at line 28 of file glslsymbols_p.h.

Constructor & Destructor Documentation

◆ Argument()

Argument::Argument ( Function * scope)

Definition at line 12 of file glslsymbols.cpp.

Member Function Documentation

◆ asArgument()

Argument * GLSL::Argument::asArgument ( )
inlineoverridevirtual

Reimplemented from GLSL::Symbol.

Definition at line 36 of file glslsymbols_p.h.

◆ setType()

void Argument::setType ( const Type * type)

Definition at line 23 of file glslsymbols.cpp.

References type().

+ Here is the call graph for this function:

◆ type()

const Type * GLSL::Argument::type ( ) const
overridevirtual

Implements GLSL::Symbol.

Referenced by setType().

+ Here is the caller graph for this function:

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