hsh :: command :: Arg :: Class Arg
[hide private]
[frames] | no frames]

Class Arg

object --+            
         |            
     Token --+        
             |        
AggregateToken --+    
                 |    
         ArgOrProg --+
                     |
                    Arg

Instance Methods [hide private]
 
expand(self)
When args are expanded, glob matching for files must be done.
 
completions(self, cloc)
Completions are filename completions, and only work if the arg expands to a single filename.

Inherited from ArgOrProg: __init__, create_token

Inherited from AggregateToken: __len__, __str__, dump, modify

Inherited from Token: commences, expand_directives, terminated, terminates

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

Class Variables [hide private]

Inherited from Token: commencer_ch, dquotable

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

expand(self)

 

When args are expanded, glob matching for files must be done. The resulting completions have all escape characters removed.

Overrides: Token.expand

completions(self, cloc)

 

Completions are filename completions, and only work if the arg expands to a single filename.

Overrides: Token.completions