struct Library

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

Public Members

basic_string name
vector name_spans
optional platform
Dependencies dependencies
Declarations declarations
vector declaration_order
vector raw_literals
vector raw_ordinals

Public Methods

std::unique_ptr<Library> CreateRootLibrary ()

Creates the root library which holds all Builtin decls.

void ForEachElement (const fit::function<void (Element *)> & fn)

Runs a function on every element in the library via depth-first traversal.

Runs it on the library itself, on all Decls, and on all their members.

void Library ()

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

Records