29 #ifndef SCIMATH_FUNCEXPRDATA_H
30 #define SCIMATH_FUNCEXPRDATA_H
33 #include <casacore/casa/aips.h>
34 #include <casacore/casa/BasicSL/String.h>
35 #include <casacore/casa/stdmap.h>
38 #include <casacore/casa/iosfwd.h>
228 map<String, ExprOperator> &
function() {
return func_p; }
229 const map<String, ExprOperator> &
function()
const {
return func_p; }
233 const map<String, FuncExprData::ExprOperator> &m)
const;
const map< String, ExprOperator > & binary2() const
map< String, ExprOperator > spop_p
Special operators.
const map< String, ExprOperator > & unary2() const
map< String, ExprOperator > & unary2()
Accessors of the various maps.
map< opTypes, ExprOperator > allop_p
All operators.
specPriority
Special priority levels.
@ FINPRI
Priority for finals.
@ SPCPRI
Priority for specials - start.
@ RTLPRI
Lowest priority at which right-to-left rather than left-to-right execution.
void print(ostream &os, const FuncExprData::ExprOperator &pos) const
Print an operation.
map< String, ExprOperator > func_p
Function names.
specAction
Special categories.
@ SAVENV
Save environment while compiling.
@ FINAL
Final expression codes.
map< String, ExprOperator > bin1_p
Binary operators of 1 character.
map< String, ExprOperator > bin2_p
Binary operators of 2 characters.
const map< String, ExprOperator > & binary1() const
map< String, ExprOperator > & special()
map< String, ExprOperator > una1_p
Unary operators of 1 character.
map< String, ExprOperator > & binary1()
map< String, ExprOperator > & unary1()
opCategories
Operation category.
@ SPEC
Special and functions.
@ UNA2
Unary, binary 1 or 2 character.
const map< String, ExprOperator > & unary1() const
const map< String, ExprOperator > & special() const
map< String, ExprOperator > una2_p
Unary operators of 2 characters.
map< String, ExprOperator > & binary2()
void print(ostream &os, const map< String, FuncExprData::ExprOperator > &m) const
Print an operator map.
FuncExprData()
Construct the data for the expression analysis.
~FuncExprData()
Destructor.
String: the storage and methods of handling collections of characters.
this file contains all the compiler specific defines
ostream & operator<<(ostream &os, const IComplex &)
Show on ostream.
The compilation state descriptor.
uInt argcnt
Argument count.
uInt pcptr
Previous saved program counter.
uInt rpslow
Old index of low RPS boundary.
The operator description: code; priority; # of arguments; # of arguments used up (or produced for fun...
uInt nmaxarg
max # of arguments (for function)
specAction special
special action
Int info
code info (like par/x index; jump distance
opTypes code
The operator code.
String name
The name (or characters)
opCategories category
The category.
uInt priority
Execution priority.