xo-expression2: + SymbolTable facet
This commit is contained in:
parent
a23307aabb
commit
37b0ea3c3e
8 changed files with 457 additions and 0 deletions
41
src/expression2/ISymbolTable_Any.cpp
Normal file
41
src/expression2/ISymbolTable_Any.cpp
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
/** @file ISymbolTable_Any.cpp
|
||||
*
|
||||
**/
|
||||
|
||||
#include "symtab/ISymbolTable_Any.hpp"
|
||||
#include <iostream>
|
||||
|
||||
namespace xo {
|
||||
namespace scm {
|
||||
|
||||
using xo::facet::DVariantPlaceholder;
|
||||
using xo::facet::typeseq;
|
||||
using xo::facet::valid_facet_implementation;
|
||||
|
||||
void
|
||||
ISymbolTable_Any::_fatal()
|
||||
{
|
||||
/* control here on uninitialized IAllocator_Any.
|
||||
* Initialized instance will have specific implementation type
|
||||
*/
|
||||
std::cerr << "fatal"
|
||||
<< ": attempt to call uninitialized"
|
||||
<< " ISymbolTable_Any method"
|
||||
<< std::endl;
|
||||
std::terminate();
|
||||
}
|
||||
|
||||
typeseq
|
||||
ISymbolTable_Any::s_typeseq = typeseq::id<DVariantPlaceholder>();
|
||||
|
||||
bool
|
||||
ISymbolTable_Any::_valid
|
||||
= valid_facet_implementation<ASymbolTable, ISymbolTable_Any>();
|
||||
|
||||
// nonconst methods
|
||||
|
||||
|
||||
} /*namespace scm*/
|
||||
} /*namespace xo*/
|
||||
|
||||
/* end ISymbolTable_Any.cpp */
|
||||
Loading…
Add table
Add a link
Reference in a new issue