blark.transform.JumpStatement

class blark.transform.JumpStatement(label: Token, meta: Meta | None = None)[source]

Bases: Statement

This is the “goto”-style JMP, which points at a label.

Examples:

JMP label;

Lark grammar

This class is used by the following grammar rules:

jmp_statement

jmp_statement: "JMP"i LABEL ";"+

Methods

__init__(label[, meta])

from_lark()

Attributes

meta

label

label: Token
meta: Meta | None = None
__init__(label: Token, meta: Meta | None = None) None
from_lark() T