SPRAAK
Public Member Functions
spr_pydoc_filter.FunctionInfo Class Reference

Represents a parsed function. More...

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

Public Member Functions

def __init__ (self, ast, cls=None, module=None)
 Constructor. More...
 
def getName (self)
 Return the name of the function. More...
 
def getTag (self)
 Return the access level of this function. More...
 
def getParams (self)
 Return a list of parameters for this function. More...
 
def getComment (self)
 Return an optional comment for this function. More...
 

Detailed Description

Represents a parsed function.

Constructor & Destructor Documentation

§ __init__()

def spr_pydoc_filter.FunctionInfo.__init__ (   self,
  ast,
  cls = None,
  module = None 
)

Constructor.

Parameters
selfThe callee object.
astThe parse subtree describing a function.
clsThe class in which this function was defined. None for real functions.
moduleThe module in which this function was defined.

Member Function Documentation

§ getName()

def spr_pydoc_filter.FunctionInfo.getName (   self)

Return the name of the function.

Parameters
selfThe callee object.

§ getTag()

def spr_pydoc_filter.FunctionInfo.getTag (   self)

Return the access level of this function.

Parameters
selfThe callee object.

§ getParams()

def spr_pydoc_filter.FunctionInfo.getParams (   self)

Return a list of parameters for this function.

Parameters
selfThe callee object.

§ getComment()

def spr_pydoc_filter.FunctionInfo.getComment (   self)

Return an optional comment for this function.

Parameters
selfThe callee object.