Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.apo.nmsu.edu/Telescopes/TCC/html/namespacetcc_1_1parse_1_1cmd_parse.html
Дата изменения: Tue Sep 15 02:25:41 2015
Дата индексирования: Sun Apr 10 04:53:23 2016
Кодировка:

Поисковые слова: arp 220
lsst.tcc: tcc.parse.cmdParse Namespace Reference
lsst.tcc  1.2.2-3-g89ecb63
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Classes | Functions
tcc.parse.cmdParse Namespace Reference

Classes

class  ParseError
 
class  CmdParser
 A class that holds command definitions, and can parse tcc commands. More...
 
class  ParsedCmd
 
class  ParsedQual
 
class  ParsedKeyword
 
class  ParsedPar
 

Functions

def getUniqueAbbrevIndex
 Return the index of keyword in list allowing unique abbreviations and independent of case. More...
 
def makeGenericCmd
 Constructs a generic TCC command from pyparsing elements. More...
 

Function Documentation

def tcc.parse.cmdParse.getUniqueAbbrevIndex (   keyword,
  matchList 
)

Return the index of keyword in list allowing unique abbreviations and independent of case.

Parameters
[in]keyworda possibly abbreviated Keyword
[in]matchLista list of strings to match Keyword to.
Returns
integer, the index of the list holding the correct match

Definition at line 26 of file cmdParse.py.

def tcc.parse.cmdParse.makeGenericCmd ( )

Constructs a generic TCC command from pyparsing elements.

Upon parsing, will find a command verb and collections of both qualifiers and parameters.

Definition at line 37 of file cmdParse.py.