void TypeDecl() : {
Token t;
}
{
<VOID>
|
t=<TERM> { jjtThis.name = t.image; } ("[]")?}
}
refer to current token as "t" and current AST node as "jjtThis"
the text of the current token (t.image)
javacc笔记5
阅读 59
2022-07-27
void TypeDecl() : {
Token t;
}
{
<VOID>
|
t=<TERM> { jjtThis.name = t.image; } ("[]")?}
}
refer to current token as "t" and current AST node as "jjtThis"
the text of the current token (t.image)
相关推荐
精彩评论(0)