mojo/public/tools/mojom/mojom/parse/parser.py
def p_fixed_array(self, p):
    """fixed_array : ARRAY LANGLE typename COMMA INT_CONST_DEC RANGLE"""
    value = int(p[5])
    if value == 0 or value > _MAX_ARRAY_SIZE:
      raise ParseError(
          self.filename,
          "Fixed array size %d invalid:" % value,
          lineno=p.lineno(5),
          snippet=self._GetSnippet(p.lineno(5)))
    p[0] = p[3] + "[" + p[5] + "]"
fixed_array : ARRAY LANGLE typename COMMA INT_CONST_DEC RANGLE
fixed_array : ARRAY LANGLE typename COMMA INT_CONST_DEC RANGLE
fixed_array : ARRAY LANGLE typename COMMA INT_CONST_DEC RANGLE
def p_fixed_array(self, p):
    value = int(p[5])
    if value == 0 or value > _MAX_ARRAY_SIZE:
      raise ParseError(
          self.filename,
          "Fixed array size %d invalid:" % value,
          lineno=p.lineno(5),
          snippet=self._GetSnippet(p.lineno(5)))
    p[0] = p[3] + "[" + p[5] + "]"
def p_fixed_array ( self , p ) : value = int ( p [ 5 ] ) if value == 0 or value > _MAX_ARRAY_SIZE : raise ParseError ( self . filename , "Fixed array size %d invalid:" % value , lineno = p . lineno ( 5 ) , snippet = self . _GetSnippet ( p . lineno ( 5 ) ) ) p [ 0 ] = p [ 3 ] + "[" + p [ 5 ] + "]"
fixed_array : ARRAY LANGLE typename COMMA INT_CONST_DEC RANGLE
fixed_array : ARRAY LANGLE typename COMMA INT_CONST_DEC RANGLE
"""fixed_array : ARRAY LANGLE typename COMMA INT_CONST_DEC RANGLE"""
self
p