CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
ControlPathAnalyzer.hpp
Go to the documentation of this file.
1//
2// CeresEngine - A game development framework
3//
4// Created by Rogiel Sulzbach.
5// Copyright (c) 2018-2022 Rogiel Sulzbach. All rights reserved.
6//
7
8#pragma once
9
10#include "Visitor.hpp"
11
13
15
58
59} // namespace CeresEngine::ShaderCompiler
#define DECLARATION_VISIT_PROC(CLASS_NAME)
Definition Visitor.hpp:88
Control path analyzer (must implement visitors for all statements).
Definition ControlPathAnalyzer.hpp:21
void markControlPathsFromFunction(FunctionDeclaration &funcDeclaration)
void visitStatementList(const Vector< StatementPtr > &statements)
Stack< bool > mReturnPathStack
Definition ControlPathAnalyzer.hpp:23
Definition Visitor.hpp:92
Definition AST.hpp:33
std::stack< T, Container > Stack
The Stack class is a container adapter that gives the programmer the functionality of a stack - speci...
Definition Stack.hpp:18
std::vector< T, ScopedAllocatorAdaptor< StdAllocator< T, RawAllocator > > > Vector
Vector is a sequence container that encapsulates dynamic size arrays.
Definition Vector.hpp:17
constexpr size_t hash(const T &v)
Generates a hash for the provided type.
Definition Hash.hpp:25