とりあえず
こんな感じで文法解析は追加
ForUpdateClause forUpdate():
{
ForUpdateClause forUpdate = new ForUpdateClause();
Token type = null;
Token nowait = null;
TablesList tables = null;
}
{
(type= | type= ) [ tables=tables()] [nowait= ]
{
forUpdate.setType(type.image);
forUpdate.setWait(nowait.image);
forUpdate.setTables(tables);
return forUpdate;
}
}