parameters: (ctxt, syntax_symbol, field)
docstring: Validate this an array of plain objects or a struct.
docstring_summary: Validate this an array of plain objects or a struct.
docstring_tokens: Validate this an array of plain objects or a struct .
function: def _validate_array_type(ctxt, syntax_symbol, field):
      # type: (errors.ParserContext, Union[syntax.Command, syntax.Enum, syntax.Struct, syntax.Type], syntax.Field) -> None
      """Validate this an array of plain objects or a struct."""
      if isinstance(syntax_symbol, syntax.Enum):
          ctxt.add_array_enum_error(field, field.name)
  
      if field.default or (isinstance(syntax_symbol, syntax.Type) and syntax_symbol.default):
          ctxt.add_array_no_default_error(field, field.name)
function_tokens: def _validate_array_type ( ctxt , syntax_symbol , field ) : # type: (errors.ParserContext, Union[syntax.Command, syntax.Enum, syntax.Struct, syntax.Type], syntax.Field) -> None if isinstance ( syntax_symbol , syntax . Enum ) : ctxt . add_array_enum_error ( field , field . name ) if field . default or ( isinstance ( syntax_symbol , syntax . Type ) and syntax_symbol . default ) : ctxt . add_array_no_default_error ( field , field . name )