blob: acbb2b89d9cf1db0da6060c4973db3644e1be6e7 [file] [edit]
fun x => do
let info ← MonadRef.mkInfoFromRefPos
let scp ← getCurrMacroScope
let mainModule ← getMainModule
pure
{
raw :=
Syntax.node2 info `Β«termπŸ‘‰__Β» (Syntax.atom info "πŸ‘‰")
x.raw } : (x : TSyntax [`ident, `token._]) β†’ ?m x (TSyntax `term)
true
true
fun x => do
let info ← MonadRef.mkInfoFromRefPos
let scp ← getCurrMacroScope
let mainModule ← getMainModule
pure
{
raw :=
Syntax.node2 info `termBarBazBoing (Syntax.atom info "bar")
x.raw } : (x : TSyntax [`token.baz, `token.boing]) β†’ ?m x (TSyntax `term)
true
true