Пример #1
0
            public FinalizedResponse TypeACNoSubst(IEnumerable <SGA.typeAC_alt> alts)
            {
                var resp = new ShellCommon.AC_Resp {
                    toks_changed = false,
                    suggs        = type_alts_to_string(alts)
                };

                return(new FinalizedResponse(resp));
            }
Пример #2
0
            public FinalizedResponse MembACNoSubst(IEnumerable <mi_sugg> suggs)
            {
                var resp = new ShellCommon.AC_Resp {
                    toks_changed = false,
                    suggs        = mi_suggs_to_string(suggs)
                };

                return(new FinalizedResponse(resp));
            }
Пример #3
0
            public FinalizedResponse NoAC(string msg = null)
            {
                var resp = new ShellCommon.AC_Resp {
                    toks_changed = false,
                    msg          = msg,
                };

                return(new FinalizedResponse(resp));
            }
Пример #4
0
            public FinalizedResponse FuncACNoSubst(IEnumerable <MethodInfo> mis)
            {
                var resp = new ShellCommon.AC_Resp {
                    toks_changed = false,
                    suggs        = mis.Select(mi => mi.Name).ToArray()
                };

                return(new FinalizedResponse(resp));
            }
Пример #5
0
            public FinalizedResponse MembACWithSubst(IEnumerable <mi_sugg> suggs, PTokBase[] new_toks, int nu_offs)
            {
                var resp = new ShellCommon.AC_Resp {
                    toks_changed = true,
                    suggs        = mi_suggs_to_string(suggs),
                    toks         = new_toks,
                    nu_offs      = nu_offs
                };

                return(new FinalizedResponse(resp));
            }
Пример #6
0
            public FinalizedResponse FuncACWithSubst(IEnumerable <MethodInfo> mis, PTokBase[] new_toks, int nu_offs)
            {
                var resp = new ShellCommon.AC_Resp {
                    toks_changed = true,
                    suggs        = mis.Select(mi => mi.Name).ToArray(),
                    toks         = new_toks,
                    nu_offs      = nu_offs
                };

                return(new FinalizedResponse(resp));
            }
Пример #7
0
            public FinalizedResponse TypeACWithSubst(IEnumerable <SGA.typeAC_alt> alts, PTokBase[] new_toks, int nu_offs)
            {
                var resp = new ShellCommon.AC_Resp {
                    toks_changed = true,
                    suggs        = type_alts_to_string(alts),
                    toks         = new_toks,
                    nu_offs      = nu_offs
                };

                return(new FinalizedResponse(resp));
            }
Пример #8
0
 public FinalizedResponse(ShellCommon.AC_Resp resp)
 {
     ac_response = resp;
 }