parameters: (type)
return_statement: return type.code in Explorer._SCALAR_TYPE_LIST
docstring: Checks whether a type is a scalar type.
          A type is a scalar type of its type is
              gdb.TYPE_CODE_CHAR or
              gdb.TYPE_CODE_INT or
              gdb.TYPE_CODE_BOOL or
              gdb.TYPE_CODE_FLT or
              gdb.TYPE_CODE_VOID or
              gdb.TYPE_CODE_ENUM.
  
          Arguments:
              type: The type to be checked.
  
          Returns:
              'True' if 'type' is a scalar type. 'False' otherwise.
docstring_summary: Checks whether a type is a scalar type.
          A type is a scalar type of its type is
              gdb.TYPE_CODE_CHAR or
              gdb.TYPE_CODE_INT or
              gdb.TYPE_CODE_BOOL or
              gdb.TYPE_CODE_FLT or
              gdb.TYPE_CODE_VOID or
              gdb.TYPE_CODE_ENUM.
docstring_tokens: Checks whether a type is a scalar type . A type is a scalar type of its type is gdb . TYPE_CODE_CHAR or gdb . TYPE_CODE_INT or gdb . TYPE_CODE_BOOL or gdb . TYPE_CODE_FLT or gdb . TYPE_CODE_VOID or gdb . TYPE_CODE_ENUM .
function: def is_scalar_type(type):
          """Checks whether a type is a scalar type.
          A type is a scalar type of its type is
              gdb.TYPE_CODE_CHAR or
              gdb.TYPE_CODE_INT or
              gdb.TYPE_CODE_BOOL or
              gdb.TYPE_CODE_FLT or
              gdb.TYPE_CODE_VOID or
              gdb.TYPE_CODE_ENUM.
  
          Arguments:
              type: The type to be checked.
  
          Returns:
              'True' if 'type' is a scalar type. 'False' otherwise.
          """
          return type.code in Explorer._SCALAR_TYPE_LIST
function_tokens: def is_scalar_type ( type ) : return type . code in Explorer . _SCALAR_TYPE_LIST