javacc笔记5

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)