API reference
python:astx:astx.literals.boolean.LiteralBoolean.__init__
method __init__
__init__(value: bool, loc: SourceLocation = NO_SOURCE_LOCATION) -> None
Source: packages/astx/src/astx/literals/boolean.py:34
Initialize LiteralBoolean.
Parameters
-
value — Value to process.; Type: bool
-
loc — Source coordinates associated with the node.; Type: SourceLocation
Returns
Type: None