struct Const

Defined at line 468 of file ../../tools/fidl/fidlc/src/flat_ast.h

Const represents the _declaration_ of a constant. (For the _use_, see

Constant. For the _value_, see ConstantValue.) A Const consists of a

left-hand-side Name (found in Decl) and a right-hand-side Constant.

Public Members

unique_ptr type_ctor
unique_ptr value

Public Methods

void Const (std::unique_ptr<AttributeList> attributes, Name name, std::unique_ptr<TypeConstructor> type_ctor, std::unique_ptr<Constant> value)

Defined at line 469 of file ../../tools/fidl/fidlc/src/flat_ast.h