30 using namespace Expressions;
38 namespace Attributes {
40 Bool::Bool(
const std::string &
name,
const std::string &help):
49 static const std::string
type(
"logical");
56 if(eval || expr->isConstant()) {
Abstract base class for attribute parsers.
void set(AttributeBase *newBase)
Define new value.
Object attribute with a ``deferred'' scalar value.
bool is_deferred
Defer flag.
Inform & endl(Inform &inf)
Object attribute with a constant scalar value.
Interface for statements.
PtrToScalar< bool > parseBool(Statement &)
Parse boolean expression.
virtual const std::string & getType() const
Return attribute type string ``logical''.
virtual void parse(Attribute &, Statement &, bool) const
Parse the attribute.
A pointer to a scalar expression.
Object attribute with an ``automatic'' scalar value.
A representation of an Object attribute.