99 os << include_ << options_ << libs_ << localCode_ << code_;
134 code =
"#line " +
Foam::name(lineNum + 1) +
" \"" + name +
"\"\n" +
code;
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
A class for handling file names.
const entry * lookupEntryPtr(const word &, bool recursive, bool patternMatch) const
Find and return an entry data stream pointer if present.
A list of keyword definitions, which are a keyword followed by any number of values (e...
static void addLineDirective(string &, const label lineNum, const fileName &name)
Helper: add #line directive.
virtual label startLineNumber() const =0
Return line number of first token in dictionary.
The output stream for calculating SHA1 digests.
dynamicCodeContext(const dictionary &)
Construct from a dictionary.
string trim(const string &)
Return string trimmed of leading and trailing whitespace.
const fileName & name() const
Return the dictionary name.
word name(const complex &)
Return a string representation of a complex.
string & inplaceExpand(string &, const HashTable< string, word, string::hash > &mapping, const char sigil='$')
Inplace expand occurences of variables according to the mapping.
virtual ITstream & stream() const =0
Return token stream if this entry is a primitive entry.
const string & code() const
Return the code.
Foam::SHA1Digest digest()
Return SHA1::Digest for the data processed until now.
A keyword and a list of tokens is an 'entry'.