79 namespace functionEntries
const keyType & keyword() const
Return keyword.
A list of keyword definitions, which are a keyword followed by any number of values (e...
A 2-tuple for storing two objects of different types.
static bool equalToken(const token &t1, const token &t2)
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
A token holds items read from Istream.
static void skipUntil(DynamicList< filePos > &stack, const dictionary &parentDict, const word &endWord, Istream &is)
Consume tokens until reached a specific word.
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects...
A class for handling words, derived from string.
A functionEntry causes entries to be added/manipulated on the specified dictionary given an input str...
static token expand(const dictionary &dict, const string &keyword, const token &t)
Expand a variable (string/word/var starting with '$')
ifeqEntry(const ifeqEntry &)=delete
Disallow default bitwise copy construction.
const dictionary & dict() const
This entry is not a dictionary,.
Conditional parsing of dictionary entries.
void operator=(const ifeqEntry &)=delete
Disallow default bitwise assignment.
bool equal(const T &s1, const T &s2)
static bool evaluate(const bool doIf, DynamicList< filePos > &stack, dictionary &parentDict, Istream &is)
ClassName("ifeq")
Runtime type information.
static void readToken(token &t, Istream &is)
Read tokens. Skip dummy tokens.
static bool execute(const bool equal, DynamicList< filePos > &stack, dictionary &parentDict, Istream &is)
Main driver: depending on 'equal' starts evaluating or.
Tuple2< fileName, label > filePos