next up previous
Next: Frequency Selection Expression Up: Formal Grammar Specifications Previous: Formal Grammar Specifications

Baseline Selection Expression

token IDENTIFIER of type String
token COMMA

token LPAREN
token RPAREN
token WHITE

token INT      of type String
token QSTRING  of type String
token REGEX    of type String

token COLON
token SEMICOLON

type TEN antennastatement
type TEN indexcombexpr
type Vector<int> indexlist
type Vector<int> antidrange
type Vector<int> antidlist
type Vector<int> antid

antennastatement: indexcombexpr 
                | LPAREN indexcombexpr RPAREN

indexcombexpr: indexcombexpr SEMICOLON indexcombexpr
             | indexlist AMPERSAND indexlist 
             | indexlist AMPERSAND 
             | indexlist 

antid: IDENTIFIER 
     | QSTRING 
     | REGEX

antidrange: INT 
          | INT TILDA INT 
 
antidlist: antid 
         | antidrange
 
indexlist: antidlist
         | indexlist COMMA antidlist
         | LPAREN indexlist RPAREN



Joe McMullin 2007-06-24