Ejemplo n.º 1
0
                public static SortedStringSet GetCommands()
                {
                    var commands = new SortedStringSet();

                    commands.Add(include);
                    commands.Add(show);
                    commands.Add(load);
                    commands.Add(reset);
                    commands.Add(reload);
                    commands.Add(terminate);
                    commands.Add(push);
                    commands.Add(pop);

                    foreach (var command in clearscreen.ToList())
                    {
                        commands.Add(command);
                    }

                    foreach (var command in gethelp.ToList())
                    {
                        commands.Add(command);
                    }

                    return(commands);
                }
Ejemplo n.º 2
0
        public static SortedStringSet GetParameterOrientations()
        {
            var operators = new SortedStringSet();

            foreach (string op in inparameter.ToList())
            {
                operators.Add(op);
            }

            foreach (string op in outparameter.ToList())
            {
                operators.Add(op);
            }

            return(operators);
        }
Ejemplo n.º 3
0
        public static SortedStringSet GetAssignmentOperators()
        {
            var operators = new SortedStringSet();

            foreach (string op in right_to_left.ToList())
            {
                operators.Add(op);
            }

            foreach (string op in left_to_right.ToList())
            {
                operators.Add(op);
            }

            return(operators);
        }
Ejemplo n.º 4
0
        public static Dictionary <string, object> GetKeyValues()
        {
            var operators = new Dictionary <string, object>();

            foreach (string op in confirm.ToList())
            {
                operators.Add(op, true);
            }

            foreach (string op in deny.ToList())
            {
                operators.Add(op, false);
            }

            foreach (string op in decline.ToList())
            {
                operators.Add(op, null);
            }

            return(operators);
        }
Ejemplo n.º 5
0
        public static SortedStringSet GetPermissionOperators()
        {
            var operators = new SortedStringSet();

            foreach (string op in readonlyvalue.ToList())
            {
                operators.Add(op);
            }

            foreach (string op in writeonlyvalue.ToList())
            {
                operators.Add(op);
            }

            foreach (string op in readwritevalue.ToList())
            {
                operators.Add(op);
            }

            return(operators);
        }
Ejemplo n.º 6
0
        public static SortedStringSet GetUnaryOperators()
        {
            var operators = new SortedStringSet();

            foreach (string op in negative.ToList())
            {
                operators.Add(op);
            }

            foreach (string op in opposite.ToList())
            {
                operators.Add(op);
            }

            foreach (string op in bidirectional.ToList())
            {
                operators.Add(op);
            }

            return(operators);
        }