enum_name
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
docopt.Option Class Reference
Inheritance diagram for docopt.Option:
docopt.LeafPattern docopt.Pattern

Public Member Functions

 __init__ (self, short=None, long=None, argcount=0, value=False)
 
 parse (class_, option_description)
 
 single_match (self, left)
 
 name (self)
 
 __repr__ (self)
 
- Public Member Functions inherited from docopt.LeafPattern
 flat (self, *types)
 
 match (self, left, collected=None)
 
- Public Member Functions inherited from docopt.Pattern
 __eq__ (self, other)
 
 __hash__ (self)
 
 fix (self)
 
 fix_identities (self, uniq=None)
 
 fix_repeating_arguments (self)
 

Public Attributes

 short
 
 long
 
 argcount
 
 value
 
 name
 
- Public Attributes inherited from docopt.LeafPattern
 value
 
- Public Attributes inherited from docopt.Pattern
 children
 

Constructor & Destructor Documentation

◆ __init__()

docopt.Option.__init__ ( self,
short = None,
long = None,
argcount = 0,
value = False )

Reimplemented from docopt.LeafPattern.

Member Function Documentation

◆ __repr__()

docopt.Option.__repr__ ( self)

Reimplemented from docopt.LeafPattern.

◆ name()

docopt.Option.name ( self)

Reimplemented from docopt.LeafPattern.


The documentation for this class was generated from the following file: