private Statement ParseDecorated() {
List<Expression> decorators = ParseDecorators();
Statement res;
if (PeekToken() == Tokens.KeywordDefToken) {
FunctionDefinition fnc = ParseFuncDef();
fnc.Decorators = decorators.ToArray();
res = fnc;
} else if (PeekToken() == Tokens.KeywordClassToken) {
ClassDefinition cls = ParseClassDef();
cls.Decorators = decorators.ToArray();
res = cls;
} else {
res = new EmptyStatement();
ReportSyntaxError(_lookahead);
}
return res;
}