NEST
2.6.0,not_revisioned_source_dir@0
|
#include <typechk.h>
Classes | |
class | TypeNode |
Public Member Functions | |
TypeTrie () | |
TypeTrie (const TokenArray &ta) | |
TypeTrie (const TypeTrie &tt) | |
~TypeTrie () | |
void | insert_move (const TypeArray &, Token &) |
void | insert (const TypeArray &a, const Token &t) |
const Token & | lookup (const TokenStack &st) const |
bool | operator== (const TypeTrie &) const |
bool | equals (const Name &, const Name &) const |
void | toTokenArray (TokenArray &) const |
void | info (std::ostream &) const |
Private Member Functions | |
TypeNode * | getalternative (TypeNode *, const Name &) |
TypeNode * | newnode (const TokenArray &) const |
Private Attributes | |
TypeNode * | root |
|
inline |
|
inline |
|
inline |
References TypeTrie::TypeNode::addreference(), and root.
|
inline |
References TypeTrie::TypeNode::removereference(), and root.
|
private |
References TypeTrie::TypeNode::alt, sli::any, TypeTrie::TypeNode::func, TypeTrie::TypeNode::next, Token::swap(), and TypeTrie::TypeNode::type.
Referenced by insert_move().
void TypeTrie::info | ( | std::ostream & | out | ) | const |
References TypeTrie::TypeNode::info(), and root.
Referenced by TrieInfoFunction::execute(), TrieDatum::info(), and SLIInterpreter::print_error().
References insert_move().
Referenced by TrieDatum::insert().
References assert(), TypeTrie::TypeNode::func, getalternative(), Token::move(), TypeTrie::TypeNode::next, sli::object, root, and TypeTrie::TypeNode::type.
Referenced by insert(), and TrieDatum::insert_move().
|
inline |
References TypeTrie::TypeNode::alt, equals(), TypeTrie::TypeNode::func, Datum::gettypename(), TokenStack::load(), TypeTrie::TypeNode::next, sli::object, TokenStack::pick(), root, and TypeTrie::TypeNode::type.
Referenced by TrieDatum::lookup().
|
private |
References assert(), nest::names::n, sli::object, and TokenArray::size().
Referenced by TypeTrie().
void TypeTrie::toTokenArray | ( | TokenArray & | a | ) | const |
References TokenArray::clear(), root, and TypeTrie::TypeNode::toTokenArray().
Referenced by Cva_tFunction::execute().
|
private |
Referenced by info(), insert_move(), lookup(), operator==(), toTokenArray(), TypeTrie(), and ~TypeTrie().