blark.transform.ReturnStatement

class blark.transform.ReturnStatement(meta: Meta | None = None)[source]

Bases: Statement

A statement used to return from a function [block], RETURN.

No value is allowed to be returned with this statement.

Lark grammar

This class is used by the following grammar rules:

return_statement

return_statement.1: "RETURN"i ";"+

Methods

__init__([meta])

from_lark()

Attributes

meta

meta: Meta | None = None
__init__(meta: Meta | None = None) None
from_lark() T