API reference
python:astx:astx.literals.LiteralBoolean.__init__
method __init__
__init__(value: bool, loc: SourceLocation = NO_SOURCE_LOCATION) -> None
Source: packages/astx/src/astx/literals/boolean.py:37
Declared as: python:astx:astx.literals.boolean.LiteralBoolean.__init__
Initialize LiteralBoolean.
Parameters
-
value — Type: bool
-
loc — Type: SourceLocation