casacore::MSFeedGram_global_functions_MSFeedGramFunctions Struct Reference

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

#include <MSFeedGram.h>

List of all members.

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).
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.
IntmsFeedGramPosition ()
 Give the current position in the string.
int msFeedGramInput (char *buf, int max_size)
 Declare the input routine for flex/bison.

Detailed Description

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

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 74 of file MSFeedGram.h.


Member Function Documentation

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 ( Table subTable,
TableExprNode col1TEN,
TableExprNode col2TEN,
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.

Int& casacore::MSFeedGram_global_functions_MSFeedGramFunctions::msFeedGramPosition (  ) 

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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 31 Aug 2016 for casa by  doxygen 1.6.1