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

Class DoubleQuote

object --+        
         |        
     Token --+    
             |    
     LeafToken --+
                 |
                DoubleQuote

A leaf token which contains a single double quote character. Used exclusively within the DoubleQuotedToken token as a commencer and terminator.

Instance Methods [hide private]
 
__init__(self)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
 
terminated(self)
Return True if this token will not accept any more characters at the end because it has terminated.
 
expand(self)
Double quotes are dropped on expansion.

Inherited from LeafToken: __len__, __str__, dump, modify

Inherited from Token: commences, completions, expand_directives, 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]

__init__(self)
(Constructor)

 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

terminated(self)

 

Return True if this token will not accept any more characters at the end because it has terminated. The default implementation returns False.

Overrides: Token.terminated
(inherited documentation)

expand(self)

 

Double quotes are dropped on expansion.

Overrides: Token.expand