feat: impl setter for AST elements

This commit is contained in:
Shunsuke Shibayama 2023-11-16 16:15:29 +09:00
parent 9b4daab5b0
commit f834585083
9 changed files with 358 additions and 75 deletions

View file

@ -340,7 +340,7 @@ impl From<TokenKind> for BinOpCode {
}
}
#[pyclass(get_all)]
#[pyclass(get_all, set_all)]
#[derive(Clone, Eq)]
pub struct Token {
pub kind: TokenKind,