casa
5.7.0-16
|
Global functions for flex/bison scanner/parser for MSObservationGram. More...
#include <MSObservationGram.h>
Public Member Functions | |
TableExprNode | msObservationGramParseCommand (const MeasurementSet *ms, const MSObservation &obsSubTable, const TableExprNode &colAsTEN, const String &command, Vector< Int > &idList) |
Declare the bison parser (is implemented by bison command). More... | |
TableExprNode | baseMSObservationGramParseCommand (MSObservationParse *parser, const TableExprNode &colAsTEN, const String &command, Vector< Int > &selectedIDs) |
void | MSObservationGramerror (const char *) |
The yyerror function for the parser. More... | |
void | msObservationGramParseDeleteNode () |
Give the table expression node. More... | |
Int & | msObservationGramPosition () |
Give the current position in the string. More... | |
int | msObservationGramInput (char *buf, int max_size) |
Declare the input routine for flex/bison. More... | |
Global functions for flex/bison scanner/parser for MSObservationGram.
Internal
Global functions are needed to define the input of the flex scanner and to start the bison parser. The input is taken from a string.
It is necessary to be able to give an image expression in ASCII. This can be used in glish.
Definition at line 73 of file MSObservationGram.h.
TableExprNode casacore::MSObservationGram_global_functions_MSObservationGramFunctions::baseMSObservationGramParseCommand | ( | MSObservationParse * | parser, |
const TableExprNode & | colAsTEN, | ||
const String & | command, | ||
Vector< Int > & | selectedIDs | ||
) |
void casacore::MSObservationGram_global_functions_MSObservationGramFunctions::MSObservationGramerror | ( | const char * | ) |
The yyerror function for the parser.
It throws an exception with the current token.
int casacore::MSObservationGram_global_functions_MSObservationGramFunctions::msObservationGramInput | ( | char * | buf, |
int | max_size | ||
) |
Declare the input routine for flex/bison.
TableExprNode casacore::MSObservationGram_global_functions_MSObservationGramFunctions::msObservationGramParseCommand | ( | const MeasurementSet * | ms, |
const MSObservation & | obsSubTable, | ||
const TableExprNode & | colAsTEN, | ||
const String & | command, | ||
Vector< Int > & | idList | ||
) |
Declare the bison parser (is implemented by bison command).
void casacore::MSObservationGram_global_functions_MSObservationGramFunctions::msObservationGramParseDeleteNode | ( | ) |
Give the table expression node.
const TableExprNode *msObservationGramParseNode();
Int& casacore::MSObservationGram_global_functions_MSObservationGramFunctions::msObservationGramPosition | ( | ) |
Give the current position in the string.
This can be used when parse errors occur.