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