function isListElement(parent, node) {
            switch (parent.kind) {
                case 214 /* ClassDeclaration */:
                case 215 /* InterfaceDeclaration */:
                    return ts.rangeContainsRange(parent.members, node);
                case 218 /* ModuleDeclaration */:
                    var body = parent.body;
                    return body && body.kind === 192 /* Block */ && ts.rangeContainsRange(body.statements, node);
                case 248 /* SourceFile */:
                case 192 /* Block */:
                case 219 /* ModuleBlock */:
                    return ts.rangeContainsRange(parent.statements, node);
                case 244 /* CatchClause */:
                    return ts.rangeContainsRange(parent.block.statements, node);
            }
            return false;
        }