Type

source: bluebase/lp/type.py


dataclassclass LpToken(tag: str, value: str)[source]

Bases: object

A token produced by the lexer.

Variables:
  • tag (str) – the tag of the token

  • value (str) – the value of the token