trnsystor.typecycle.TypeCycle

class trnsystor.typecycle.TypeCycle(role=None, firstRow=None, lastRow=None, cycles=None, minSize=None, maxSize=None, paramName=None, question=None)[source]

TypeCycle class.

Initialize object.

classmethod from_tag(tag)[source]

Create TypeCycle from Tag.

Parameters

tag (Tag) – The XML tag with its attributes and contents.

property default

Return the default value of self.

property idxs

0-based index of the TypeVariable(s) concerned with this cycle.

property is_question

Return True if self is a question.