boolean () { if (atToken(PyTokenTypes.IDENTIFIER)) { SyntaxTreeBuilder.Marker refExpr = myBuilder.mark(); nextToken(); refExpr.done(PyElementTypes.REFERENCE_EXPRESSION); while (matchToken(PyTokenTypes.DOT)) { refExpr = refExpr.precede(); checkMatches(PyTokenTypes.IDENTIFIER, PyParsingBundle.message("PARSE.expected.name")); refExpr.done(PyElementTypes.REFERENCE_EXPRESSION); } return true; } return false; }