"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ExpressionTestItem = void 0;
const TestResultDataType_1 = require("@appglue/common/dist/Common/Testing/TestResultDataType");
const ExpressionValue_1 = require("@appglue/common/dist/Expressions/ExpressionValue");
const ExpressionValueType_1 = require("@appglue/common/dist/Expressions/ExpressionValueType");
const ExpressionTestItem = ({ expression, item }) => {
    if (item.type !== TestResultDataType_1.TestResultDataType.EXPRESSION) {
        return null;
    }
    let currentEl = expression.editContext?.getElement(item.itemId);
    if (currentEl instanceof ExpressionValue_1.ExpressionValue) {
        if (currentEl.valueType === ExpressionValueType_1.ExpressionValueType.SUBEXPRESSION) {
        }
    }
    return null;
};
exports.ExpressionTestItem = ExpressionTestItem;
//# sourceMappingURL=ExpressionTestItem.js.map