cecko
Classes | Typedefs | Variables
ckcontext.hpp File Reference
#include "cktables.hpp"
#include <string_view>
#include <functional>
#include <array>
#include <ostream>
Include dependency graph for ckcontext.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  cecko::errors::err_object_s
 Error message with a string parameter. More...
 
class  cecko::errors::err_object_n
 Error message without parameters. More...
 
class  cecko::context
 Lexical level of compiler context + error messaging. More...
 

Typedefs

using cecko::errors::err_def_s = const err_object_s
 Error message with a string parameter.
 
using cecko::errors::err_s = std::reference_wrapper< err_def_s >
 Error message with a string parameter.
 
using cecko::errors::err_def_n = const err_object_n
 Error message without parameters.
 
using cecko::errors::err_n = std::reference_wrapper< err_def_n >
 Error message without parameters.
 
using cecko::context_obs = context *
 Pointer to compiler context.
 

Variables

err_def_s cecko::errors::SYNTAX
 Syntax error.
 
err_def_s cecko::errors::INTOUTRANGE
 Integer literal out of range.
 
err_def_s cecko::errors::BADINT
 Malformed integer literal.
 
err_def_s cecko::errors::BADESCAPE
 Malformed escape sequence.
 
err_def_s cecko::errors::UNCHAR
 Invalid character.
 
err_def_s cecko::errors::UNDEF_IDF
 Undefined identifier of constant/variable/function.
 
err_def_n cecko::errors::INTERNAL
 Internal error.
 
err_def_n cecko::errors::EMPTYCHAR
 Empty character literal.
 
err_def_n cecko::errors::UNTERMCHAR
 Unterminated character literal.
 
err_def_n cecko::errors::EOLINSTRCHR
 End of line in string/character literal.
 
err_def_n cecko::errors::EOFINSTRCHR
 End of file in string/character literal.
 
err_def_n cecko::errors::EOFINCMT
 End of file in comment.
 
err_def_n cecko::errors::UNEXPENDCMT
 Unexpected end of comment.
 
err_def_n cecko::errors::VOIDEXPR
 Expression is of void type.
 
err_def_n cecko::errors::NOT_NUMBER
 Expression is not a number.
 
err_def_n cecko::errors::NOT_POINTER
 Expression is not a pointer.
 
err_def_n cecko::errors::NOT_NUMBER_OR_POINTER
 Expression is not a number or pointer.
 
err_def_n cecko::errors::INCOMPATIBLE
 Incompatible operands.
 
err_def_n cecko::errors::INVALID_FUNCTION_TYPE
 Invalid function type constructed.
 
err_def_n cecko::errors::INVALID_ARRAY_TYPE
 Invalid array type constructed.
 
err_def_n cecko::errors::INVALID_SPECIFIERS
 Conflicting declaration specifiers.
 
err_def_n cecko::errors::BAD_NUMBER_OF_ARGUMENTS
 Bad number of arguments.
 

Detailed Description

ckcontext.hpp

State-aware upper layer of lexer/parser context.