API reference
python:astx:astx.LiteralTime
class LiteralTime
LiteralTime(value: str, loc: SourceLocation = NO_SOURCE_LOCATION)
Source: packages/astx/src/astx/literals/temporal.py:79
Declared as: python:astx:astx.literals.temporal.LiteralTime
LiteralTime data type class.
Attributes
-
value — Type: str
-
type_ — Type: Time
-
loc — Type: SourceLocation
Methods
-
__init__ — Initialize LiteralTime.
-
__str__ — Return a string that represents the object.
-
get_struct — Return the structure of the LiteralTime object.