casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
casa::MSSpwGram_global_functions_MSSpwGramFunctions Struct Reference

Global functions for flex/bison scanner/parser for MSSpwGram. More...

#include <MSSpwGram.h>

List of all members.

Public Member Functions

int msSpwGramParseCommand (const MeasurementSet *ms, const String &command)
 Declare the bison parser (is implemented by bison command).
int msSpwGramParseCommand (const MeasurementSet *ms, const String &command, Vector< Int > &selectedIDs, Matrix< Int > &selectedChanIDs)
int msSpwGramParseCommand (const MSSpectralWindow &spwSubTable, const MSDataDescription &ddSubTable, const TableExprNode &colAsTEN, const String &command, Vector< Int > &selectedIDs, Matrix< Int > &selectedChans)
void MSSpwGramerror (const char *)
 The yyerror function for the parser.
const TableExprNodemsSpwGramParseNode ()
 Give the table expression node.
void msSpwGramParseDeleteNode ()
IntmsSpwGramPosition ()
 Give the current position in the string.
int msSpwGramInput (char *buf, int max_size)
 Declare the input routine for flex/bison.

Detailed Description

Global functions for flex/bison scanner/parser for MSSpwGram.

Intended use:

Internal

Prerequisite

Synopsis

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.

Motivation

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 MSSpwGram.h.


Member Function Documentation

The yyerror function for the parser.

It throws an exception with the current token.

Declare the input routine for flex/bison.

Declare the bison parser (is implemented by bison command).

int casa::MSSpwGram_global_functions_MSSpwGramFunctions::msSpwGramParseCommand ( const MeasurementSet ms,
const String command,
Vector< Int > &  selectedIDs,
Matrix< Int > &  selectedChanIDs 
)
int casa::MSSpwGram_global_functions_MSSpwGramFunctions::msSpwGramParseCommand ( const MSSpectralWindow spwSubTable,
const MSDataDescription ddSubTable,
const TableExprNode colAsTEN,
const String command,
Vector< Int > &  selectedIDs,
Matrix< Int > &  selectedChans 
)

Give the table expression node.

Give the current position in the string.

This can be used when parse errors occur.


The documentation for this struct was generated from the following file: