# Path: telethon_generator/utils.py
# def snake_to_camel_case(name, suffix=None):
#     # Courtesy of http://stackoverflow.com/a/31531797/4759433
#     result = re.sub(r'_([a-z])', lambda m: m.group(1).upper(), name)
#     result = result[:1].upper() + result[1:].replace('_', '')
#     return result + suffix if suffix else result


import functools
import os
import pathlib
import re
import shutil
from collections import defaultdict
from pathlib import Path
from ..docswriter import DocsWriter
from ..parsers import TLObject, Usability
from ..utils import snake_to_camel_case
#!/usr/bin/env python3


CORE_TYPES = {
    'int', 'long', 'int128', 'int256', 'double',
    'vector', 'string', 'bool', 'true', 'bytes', 'date'

# Path: telethon_generator/utils.py
# def snake_to_camel_case(name, suffix=None):
#     # Courtesy of http://stackoverflow.com/a/31531797/4759433
#     result = re.sub(r'_([a-z])', lambda m: m.group(1).upper(), name)
#     result = result[:1].upper() + result[1:].replace('_', '')
#     return result + suffix if suffix else result


# Path: telethon_generator/generators/docs.py
import functools
import os
import pathlib
import re
import shutil
from collections import defaultdict
from pathlib import Path
from ..docswriter import DocsWriter
from ..parsers import TLObject, Usability
from ..utils import snake_to_camel_case

#!/usr/bin/env python3


CORE_TYPES = {
    'int', 'long', 'int128', 'int256', 'double',
    'vector', 'string', 'bool', 'true', 'bytes', 'date'

}