parameters: (input_handler)
return_statement: return ObjectExpr(field_names, val_exprs)
docstring: Parsing an object literal
docstring_summary: Parsing an object literal
docstring_tokens: Parsing an object literal
function: def parse_obj_literal(input_handler):
      """Parsing an object literal"""
      field_names = []
      val_exprs = []
      while True:
          if input_handler.match_ws('}'):
              break
          field = parse_ident_expr(input_handler)
          input_handler.expect_ws(':')
          expr = parse_expr(input_handler)
          field_names.append(field)
          val_exprs.append(expr)
          if input_handler.match_ws('}'):
              break
          input_handler.expect_ws(',')
      return ObjectExpr(field_names, val_exprs)
function_tokens: def parse_obj_literal ( input_handler ) : field_names = [ ] val_exprs = [ ] while True : if input_handler . match_ws ( '}' ) : break field = parse_ident_expr ( input_handler ) input_handler . expect_ws ( ':' ) expr = parse_expr ( input_handler ) field_names . append ( field ) val_exprs . append ( expr ) if input_handler . match_ws ( '}' ) : break input_handler . expect_ws ( ',' ) return ObjectExpr ( field_names , val_exprs )