You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Goal: Have something akin to syn::Lit and support Operand::lit(&self) -> Option<Lit>.
Right now, literals are represented by single tokens, and it's unclear how to create AST node wrappers for those. Just using ast_node doesn't work, because Rowan doesn't consider these nodes.
The text was updated successfully, but these errors were encountered:
Goal: Have something akin to
syn::Lit
and supportOperand::lit(&self) -> Option<Lit>
.Right now, literals are represented by single tokens, and it's unclear how to create AST node wrappers for those. Just using
ast_node
doesn't work, because Rowan doesn't consider these nodes.The text was updated successfully, but these errors were encountered: