Home
last modified time | relevance | path

Searched refs:unary_ (Results 1 – 2 of 2) sorted by relevance

/system/tools/aidl/
Daidl_const_expressions.cpp627 CHECK(unary_ != nullptr); in CheckValid()
629 is_valid_ = unary_->CheckValid(); in CheckValid()
645 if (!unary_->is_evaluated_) { in evaluate()
648 success &= unary_->evaluate(type); in evaluate()
654 if (!IsCompatibleType(unary_->final_type_, op_)) { in evaluate()
655 AIDL_ERROR(unary_) << "'" << op_ << "'" in evaluate()
656 << " is not compatible with " << ToString(unary_->final_type_) in evaluate()
661 if (!unary_->is_valid_) { in evaluate()
662 AIDL_ERROR(unary_) << "Invalid constant unary expression: " + value_; in evaluate()
666 final_type_ = unary_->final_type_; in evaluate()
[all …]
Daidl_language.h508 std::unique_ptr<AidlConstantValue> unary_; variable