casa
5.7.0-16
|
Global functions for flex/bison scanner/parser for MSCorrGram. More...
#include <MSCorrGram.h>
Public Member Functions | |
int | msCorrGramParseCommand (const MeasurementSet *ms, const String &command) |
Declare the bison parser (is implemented by bison command). More... | |
void | MSCorrGramerror (const char *) |
The yyerror function for the parser. More... | |
const TableExprNode * | msCorrGramParseNode () |
Give the table expression node. More... | |
void | msCorrGramParseDeleteNode () |
Int & | msCorrGramPosition () |
Give the current position in the string. More... | |
int | msCorrGramInput (char *buf, int max_size) |
Declare the input routine for flex/bison. More... | |
String | msCorrGramRemoveEscapes (const String &in) |
A function to remove escaped characters. More... | |
String | msCorrGramRemoveQuotes (const String &in) |
A function to remove quotes from a quoted string. More... | |
Global functions for flex/bison scanner/parser for MSCorrGram.
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 MSCorrGram.h.
void casacore::MSCorrGram_global_functions_MSCorrGramFunctions::MSCorrGramerror | ( | const char * | ) |
The yyerror function for the parser.
It throws an exception with the current token.
int casacore::MSCorrGram_global_functions_MSCorrGramFunctions::msCorrGramInput | ( | char * | buf, |
int | max_size | ||
) |
Declare the input routine for flex/bison.
int casacore::MSCorrGram_global_functions_MSCorrGramFunctions::msCorrGramParseCommand | ( | const MeasurementSet * | ms, |
const String & | command | ||
) |
Declare the bison parser (is implemented by bison command).
void casacore::MSCorrGram_global_functions_MSCorrGramFunctions::msCorrGramParseDeleteNode | ( | ) |
const TableExprNode* casacore::MSCorrGram_global_functions_MSCorrGramFunctions::msCorrGramParseNode | ( | ) |
Give the table expression node.
Int& casacore::MSCorrGram_global_functions_MSCorrGramFunctions::msCorrGramPosition | ( | ) |
Give the current position in the string.
This can be used when parse errors occur.
String casacore::MSCorrGram_global_functions_MSCorrGramFunctions::msCorrGramRemoveEscapes | ( | const String & | in | ) |
A function to remove escaped characters.
String casacore::MSCorrGram_global_functions_MSCorrGramFunctions::msCorrGramRemoveQuotes | ( | const String & | in | ) |
A function to remove quotes from a quoted string.