Пример #1
0
        private protected void DefProperty(AVariable variable, string evaluated)
        {
            LSender.Send(this, $"Set property: `{variable.name}`:`{variable.scope}`");

            //defProperty(uvariable.getVariable(variable.name, variable.scope), getProject(variable.scope));
            SetGlobalProperty(GetProject(variable.scope), variable.name, evaluated);
        }
Пример #2
0
        private protected bool UndefProperty(AVariable variable)
        {
            LSender.Send(this, $"Unset property: `{variable.name}`:`{variable.scope}`");
            Project project = GetProject(variable.scope);

            //uvariable.unset(variable.name, variable.scope); //leave for sbe-scripts
            return(RemoveGlobalProperty(project, variable.name));
        }