ASTNode (int newChildIndex) { if (newChildIndex == 0) { // block text contains backslash line wrappings, child block list not built return null; } int prevIndex = newChildIndex - 1; while (prevIndex > 0 && getSubBlockByIndex(prevIndex).getNode().getElementType() == PyTokenTypes.END_OF_LINE_COMMENT) { prevIndex--; } return getSubBlockByIndex(prevIndex).getNode(); }