boolean () { SyntaxTreeBuilder.Marker mark = myBuilder.mark(); if (parseMaybeOrPattern()) { if (atToken(PyTokenTypes.AS_KEYWORD)) { nextToken(); if (atSimpleNameNotUnderscore()) { buildTokenElement(PyElementTypes.TARGET_EXPRESSION, myBuilder); } else { myBuilder.error(PyParsingBundle.message("PARSE.expected.name")); } mark.done(PyElementTypes.AS_PATTERN); consumeIllegalLeftoverExpressionTokens(); } else { mark.drop(); } return true; } mark.drop(); return false; }