Lines Matching refs:AidlConstantValue
264 class AidlConstantValue; variable
270 const std::string& name, AidlConstantValue* default_value);
275 const AidlConstantValue* GetDefaultValue() const { return default_value_.get(); } in GetDefaultValue()
288 std::unique_ptr<AidlConstantValue> default_value_;
332 class AidlConstantValue : public AidlNode {
336 virtual ~AidlConstantValue() = default;
338 static AidlConstantValue* Boolean(const AidlLocation& location, bool value);
339 static AidlConstantValue* Character(const AidlLocation& location, char value);
341 static AidlConstantValue* Floating(const AidlLocation& location, const std::string& value);
342 static AidlConstantValue* Hex(const AidlLocation& location, const std::string& value);
344 static AidlConstantValue* Integral(const AidlLocation& location, const std::string& value);
345 static AidlConstantValue* Array(const AidlLocation& location,
346 std::vector<std::unique_ptr<AidlConstantValue>>* values);
348 static AidlConstantValue* String(const AidlLocation& location, const std::string& value);
358 AidlConstantValue(const AidlLocation& location, Type type, const std::string& checked_value);
359 AidlConstantValue(const AidlLocation& location, Type type,
360 std::vector<std::unique_ptr<AidlConstantValue>>* values);
364 const std::vector<std::unique_ptr<AidlConstantValue>> values_; // if type_ == ARRAY
367 DISALLOW_COPY_AND_ASSIGN(AidlConstantValue);
373 const std::string& name, AidlConstantValue* value);
379 const AidlConstantValue& GetValue() const { return *value_; } in GetValue()
393 const unique_ptr<AidlConstantValue> value_;