Symphony Of Empires
|
#include <glsl_trans.hpp>
Public Member Functions | |
Context (const std::string &_buffer) | |
~Context ()=default | |
std::string | get_identifier (std::string::iterator &it) |
std::string | get_literal (std::string::iterator &it) |
void | lexer () |
void | parser () |
Parses the current context's tokens and optimizes them. More... | |
std::string | to_text () |
Public Attributes | |
std::vector< int > | line_numbers |
std::vector< Eng3D::GLSL::Type > | types |
std::vector< Eng3D::GLSL::Variable > | vars |
std::vector< Eng3D::GLSL::Function > | funcs |
std::vector< Eng3D::GLSL::Token > | tokens |
std::vector< Eng3D::GLSL::Define > | defines |
std::string | buffer |
Definition at line 108 of file glsl_trans.hpp.
|
inline |
Definition at line 110 of file glsl_trans.hpp.
|
default |
std::string Eng3D::GLSL::Context::get_identifier | ( | std::string::iterator & | it | ) |
Definition at line 31 of file glsl_trans.cpp.
std::string Eng3D::GLSL::Context::get_literal | ( | std::string::iterator & | it | ) |
Definition at line 42 of file glsl_trans.cpp.
void Eng3D::GLSL::Context::lexer | ( | ) |
Definition at line 56 of file glsl_trans.cpp.
void Eng3D::GLSL::Context::parser | ( | ) |
Parses the current context's tokens and optimizes them.
Definition at line 204 of file glsl_trans.cpp.
std::string Eng3D::GLSL::Context::to_text | ( | ) |
std::string Eng3D::GLSL::Context::buffer |
Definition at line 128 of file glsl_trans.hpp.
std::vector<Eng3D::GLSL::Define> Eng3D::GLSL::Context::defines |
Definition at line 127 of file glsl_trans.hpp.
std::vector<Eng3D::GLSL::Function> Eng3D::GLSL::Context::funcs |
Definition at line 125 of file glsl_trans.hpp.
std::vector<int> Eng3D::GLSL::Context::line_numbers |
Definition at line 122 of file glsl_trans.hpp.
std::vector<Eng3D::GLSL::Token> Eng3D::GLSL::Context::tokens |
Definition at line 126 of file glsl_trans.hpp.
std::vector<Eng3D::GLSL::Type> Eng3D::GLSL::Context::types |
Definition at line 123 of file glsl_trans.hpp.
std::vector<Eng3D::GLSL::Variable> Eng3D::GLSL::Context::vars |
Definition at line 124 of file glsl_trans.hpp.