src/vs/editor/common/languages/languageConfiguration.ts/StandardAutoClosingPairConditional/isOK
class StandardAutoClosingPairConditional:	public isOK(standardToken: StandardTokenType): boolean {
		switch (standardToken) {
			case StandardTokenType.Other:
				return true;
			case StandardTokenType.Comment:
				return this._inComment;
			case StandardTokenType.String:
				return this._inString;
			case StandardTokenType.RegEx:
				return this._inRegEx;
		}
	}