API reference

python:astx:astx.TemplateParam

class TemplateParam

TemplateParam(name: str, bound: astx.DataType, loc: astx.SourceLocation = astx.base.NO_SOURCE_LOCATION)

Source: packages/astx/src/astx/templates.py:24

Declared as: python:astx:astx.templates.TemplateParam

One compile-time template parameter.

Describe one bounded template variable attached to a function or method declaration.

Attributes

Methods

Attributes

Search documentation

Type to search.