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:23
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 — Name identifying this declaration.; Type: str
-
bound — Names bound in the function scope.; Type: astx.DataType
-
loc — Source coordinates attached to this node.; Type: astx.SourceLocation
Methods
- __init__ —