from .declaration_parser import DeclarationParser


class ModelParser:

    def __init__(self, model):
        self.model = model

    def parse_model(self):
        dp = DeclarationParser(self.model)
        for decl in self.model.declarations:
            dp.parse_declaration(decl, type(decl).__name__)
        return dp.get_results()

98d2a9b7f4b143fc875e7d14267b02aee7930c12
<mask token>


class ModelParser:
    <mask token>
    <mask token>

<mask token>


class ModelParser:
    <mask token>

    def parse_model(self):
        dp = DeclarationParser(self.model)
        for decl in self.model.declarations:
            dp.parse_declaration(decl, type(decl).__name__)
        return dp.get_results()

<mask token>


class ModelParser:

    def __init__(self, model):
        self.model = model

    def parse_model(self):
        dp = DeclarationParser(self.model)
        for decl in self.model.declarations:
            dp.parse_declaration(decl, type(decl).__name__)
        return dp.get_results()

from .declaration_parser import DeclarationParser


class ModelParser:

    def __init__(self, model):
        self.model = model

    def parse_model(self):
        dp = DeclarationParser(self.model)
        for decl in self.model.declarations:
            dp.parse_declaration(decl, type(decl).__name__)
        return dp.get_results()
