boolean () { if (atToken(PyTokenTypes.INTEGER_LITERAL)) { buildTokenElement(PyElementTypes.INTEGER_LITERAL_EXPRESSION, myBuilder); return true; } else if (atToken(PyTokenTypes.FLOAT_LITERAL)) { buildTokenElement(PyElementTypes.FLOAT_LITERAL_EXPRESSION, myBuilder); return true; } else if (atToken(PyTokenTypes.IMAGINARY_LITERAL)) { buildTokenElement(PyElementTypes.IMAGINARY_LITERAL_EXPRESSION, myBuilder); return true; } return false; }