docs/libs/typescript.js
function isIdentifier() {
            if (token() === 69 /* Identifier */) {
                return true;
            }
            // If we have a 'yield' keyword, and we're in the [yield] context, then 'yield' is
            // considered a keyword and is not an identifier.
            if (token() === 114 /* YieldKeyword */ && inYieldContext()) {
                return false;
            }
            // If we have a 'await' keyword, and we're in the [Await] context, then 'await' is
            // considered a keyword and is not an identifier.
            if (token() === 119 /* AwaitKeyword */ && inAwaitContext()) {
                return false;
            }
            return token() > 105 /* LastReservedWord */;
        }
function isIdentifier() {
            if (token() === 69 /* Identifier */) {
                return true;
            }
            // If we have a 'yield' keyword, and we're in the [yield] context, then 'yield' is
            // considered a keyword and is not an identifier.
            if (token() === 114 /* YieldKeyword */ && inYieldContext()) {
                return false;
            }
            // If we have a 'await' keyword, and we're in the [Await] context, then 'await' is
            // considered a keyword and is not an identifier.
            if (token() === 119 /* AwaitKeyword */ && inAwaitContext()) {
                return false;
            }
            return token() > 105 /* LastReservedWord */;
        }
function isIdentifier ( ) { if ( token ( ) === 69 /* Identifier */ ) { return true ; } // If we have a 'yield' keyword, and we're in the [yield] context, then 'yield' is // considered a keyword and is not an identifier. if ( token ( ) === 114 /* YieldKeyword */ && inYieldContext ( ) ) { return false ; } // If we have a 'await' keyword, and we're in the [Await] context, then 'await' is // considered a keyword and is not an identifier. if ( token ( ) === 119 /* AwaitKeyword */ && inAwaitContext ( ) ) { return false ; } return token ( ) > 105 /* LastReservedWord */ ; }
Ignore strict mode flag because we will report an error in type checker instead.
Ignore strict mode flag because we will report an error in type checker instead .