/**
 * Type guard helper functions
 */
export const isStatement = (node) => {
    const statementKinds = [
        "variableDeclaration",
        "functionDeclaration",
        "classDeclaration",
        "interfaceDeclaration",
        "enumDeclaration",
        "typeAliasDeclaration",
        "expressionStatement",
        "returnStatement",
        "ifStatement",
        "whileStatement",
        "forStatement",
        "forOfStatement",
        "forInStatement",
        "switchStatement",
        "throwStatement",
        "tryStatement",
        "blockStatement",
        "breakStatement",
        "continueStatement",
        "emptyStatement",
        "yieldStatement",
        "generatorReturnStatement",
    ];
    return statementKinds.includes(node.kind);
};
export const isExpression = (node) => {
    return !isStatement(node);
};
//# sourceMappingURL=guards.js.map