class Target

Defined at line 45 of file ../../tools/fidl/fidlc/src/reference.h

A target element (along with its parent decl, if it is a member).

Public Methods

void Target (Decl * decl)
void Target (Element * member, Decl * parent)
Element * element ()

Defined at line 50 of file ../../tools/fidl/fidlc/src/reference.h

Name name ()
const Library * library ()

Returns the library that the element occurs in.

Decl * element_or_parent_decl ()

If element() is a decl, returns it. If it's a member, returns its parent.