struct Method
Defined at line 717 of file ../../tools/fidl/fidlc/src/flat_ast.h
Public Members
unique_ptr modifiers
Kind kind
SourceSpan name
unique_ptr maybe_request
unique_ptr maybe_response
const Union * maybe_result_union
bool has_error
optional strictness
basic_string selector
uint64_t ordinal
const TypeConstructor * result_success_type_ctor
const TypeConstructor * result_domain_error_type_ctor
Public Methods
Method Clone (VersionRange range)
void Method (std::unique_ptr<AttributeList> attributes, std::unique_ptr<ModifierList> modifiers, Kind kind, SourceSpan name, std::unique_ptr<TypeConstructor> maybe_request, std::unique_ptr<TypeConstructor> maybe_response, const Union * maybe_result_union, bool has_error)
Defined at line 720 of file ../../tools/fidl/fidlc/src/flat_ast.h
Enumerations
enum Kind
| Name | Value |
|---|---|
| kOneWay | 0 |
| kTwoWay | 1 |
| kEvent | 2 |
Defined at line 718 of file ../../tools/fidl/fidlc/src/flat_ast.h
enum ResultUnionOrdinal
| Name | Value |
|---|---|
| kSuccess | 1 |
| kDomainError | 2 |
| kFrameworkError | 3 |
Defined at line 735 of file ../../tools/fidl/fidlc/src/flat_ast.h