<commit_before>##
# Copyright (c) 2016-present MagicStack Inc.
# All rights reserved.
#
# See LICENSE for details.
##


import typing

from edgedb.lang.common import enum as s_enum
from edgedb.lang.common import ast, parsing
from edgedb.lang.edgeql import ast as qlast


class Base(ast.AST):
    __ast_hidden__ = {'context'}
    context: parsing.ParserContext

    def _extra_repr(self):
        return ''

    def __repr__(self):
        ar = self._extra_repr()
        return '<{}.{} at {:#x}{}>'.format(self.__class__.ns,
                                           self.__class__.__name__,
                                           id(self),
                                           ar)


class QualName(Base):
    pass


class ObjectName(Base):
    name: str
    module: str = None
    # HACK: this should actually be a list of ObjectName
    subtypes: typing.List[Base]
<commit_msg>Drop unused class from eschema/ast<commit_after>##
# Copyright (c) 2016-present MagicStack Inc.
# All rights reserved.
#
# See LICENSE for details.
##


import typing

from edgedb.lang.common import enum as s_enum
from edgedb.lang.common import ast, parsing
from edgedb.lang.edgeql import ast as qlast


class Base(ast.AST):
    __ast_hidden__ = {'context'}
    context: parsing.ParserContext

    def _extra_repr(self):
        return ''

    def __repr__(self):
        ar = self._extra_repr()
        return '<{}.{} at {:#x}{}>'.format(self.__class__.ns,
                                           self.__class__.__name__,
                                           id(self),
                                           ar)


class ObjectName(Base):
    name: str
    module: str = None
    # HACK: this should actually be a list of ObjectName
    subtypes: typing.List[Base]

{'fraction_non_alphanumeric': 0.09954751131221719, 'fraction_numerical': 0.004524886877828055, 'mean_word_length': 1.933665008291874, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 12, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7216129', 'n_tokens_mistral': 516, 'n_tokens_neox': 491, 'n_words': 145}