29 #ifndef SCIMATH_FUNCEXPRDATA_H
30 #define SCIMATH_FUNCEXPRDATA_H
228 map<String, ExprOperator> &
function() {
return func_p; }
229 const map<String, ExprOperator> &
function()
const {
return func_p; }
232 void print(ostream &os,
233 const map<String, FuncExprData::ExprOperator> &m)
const;
Save environment while compiling.
map< opTypes, ExprOperator > allop_p
All operators.
uInt narg
of arguments necessary (or minimum)
opCategories category
The category.
map< String, ExprOperator > func_p
Function names.
uInt nmaxarg
max # of arguments (for function)
map< String, ExprOperator > una1_p
Unary operators of 1 character.
specPriority
Special priority levels.
const map< String, ExprOperator > & binary1() const
uInt pcptr
Previous saved program counter.
map< String, ExprOperator > bin2_p
Binary operators of 2 characters.
~FuncExprData()
Destructor.
specAction
Special categories.
ostream & operator<<(ostream &os, const IComplex &)
Show on ostream.
uInt nval
of values available on value stack
map< String, ExprOperator > & special()
const map< String, ExprOperator > & unary1() const
map< String, ExprOperator > bin1_p
Binary operators of 1 character.
The operator description: code; priority; # of arguments; # of arguments used up (or produced for fun...
Unary, binary 1 or 2 character.
map< String, ExprOperator > spop_p
Special operators.
uInt argcnt
Argument count.
opTypes code
The operator code.
Int info
code info (like par/x index; jump distance
Lowest priority at which right-to-left rather than left-to-right execution.
opCategories
Operation category.
map< String, ExprOperator > & unary2()
Accessors of the various maps.
String name
The name (or characters)
map< String, ExprOperator > una2_p
Unary operators of 2 characters.
void print(ostream &os, const map< String, FuncExprData::ExprOperator > &m) const
Print an operator map.
uInt rpslow
Old index of low RPS boundary.
Priority for specials - start.
specAction special
special action
FuncExprData()
Construct the data for the expression analysis.
Int nresult
of results produced/used
const map< String, ExprOperator > & special() const
map< String, ExprOperator > & binary1()
map< String, ExprOperator > & binary2()
const map< String, ExprOperator > & binary2() const
String: the storage and methods of handling collections of characters.
map< String, ExprOperator > & unary1()
uInt priority
Execution priority.
const map< String, ExprOperator > & unary2() const
The compilation state descriptor.
Data and enumerations for functional expressions.