API reference
python:astx:astx.LiteralNone
class LiteralNone
LiteralNone(loc: SourceLocation = NO_SOURCE_LOCATION)
Source: packages/astx/src/astx/literals/base.py:80
Declared as: python:astx:astx.literals.base.LiteralNone
LiteralNone data type.
Attributes
-
loc — Type: SourceLocation
-
ref — Type: str
-
value — Type: None
-
type_ — Type: NoneType
Methods
-
__init__ — Initialize LiteralNone.
-
get_struct — Represent explicit null in the supported scalar vocabulary.