@stringArgs
@noKwargs
def func_get_option(self, nodes, args, kwargs):
    if (len(args) != 1):
        raise InterpreterException('Argument required for get_option.')
    optname = args[0]
    if (':' in optname):
        raise InterpreterException('Having a colon in option name is forbidden, projects are not allowed to directly access options of other subprojects.')
    opt = self.get_option_internal(optname)
    if isinstance(opt, coredata.UserFeatureOption):
        return FeatureOptionHolder(self.environment, optname, opt)
    elif isinstance(opt, coredata.UserOption):
        return opt.value
    return opt
@stringArgs
@noKwargs
def func_get_option(self, nodes, args, kwargs):
    if (len(args) != 1):
        raise InterpreterException('Argument required for get_option.')
    optname = args[0]
    if (':' in optname):
        raise InterpreterException('Having a colon in option name is forbidden, projects are not allowed to directly access options of other subprojects.')
    opt = self.get_option_internal(optname)
    if isinstance(opt, coredata.UserFeatureOption):
        return FeatureOptionHolder(self.environment, optname, opt)
    elif isinstance(opt, coredata.UserOption):
        return opt.value
    return opt