SPRAAK
Public Member Functions
spr_pydoc_filter.ParamInfo Class Reference

Represents a function parameter. More...

+ Inheritance diagram for spr_pydoc_filter.ParamInfo:
+ Collaboration diagram for spr_pydoc_filter.ParamInfo:

Public Member Functions

def __init__ (self, name, linenr, func=None, module=None)
 Constructor. More...
 
def getName (self)
 Return the name of the parameter. More...
 
def getComment (self)
 Return an optional comment for the parameter. More...
 
def getDefault (self)
 Return an optional default for the parameter. More...
 

Detailed Description

Represents a function parameter.

Constructor & Destructor Documentation

§ __init__()

def spr_pydoc_filter.ParamInfo.__init__ (   self,
  name,
  linenr,
  func = None,
  module = None 
)

Constructor.

Parameters
selfThe callee object.
nameThe name of the parameter.
linenrThe location in the source of this parameter.
funcThe function associated with this parameter.
moduleThe module of the associated function.

Member Function Documentation

§ getName()

def spr_pydoc_filter.ParamInfo.getName (   self)

Return the name of the parameter.

Parameters
selfThe callee object.

§ getComment()

def spr_pydoc_filter.ParamInfo.getComment (   self)

Return an optional comment for the parameter.

Parameters
selfThe callee object.

§ getDefault()

def spr_pydoc_filter.ParamInfo.getDefault (   self)

Return an optional default for the parameter.

Parameters
selfThe callee object.