Package madgraph :: Package interface :: Module loop_interface :: Class AskLoopInstaller
[hide private]
[frames] | no frames]

Class AskLoopInstaller

source code

              object --+                
                       |                
extended_cmd.OriginalCmd --+            
                           |            
       extended_cmd.BasicCmd --+        
                               |        
      extended_cmd.SmartQuestion --+    
                                   |    
  extended_cmd.OneLinePathCompletion --+
                                       |
                                      AskLoopInstaller

Instance Methods [hide private]
 
__init__(self, question, *args, **opts)
Instantiate a line-oriented interpreter framework.
source code
 
create_question(self, first=False) source code
 
default(self, line)
Default action if line is not recognized
source code
 
apply_name(self, name, line) source code
 
do_ninja(self, line) source code
 
do_pjfry(self, line) source code
 
do_collier(self, line) source code
 
do_golem(self, line) source code
 
do_cuttools(self, line) source code
 
do_iregi(self, line) source code
 
complete_prog(self, text, line, begidx, endidx, formatting=True) source code
 
complete_ninja(self, text, line, begidx, endidx, formatting=True) source code
 
complete_pjfry(self, text, line, begidx, endidx, formatting=True) source code
 
complete_collier(self, text, line, begidx, endidx, formatting=True) source code
 
complete_golem(self, text, line, begidx, endidx, formatting=True) source code
 
complete_cuttools(self, text, line, begidx, endidx, formatting=True) source code
 
complete_iregi(self, text, line, begidx, endidx, formatting=True) source code

Inherited from extended_cmd.OneLinePathCompletion: completedefault, completenames, postcmd, precmd

Inherited from extended_cmd.SmartQuestion: __call__, cmdloop, complete_help, do_help, emptyline, get_names, onecmd, preloop, reask

Inherited from extended_cmd.BasicCmd: complete, deal_multiple_categories, getTerminalSize, print_suggestions, set_readline_completion_display_matches_hook

Inherited from extended_cmd.OriginalCmd: columnize, parseline, postloop, print_topics

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Static Methods [hide private]

Inherited from extended_cmd.BasicCmd: list_completion, path_completion, split_arg

Class Variables [hide private]
  local_installer = ['ninja', 'collier']
  required = ['cuttools', 'iregi']
  order = ['cuttools', 'iregi', 'ninja', 'collier', 'golem', 'pj...
  bypassed = ['pjfry']

Inherited from extended_cmd.OneLinePathCompletion: allowpath, completion_prefix

Inherited from extended_cmd.OriginalCmd: doc_header, doc_leader, identchars, intro, lastcmd, misc_header, nohelp, prompt, ruler, undoc_header, use_rawinput

Properties [hide private]
  answer

Inherited from object: __class__

Method Details [hide private]

__init__(self, question, *args, **opts)
(Constructor)

source code 

Instantiate a line-oriented interpreter framework.

The optional argument 'completekey' is the readline name of a completion key; it defaults to the Tab key. If completekey is not None and the readline module is available, command completion is done automatically. The optional arguments stdin and stdout specify alternate input and output file objects; if not specified, sys.stdin and sys.stdout are used.

Overrides: object.__init__
(inherited documentation)

default(self, line)

source code 

Default action if line is not recognized

Overrides: extended_cmd.OriginalCmd.default

Class Variable Details [hide private]

order

Value:
['cuttools', 'iregi', 'ninja', 'collier', 'golem', 'pjfry']

Property Details [hide private]

answer

Get Method:
unreachable.answer(self)