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()) {
void set(AttributeBase *newBase)
Define new value.
virtual void parse(Attribute &, Statement &, bool) const
Parse the attribute.
A pointer to a scalar expression.
bool is_deferred
Defer flag.
Object attribute with a ``deferred'' scalar value.
PtrToScalar< bool > parseBool(Statement &)
Parse boolean expression.
A representation of an Object attribute.
virtual const std::string & getType() const
Return attribute type string ``logical''.
Object attribute with an ``automatic'' scalar value.
Interface for statements.
Abstract base class for attribute parsers.
Object attribute with a constant scalar value.
Inform & endl(Inform &inf)