Literal values.
More...
#include <literals.hpp>
add float literal and return value.
add integer liternal and return index.
int Compiler::Literals::addString |
( |
const std::string & |
value | ) |
|
add string literal and return value.
Apepnd literal blocks to code.
- Note
- code blocks will be padded for 32-bit alignment.
void Compiler::Literals::clear |
( |
| ) |
|
int Compiler::Literals::getFloatSize |
( |
| ) |
const |
Return size of float block (in bytes).
int Compiler::Literals::getIntegerSize |
( |
| ) |
const |
Return size of integer block (in bytes).
int Compiler::Literals::getStringSize |
( |
| ) |
const |
Return size of string block (in bytes).
std::vector<std::string> Compiler::Literals::mStrings |
|
private |
The documentation for this class was generated from the following files:
- /home/travis/build/OpenMW/openmw/components/compiler/literals.hpp
- /home/travis/build/OpenMW/openmw/components/compiler/literals.cpp