def __init__(self, sig: str, env: 'BuildEnvironment'=None, parentKey: LookupKey=None) -> None:
    super().__init__()
    self.sig = sig
    if (env is not None):
        if ('cpp:parent_symbol' not in env.temp_data):
            root = env.domaindata['cpp']['root_symbol']
            env.temp_data['cpp:parent_symbol'] = root
        self.parentKey = env.temp_data['cpp:parent_symbol'].get_lookup_key()
    else:
        assert (parentKey is not None)
        self.parentKey = parentKey
def __init__(self, sig: str, env: 'BuildEnvironment'=None, parentKey: LookupKey=None) -> None:
    super().__init__()
    self.sig = sig
    if (env is not None):
        if ('cpp:parent_symbol' not in env.temp_data):
            root = env.domaindata['cpp']['root_symbol']
            env.temp_data['cpp:parent_symbol'] = root
        self.parentKey = env.temp_data['cpp:parent_symbol'].get_lookup_key()
    else:
        assert (parentKey is not None)
        self.parentKey = parentKey