"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isSimpleStraightLiteral = void 0;
/** 判断是非是一些简单直接的字面值 */
function isSimpleStraightLiteral(expr) {
    switch (expr.type) {
        case 'BigIntLiteral':
        case 'BooleanLiteral':
        case 'DecimalLiteral':
        case 'NullLiteral':
        case 'NumericLiteral':
        case 'RegExpLiteral':
        case 'StringLiteral':
            return true;
        default:
            return false;
    }
}
exports.isSimpleStraightLiteral = isSimpleStraightLiteral;
//# sourceMappingURL=isSimpleStraightLiteral.js.map