# Path: pygls/lsp/types/basic_structures.py
# class Location(Model):
#     uri: str
#     range: Range
# 
#     def __eq__(self, other):
#         return (
#             isinstance(other, Location)
#             and self.uri == other.uri
#             and self.range == other.range)
# 
#     def __repr__(self):
#         return f"{self.uri}:{self.range!r}"
# 
# class Model(BaseModel):
#     class Config:
#         alias_generator = snake_to_camel
#         allow_population_by_field_name = True
#         fields = {
#             'from_': 'from'
#         }
# 
# class PartialResultParams(Model):
#     partial_result_token: Optional[ProgressToken]
# 
# class Range(Model):
#     start: Position
#     end: Position
# 
#     def __eq__(self, other):
#         return (
#             isinstance(other, Range)
#             and self.start == other.start
#             and self.end == other.end)
# 
#     def __hash__(self):
#         return hash((self.start, self.end))
# 
#     def __iter__(self):
#         return iter((self.start, self.end))
# 
#     def __repr__(self):
#         return f'{self.start!r}-{self.end!r}'
# 
# class TextDocumentIdentifier(Model):
#     uri: str
# 
# class WorkDoneProgressOptions(Model):
#     work_done_progress: Optional[ProgressToken]
# 
# class WorkDoneProgressParams(Model):
#     work_done_token: Optional[ProgressToken]


import enum
from typing import List, Optional
from pygls.lsp.types.basic_structures import (Location, Model, PartialResultParams, Range,
                                              TextDocumentIdentifier, WorkDoneProgressOptions,
                                              WorkDoneProgressParams)


class WorkspaceCapabilitiesTagSupport(Model):
    value_set: List[SymbolKind]


class DocumentSymbolCapabilitiesTagSupport(Model):
    value_set: List[SymbolTag]


class DocumentSymbolClientCapabilities(Model):
    dynamic_registration: Optional[bool]
    symbol_kind: Optional[WorkspaceCapabilitiesSymbolKind]
    hierarchical_document_symbol_support: Optional[bool]
    tag_support: Optional[WorkspaceCapabilitiesTagSupport]
    label_support: Optional[bool]


class DocumentSymbolOptions(WorkDoneProgressOptions):
    label: Optional[str]


class DocumentSymbolParams(WorkDoneProgressParams, PartialResultParams):
    text_document: TextDocumentIdentifier


class DocumentSymbol(Model):
    name: str
    kind: SymbolKind
    range: Range

# Path: pygls/lsp/types/basic_structures.py
# class Location(Model):
#     uri: str
#     range: Range
# 
#     def __eq__(self, other):
#         return (
#             isinstance(other, Location)
#             and self.uri == other.uri
#             and self.range == other.range)
# 
#     def __repr__(self):
#         return f"{self.uri}:{self.range!r}"
# 
# class Model(BaseModel):
#     class Config:
#         alias_generator = snake_to_camel
#         allow_population_by_field_name = True
#         fields = {
#             'from_': 'from'
#         }
# 
# class PartialResultParams(Model):
#     partial_result_token: Optional[ProgressToken]
# 
# class Range(Model):
#     start: Position
#     end: Position
# 
#     def __eq__(self, other):
#         return (
#             isinstance(other, Range)
#             and self.start == other.start
#             and self.end == other.end)
# 
#     def __hash__(self):
#         return hash((self.start, self.end))
# 
#     def __iter__(self):
#         return iter((self.start, self.end))
# 
#     def __repr__(self):
#         return f'{self.start!r}-{self.end!r}'
# 
# class TextDocumentIdentifier(Model):
#     uri: str
# 
# class WorkDoneProgressOptions(Model):
#     work_done_progress: Optional[ProgressToken]
# 
# class WorkDoneProgressParams(Model):
#     work_done_token: Optional[ProgressToken]


# Path: pygls/lsp/types/language_features/document_symbol.py
import enum
from typing import List, Optional
from pygls.lsp.types.basic_structures import (Location, Model, PartialResultParams, Range,
                                              TextDocumentIdentifier, WorkDoneProgressOptions,
                                              WorkDoneProgressParams)



class WorkspaceCapabilitiesTagSupport(Model):
    value_set: List[SymbolKind]


class DocumentSymbolCapabilitiesTagSupport(Model):
    value_set: List[SymbolTag]


class DocumentSymbolClientCapabilities(Model):
    dynamic_registration: Optional[bool]
    symbol_kind: Optional[WorkspaceCapabilitiesSymbolKind]
    hierarchical_document_symbol_support: Optional[bool]
    tag_support: Optional[WorkspaceCapabilitiesTagSupport]
    label_support: Optional[bool]


class DocumentSymbolOptions(WorkDoneProgressOptions):
    label: Optional[str]


class DocumentSymbolParams(WorkDoneProgressParams, PartialResultParams):
    text_document: TextDocumentIdentifier


class DocumentSymbol(Model):
    name: str
    kind: SymbolKind
    range: Range

    selection_range: Range