class VariableScope

Declaration

template <class Emitter>
class VariableScope { /* full declaration omitted */ };

Description

Scope chain managing the variable lifetimes.

Declared at: clang/lib/AST/Interp/ByteCodeExprGen.h:239

Templates

Emitter

Member Variables

protected ByteCodeExprGen<Emitter>* Ctx
ByteCodeExprGen instance.
protected VariableScope<Emitter>* Parent
Link to the parent scope.

Method Overview

Methods

VariableScope<Emitter>(
    ByteCodeExprGen<Emitter>* Ctx)

Declared at: clang/lib/AST/Interp/ByteCodeExprGen.h:265

Parameters

ByteCodeExprGen<Emitter>* Ctx

void add(const Scope::Local& Local,
         bool IsExtended)

Declared at: clang/lib/AST/Interp/ByteCodeExprGen.h:243

Parameters

const Scope::Local& Local
bool IsExtended

virtual void addExtended(
    const Scope::Local& Local)

Declared at: clang/lib/AST/Interp/ByteCodeExprGen.h:255

Parameters

const Scope::Local& Local

virtual void addLocal(const Scope::Local& Local)

Declared at: clang/lib/AST/Interp/ByteCodeExprGen.h:250

Parameters

const Scope::Local& Local

virtual void emitDestruction()

Declared at: clang/lib/AST/Interp/ByteCodeExprGen.h:260

VariableScope<Emitter>* getParent()

Declared at: clang/lib/AST/Interp/ByteCodeExprGen.h:262

virtual ~VariableScope<Emitter>()

Declared at: clang/lib/AST/Interp/ByteCodeExprGen.h:241