15#include "arcane/utils/ArcanePrecomp.h"
17#include "arcane/expr/LitteralExpressionImpl.h"
18#include "arcane/expr/OperatorMng.h"
19#include "arcane/expr/BadOperationException.h"
30LitteralExpressionImpl::
31LitteralExpressionImpl(
const ScalarVariant& value)
40void LitteralExpressionImpl::
41apply(ExpressionResult* result)
46 ScalarVariant::eType type = m_value.type();
47 LitteralOperator* op = m_op_mng->find(
this, type);
49 throw BadOperationException(
"LitteralExpressionImpl::apply",
"",type);
51 op->evaluate(result, m_value);
-*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-