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::Symbol Class Referenceabstract

#include <glslsymbol_p.h>

Inheritance diagram for GLSL::Symbol:
Collaboration diagram for GLSL::Symbol:

Public Member Functions

 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 ArgumentasArgument ()
virtual BlockasBlock ()
virtual VariableasVariable ()
virtual OverloadSetasOverloadSet ()
virtual NamespaceasNamespace ()
virtual const Typetype () const =0

Detailed Description

Definition at line 28 of file glslsymbol_p.h.

Constructor & Destructor Documentation

◆ Symbol()

Symbol::Symbol ( Scope * scope = nullptr)

Definition at line 11 of file glslsymbol.cpp.

◆ ~Symbol()

Symbol::~Symbol ( )
virtual

Definition at line 16 of file glslsymbol.cpp.

Member Function Documentation

◆ asArgument()

virtual Argument * GLSL::Symbol::asArgument ( )
inlinevirtual

Reimplemented in GLSL::Argument.

Definition at line 43 of file glslsymbol_p.h.

◆ asBlock()

virtual Block * GLSL::Symbol::asBlock ( )
inlinevirtual

Reimplemented in GLSL::Block.

Definition at line 44 of file glslsymbol_p.h.

◆ asFunction()

virtual Function * GLSL::Symbol::asFunction ( )
inlinevirtual

Reimplemented in GLSL::Function.

Definition at line 42 of file glslsymbol_p.h.

◆ asNamespace()

virtual Namespace * GLSL::Symbol::asNamespace ( )
inlinevirtual

Reimplemented in GLSL::Namespace.

Definition at line 47 of file glslsymbol_p.h.

◆ asOverloadSet()

virtual OverloadSet * GLSL::Symbol::asOverloadSet ( )
inlinevirtual

Reimplemented in GLSL::OverloadSet.

Definition at line 46 of file glslsymbol_p.h.

◆ asScope()

virtual Scope * GLSL::Symbol::asScope ( )
inlinevirtual

Reimplemented in GLSL::Scope.

Definition at line 40 of file glslsymbol_p.h.

◆ asStruct()

virtual Struct * GLSL::Symbol::asStruct ( )
inlinevirtual

Reimplemented in GLSL::Struct.

Definition at line 41 of file glslsymbol_p.h.

◆ asVariable()

virtual Variable * GLSL::Symbol::asVariable ( )
inlinevirtual

Reimplemented in GLSL::Variable.

Definition at line 45 of file glslsymbol_p.h.

◆ name()

QString Symbol::name ( ) const

Definition at line 30 of file glslsymbol.cpp.

◆ scope()

Scope * Symbol::scope ( ) const

Definition at line 20 of file glslsymbol.cpp.

◆ setName()

void Symbol::setName ( const QString & name)

Definition at line 35 of file glslsymbol.cpp.

◆ setScope()

void Symbol::setScope ( Scope * scope)

Definition at line 25 of file glslsymbol.cpp.

◆ type()

virtual const Type * GLSL::Symbol::type ( ) const
pure virtual

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