casacore
|
Global functions for flex/bison scanner/parser for MSStateGram. More...
#include <MSStateGram.h>
Public Member Functions | |
int | msStateGramParseCommand (const MeasurementSet *ms, const String &command) |
Declare the bison parser (is implemented by bison command). More... | |
int | msStateGramParseCommand (const MeasurementSet *ms, const String &command, Vector< Int > &) |
void | MSStateGramerror (const char *) |
The yyerror function for the parser. More... | |
const TableExprNode * | msStateGramParseNode () |
Give the table expression node. More... | |
void | msStateGramParseDeleteNode () |
Int & | msStateGramPosition () |
Give the current position in the string. More... | |
int | msStateGramInput (char *buf, int max_size) |
Declare the input routine for flex/bison. More... | |
Global functions for flex/bison scanner/parser for MSStateGram.
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 72 of file MSStateGram.h.
void casacore::MSStateGram_global_functions_MSStateGramFunctions::MSStateGramerror | ( | const char * | ) |
The yyerror function for the parser.
It throws an exception with the current token.
int casacore::MSStateGram_global_functions_MSStateGramFunctions::msStateGramInput | ( | char * | buf, |
int | max_size | ||
) |
Declare the input routine for flex/bison.
int casacore::MSStateGram_global_functions_MSStateGramFunctions::msStateGramParseCommand | ( | const MeasurementSet * | ms, |
const String & | command | ||
) |
Declare the bison parser (is implemented by bison command).
int casacore::MSStateGram_global_functions_MSStateGramFunctions::msStateGramParseCommand | ( | const MeasurementSet * | ms, |
const String & | command, | ||
Vector< Int > & | |||
) |
void casacore::MSStateGram_global_functions_MSStateGramFunctions::msStateGramParseDeleteNode | ( | ) |
const TableExprNode* casacore::MSStateGram_global_functions_MSStateGramFunctions::msStateGramParseNode | ( | ) |
Give the table expression node.
Int& casacore::MSStateGram_global_functions_MSStateGramFunctions::msStateGramPosition | ( | ) |
Give the current position in the string.
This can be used when parse errors occur.