Lines Matching refs:m_interpreter
183 options.SetEchoCommands(m_interpreter.GetEchoCommands()); in DoExecute()
184 options.SetEchoCommentCommands(m_interpreter.GetEchoCommentCommands()); in DoExecute()
188 m_interpreter.HandleCommandsFromFile(cmd_file, options, result); in DoExecute()
438 if (m_interpreter.CommandExists(alias_command)) { in DoExecute()
445 if (m_interpreter.UserMultiwordCommandExists(alias_command)) { in DoExecute()
458 m_interpreter.GetCommandObjectForCommand(raw_command_string); in DoExecute()
488 if (CommandObjectSP cmd_obj_sp = m_interpreter.GetCommandSPExact( in HandleAliasingRawCommand()
490 if (m_interpreter.AliasExists(alias_command) || in HandleAliasingRawCommand()
491 m_interpreter.UserCommandExists(alias_command)) { in HandleAliasingRawCommand()
496 if (CommandAlias *alias = m_interpreter.AddAlias( in HandleAliasingRawCommand()
532 if (m_interpreter.CommandExists(alias_command)) { in HandleAliasingNormalCommand()
539 if (m_interpreter.UserMultiwordCommandExists(alias_command)) { in HandleAliasingNormalCommand()
548 m_interpreter.GetCommandSPExact(actual_command, true)); in HandleAliasingNormalCommand()
585 m_interpreter.GetCommandSPExact(cmd_obj->GetCommandName()); in HandleAliasingNormalCommand()
587 tmp_sp = m_interpreter.GetCommandSPExact(sub_cmd_obj->GetCommandName()); in HandleAliasingNormalCommand()
592 if (m_interpreter.AliasExists(alias_command) || in HandleAliasingNormalCommand()
593 m_interpreter.UserCommandExists(alias_command)) { in HandleAliasingNormalCommand()
598 if (CommandAlias *alias = m_interpreter.AddAlias( in HandleAliasingNormalCommand()
645 if (!m_interpreter.HasCommands() || request.GetCursorIndex() != 0) in HandleArgumentCompletion()
648 for (const auto &ent : m_interpreter.GetAliases()) { in HandleArgumentCompletion()
664 cmd_obj = m_interpreter.GetCommandObject(command_name); in DoExecute()
673 if (m_interpreter.CommandExists(command_name)) { in DoExecute()
687 if (!m_interpreter.RemoveAlias(command_name)) { in DoExecute()
688 if (m_interpreter.AliasExists(command_name)) in DoExecute()
733 if (!m_interpreter.HasCommands() || request.GetCursorIndex() != 0) in HandleArgumentCompletion()
736 for (const auto &ent : m_interpreter.GetCommands()) { in HandleArgumentCompletion()
754 if (!m_interpreter.CommandExists(command_name)) { in DoExecute()
765 if (!m_interpreter.RemoveCommand(command_name)) { in DoExecute()
864 m_interpreter.AddCommand(cmd_sp->GetCommandName(), cmd_sp, true); in IOHandlerInputComplete()
880 m_interpreter, name, m_options.GetHelp(), m_options.GetSyntax(), 10, 0, in DoExecute()
1018 m_interpreter.AddCommand(cmd_sp->GetCommandName(), cmd_sp, true); in AddRegexCommandToInterpreter()
1398 CommandCompletions::CompleteModifiableCmdPathArgs(m_interpreter, request, in HandleArgumentCompletion()
1495 m_interpreter, m_cmd_name, funct_name_str, m_short_help, in IOHandlerInputComplete()
1498 Status error = m_interpreter.AddUserCommand( in IOHandlerInputComplete()
1580 m_interpreter.GetPythonCommandsFromIOHandler(" ", // Prompt in DoExecute()
1588 m_interpreter, m_cmd_name, m_options.m_funct_name, in DoExecute()
1605 m_interpreter, m_cmd_name, cmd_obj_sp, m_synchronicity)); in DoExecute()
1612 m_interpreter.AddUserCommand(m_cmd_name, new_cmd_sp, m_overwrite); in DoExecute()
1647 m_interpreter.GetHelp(result, CommandInterpreter::eCommandTypesUserDef); in DoExecute()
1667 m_interpreter.RemoveAllUser(); in DoExecute()
1705 CommandCompletions::CompleteModifiableCmdPathArgs(m_interpreter, request, in HandleArgumentCompletion()
1719 if (!m_interpreter.HasUserCommands() && in DoExecute()
1720 !m_interpreter.HasUserMultiwordCommands()) { in DoExecute()
1726 CommandObjectSP cmd_sp = m_interpreter.GetCommandSPExact(root_cmd); in DoExecute()
1745 m_interpreter.RemoveUser(root_cmd); in DoExecute()
1856 CommandCompletions::CompleteModifiableCmdPathArgs(m_interpreter, request, in HandleArgumentCompletion()
1996 CommandCompletions::CompleteModifiableCmdPathArgs(m_interpreter, request, in HandleArgumentCompletion()