1
2
3
4
5
6
7
8
9
10
declaration:
  | navigators LCURLY propertyList RCURLY { Declaration($1, $3) }

propertyList:
  (* empty *)                          { [] }
  | property SEMICOLON propertyList    { $1::$2 }
  | property                           { [$1] }

property:
  IDENTIFIER COLON values            { Property($1, $3) }