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)); }
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)); }
public FinalizedResponse NoAC(string msg = null) { var resp = new ShellCommon.AC_Resp { toks_changed = false, msg = msg, }; return(new FinalizedResponse(resp)); }
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)); }
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)); }
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)); }
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)); }
public FinalizedResponse(ShellCommon.AC_Resp resp) { ac_response = resp; }