API reference
python:astx:astx.LiteralBoolean
class LiteralBoolean
LiteralBoolean(value: bool, loc: SourceLocation = NO_SOURCE_LOCATION)
Source: packages/astx/src/astx/literals/boolean.py:18
Declared as: python:astx:astx.literals.boolean.LiteralBoolean
LiteralBoolean data type class.
Attributes
-
type_ — Type: Boolean
-
loc — Type: SourceLocation
-
value — Type: bool
Methods
- __init__ — Initialize LiteralBoolean.