code: function isInSomeParsingContext() {
              for (var kind = 0; kind < 26 /* Count */; kind++) {
                  if (parsingContext & (1 << kind)) {
                      if (isListElement(kind, /*inErrorRecovery*/ true) || isListTerminator(kind)) {
                          return true;
                      }
                  }
              }
              return false;
          }
docs: True if positioned at element or terminator of the current list or any enclosing list