How to get a raw string for a specified AST node? #12286
Answered
by
liuliangsir
liuliangsir
asked this question in
Q&A
-
As I mentioned earlier, I would like to get a raw string for Convert await ac.sysDialogOn({
content:`${1+2+2}a`,
id: 2330,
hasRoleName: true,
hasBg: false,
hasRoleAvatar: true,
roleName: `角色名`,
roleAvatarResId: '$262638',
}); to {
"type": "avgApi",
"payload": {
"content": "${1+2+2}a",
"id": 2330,
"hasRoleName": false,
"hasBg": false,
"hasRoleAvatar": true,
"roleName": "角色wwwww名",
"roleAvatarResId": "$262638"
}
} |
Beta Was this translation helpful? Give feedback.
Answered by
liuliangsir
Nov 1, 2020
Replies: 2 comments 1 reply
Answer selected by
liuliangsir
-
@nicolo-ribaudo I am using |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@nicolo-ribaudo cc