from ..ops import GroupBy
from .translator import *


class SubQueryTranslator(Translator):

    def __init__(self, *args, **kwargs):
        super(SubQueryTranslator, self).__init__(*args, **kwargs)

    def produce(self, ctx):
        self.child_translator.produce(ctx)

    def consume(self, ctx):
        self.parent_translator.consume(ctx)


class ScanTranslator(Translator):

    def __init__(self, *args, **kwargs):
        super(ScanTranslator, self).__init__(*args, **kwargs)
        self.l_o = None

    def consume(self, ctx):
        self.parent_translator.consume(ctx)

137ac1769a7a571efede1d3b7922f4382d7338a5
<mask token>


class ScanTranslator(Translator):

    def __init__(self, *args, **kwargs):
        super(ScanTranslator, self).__init__(*args, **kwargs)
        self.l_o = None

    def consume(self, ctx):
        self.parent_translator.consume(ctx)

<mask token>


class SubQueryTranslator(Translator):
    <mask token>
    <mask token>

    def consume(self, ctx):
        self.parent_translator.consume(ctx)


class ScanTranslator(Translator):

    def __init__(self, *args, **kwargs):
        super(ScanTranslator, self).__init__(*args, **kwargs)
        self.l_o = None

    def consume(self, ctx):
        self.parent_translator.consume(ctx)

<mask token>


class SubQueryTranslator(Translator):

    def __init__(self, *args, **kwargs):
        super(SubQueryTranslator, self).__init__(*args, **kwargs)
    <mask token>

    def consume(self, ctx):
        self.parent_translator.consume(ctx)


class ScanTranslator(Translator):

    def __init__(self, *args, **kwargs):
        super(ScanTranslator, self).__init__(*args, **kwargs)
        self.l_o = None

    def consume(self, ctx):
        self.parent_translator.consume(ctx)

from ..ops import GroupBy
from .translator import *


class SubQueryTranslator(Translator):

    def __init__(self, *args, **kwargs):
        super(SubQueryTranslator, self).__init__(*args, **kwargs)

    def produce(self, ctx):
        self.child_translator.produce(ctx)

    def consume(self, ctx):
        self.parent_translator.consume(ctx)


class ScanTranslator(Translator):

    def __init__(self, *args, **kwargs):
        super(ScanTranslator, self).__init__(*args, **kwargs)
        self.l_o = None

    def consume(self, ctx):
        self.parent_translator.consume(ctx)
