ddc
Functions
TermExpander.cpp File Reference
#include "TermExpander.h"
#include "ConcCommon.h"
#include "../CommonLib/ddcString.h"
#include <stdlib.h>
#include <wctype.h>
#include <algorithm>
Include dependency graph for TermExpander.cpp:

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...
 
CTermExpandernewTermExpander (const string &class_, const string &label, const string &param)
 create a new TermExpander from a parsed specification More...
 

Function Documentation

◆ parseTermExpanderSpec()

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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ newTermExpander()

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().

Here is the call graph for this function:
Here is the caller graph for this function: