<commit_before>"""
Cilk nodes supported by ctree.
"""

from ctree.nodes import CtreeNode


class CilkNode(CtreeNode):
    """Base class for all Cilk nodes supported by ctree."""

    def codegen(self, indent=0):
        from ctree.cilk.codegen import CilkCodeGen

        return CilkCodeGen(indent).visit(self)

    def dotgen(self, indent=0):
        from ctree.cilk.dotgen import CilkDotGen

        return CilkDotGen().visit(self)<commit_msg>more pylint stuff docstrings use _ for unused params<commit_after>"""
Cilk nodes supported by ctree.
"""

from ctree.nodes import CtreeNode


class CilkNode(CtreeNode):
    """Base class for all Cilk nodes supported by ctree."""

    def codegen(self, indent=0):
        from ctree.cilk.codegen import CilkCodeGen

        return CilkCodeGen(indent).visit(self)

    def dotgen(self, _):
        from ctree.cilk.dotgen import CilkDotGen

        return CilkDotGen().visit(self)
{'fraction_non_alphanumeric': 0.09652928416485901, 'fraction_numerical': 0.0032537960954446853, 'mean_word_length': 3.4589371980676327, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1312958', 'n_tokens_mistral': 310, 'n_tokens_neox': 299, 'n_words': 83}