casacore
|
#include <MSFeedGram.h>
Public Member Functions | |
TableExprNode | msFeedGramParseCommand (MSFeedParse *thisParser, const TableExprNode &col1TEN, const TableExprNode &col2TEN, const String &command, Vector< Int > &selectedFeeds1, Vector< Int > &selectedFeeds2, Matrix< Int > &selectedFeedPairs) |
Declare the bison parser (is implemented by bison command). More... | |
TableExprNode | msFeedGramParseCommand (Table &subTable, TableExprNode &col1TEN, TableExprNode &col2TEN, const String &command, Vector< Int > &selectedFeeds1, Vector< Int > &selectedFeeds2, Matrix< Int > &selectedFeedPairs) |
TableExprNode | msFeedGramParseCommand (const MeasurementSet *ms, const String &command, Vector< Int > &selectedFeeds1, Vector< Int > &selectedFeeds2, Matrix< Int > &selectedFeedPairs) |
TableExprNode | baseMSFeedGramParseCommand (MSFeedParse *parser, const String &command, Vector< Int > &selectedFeeds1, Vector< Int > &selectedFeeds2, Matrix< Int > &selectedFeedPairs) |
void | MSFeedGramerror (const char *) |
The yyerror function for the parser. More... | |
Int & | msFeedGramPosition () |
Give the current position in the string. More... | |
int | msFeedGramInput (char *buf, int max_size) |
Declare the input routine for flex/bison. More... | |
Global functions for flex/bison scanner/parser for MSFeedGram
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 74 of file MSFeedGram.h.
TableExprNode casacore::MSFeedGram_global_functions_MSFeedGramFunctions::baseMSFeedGramParseCommand | ( | MSFeedParse * | parser, |
const String & | command, | ||
Vector< Int > & | selectedFeeds1, | ||
Vector< Int > & | selectedFeeds2, | ||
Matrix< Int > & | selectedFeedPairs | ||
) |
void casacore::MSFeedGram_global_functions_MSFeedGramFunctions::MSFeedGramerror | ( | const char * | ) |
The yyerror function for the parser.
It throws an exception with the current token.
int casacore::MSFeedGram_global_functions_MSFeedGramFunctions::msFeedGramInput | ( | char * | buf, |
int | max_size | ||
) |
Declare the input routine for flex/bison.
TableExprNode casacore::MSFeedGram_global_functions_MSFeedGramFunctions::msFeedGramParseCommand | ( | const MeasurementSet * | ms, |
const String & | command, | ||
Vector< Int > & | selectedFeeds1, | ||
Vector< Int > & | selectedFeeds2, | ||
Matrix< Int > & | selectedFeedPairs | ||
) |
TableExprNode casacore::MSFeedGram_global_functions_MSFeedGramFunctions::msFeedGramParseCommand | ( | MSFeedParse * | thisParser, |
const TableExprNode & | col1TEN, | ||
const TableExprNode & | col2TEN, | ||
const String & | command, | ||
Vector< Int > & | selectedFeeds1, | ||
Vector< Int > & | selectedFeeds2, | ||
Matrix< Int > & | selectedFeedPairs | ||
) |
Declare the bison parser (is implemented by bison command).
It returns a TaQL expression tree.
TableExprNode casacore::MSFeedGram_global_functions_MSFeedGramFunctions::msFeedGramParseCommand | ( | Table & | subTable, |
TableExprNode & | col1TEN, | ||
TableExprNode & | col2TEN, | ||
const String & | command, | ||
Vector< Int > & | selectedFeeds1, | ||
Vector< Int > & | selectedFeeds2, | ||
Matrix< Int > & | selectedFeedPairs | ||
) |
Int& casacore::MSFeedGram_global_functions_MSFeedGramFunctions::msFeedGramPosition | ( | ) |
Give the current position in the string.
This can be used when parse errors occur.