# Path: srcgen/api.py



from six.moves import zip
from .api import Component, basic
import sys
        sequencevalue = dict(prefix=' = {', suffix='}',
                             skip_prefix_when_empty=True,
                             skip_suffix_when_empty=True,
                             ignore_empty_content = True, default='',
                             separator=', ',
                             ),
        init = dict() #
        )

    request_own_data = True

    def __init__(self, name, *leafs, **options):
        Component.__init__(self, *leafs)
        self._check_options(options, 'is_scalar', 'is_string')
        is_string = options.get('is_string')
        is_scalar = options.get('is_scalar')
        self.name = name
        if is_string:
            self.is_string = True
            self.is_scalar = False
            self.is_sequence = False
        else:
            if is_scalar is None:
                is_scalar = True
            self.is_string = False
            self.is_scalar = is_scalar
            self.is_sequence = not is_scalar

    def add(self, other):
        if isinstance(other, str):

# Path: srcgen/api.py



# Path: srcgen/c.py
from six.moves import zip
from .api import Component, basic
import sys

        sequencevalue = dict(prefix=' = {', suffix='}',
                             skip_prefix_when_empty=True,
                             skip_suffix_when_empty=True,
                             ignore_empty_content = True, default='',
                             separator=', ',
                             ),
        init = dict() #
        )

    request_own_data = True

    def __init__(self, name, *leafs, **options):
        Component.__init__(self, *leafs)
        self._check_options(options, 'is_scalar', 'is_string')
        is_string = options.get('is_string')
        is_scalar = options.get('is_scalar')
        self.name = name
        if is_string:
            self.is_string = True
            self.is_scalar = False
            self.is_sequence = False
        else:
            if is_scalar is None:
                is_scalar = True
            self.is_string = False
            self.is_scalar = is_scalar
            self.is_sequence = not is_scalar

    def add(self, other):
        if isinstance(other, str):

            other = basic.Line(other)