Source code for bluebase.lp.type
from dataclasses import dataclass
__all__ = (
'LpToken',
)
[docs]
@dataclass(frozen=True, slots=True)
class LpToken:
"""
A token produced by the lexer.
Attributes:
tag: the tag of the token
value: the value of the token
"""
tag: str
value: str