ddc
|
#include "TermExpander.h"
#include "ConcCommon.h"
#include "../CommonLib/ddcString.h"
#include <stdlib.h>
#include <wctype.h>
#include <algorithm>
Functions | |
void | parseTermExpanderSpec (const string &spec, string &txclass, string &txlabel, string &txparam) |
parse a term expander specification as a space-separated (" \t\n\r") list "LABEL [CLASS=LABEL [PARAM='']]" More... | |
CTermExpander * | newTermExpander (const string &class_, const string &label, const string ¶m) |
create a new TermExpander from a parsed specification More... | |
void parseTermExpanderSpec | ( | const string & | spec, |
string & | txclass, | ||
string & | txlabel, | ||
string & | txparam | ||
) |
parse a term expander specification as a space-separated (" \t\n\r") list "LABEL [CLASS=LABEL [PARAM='']]"
References StringTokenizer::next_token().
Referenced by TxDispatcher::addExpander(), and TxDispatcher::ensureDefaultExpanders().
CTermExpander* newTermExpander | ( | const string & | class_, |
const string & | label, | ||
const string & | param | ||
) |
create a new TermExpander from a parsed specification
References EngMakeLower(), errLogic, and Trim().
Referenced by TxDispatcher::addExpander(), BxTermWrapper::BxTermWrapper(), and TxDispatcher::ensureDefaultExpanders().