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

#include <glslsymbol_p.h>

Inheritance diagram for GLSL::Scope:
Collaboration diagram for GLSL::Scope:

Public Member Functions

 Scope (Scope *sscope=nullptr)
Symbollookup (const QString &name) const
virtual QList< Symbol * > members () const
virtual void add (Symbol *symbol)=0
virtual Symbolfind (const QString &name) const =0
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 BlockasBlock ()
virtual VariableasVariable ()
virtual OverloadSetasOverloadSet ()
virtual NamespaceasNamespace ()
virtual const Typetype () const =0

Detailed Description

Definition at line 56 of file glslsymbol_p.h.

Constructor & Destructor Documentation

◆ Scope()

Scope::Scope ( Scope * sscope = nullptr)

Definition at line 40 of file glslsymbol.cpp.

Member Function Documentation

◆ add()

virtual void GLSL::Scope::add ( Symbol * symbol)
pure virtual

◆ asScope()

Scope * GLSL::Scope::asScope ( )
inlineoverridevirtual

Reimplemented from GLSL::Symbol.

Definition at line 67 of file glslsymbol_p.h.

◆ find()

virtual Symbol * GLSL::Scope::find ( const QString & name) const
pure virtual

◆ lookup()

Symbol * Scope::lookup ( const QString & name) const

Definition at line 45 of file glslsymbol.cpp.

◆ members()

QList< Symbol * > Scope::members ( ) const
virtual

Reimplemented in GLSL::Block, GLSL::Function, GLSL::Namespace, GLSL::Struct, and GLSL::VectorType.

Definition at line 55 of file glslsymbol.cpp.


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