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
-
name — Type: str
-
bound — Type: astx.DataType
-
loc — Type: astx.SourceLocation
Methods
- __init__ —