struct LayoutParameter

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

Public Members

Kind kind
SourceSpan span

Public Methods

TypeConstructor * AsTypeCtor ()

A layout parameter is either a type constructor or a constant. One of these

two methods must return non-null, and the other one must return null.

Constant * AsConstant ()
std::unique_ptr<LayoutParameter> Clone ()
void ~LayoutParameter ()

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

void LayoutParameter (Kind kind, SourceSpan span)

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

Enumerations

enum Kind
Name Value
kIdentifier 0
kLiteral 1
kType 2

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