Bindgen::Graph::Builder
Builds a graph out of Parser::* structures. Can be used to build a
whole namespace out of a Parser::Document, or just for smaller things.
The resulting graph mirrors the structure of the target language.
Constructors
Instance methods
Copies klass at path name into the root.
Copies document into the ns. The classes named in except are
left out, like container instantiations Processor::InstantiateContainers
builds.
Copies enumeration at path name into the root.
Copies method into parent.
Iterates over the path, descending from root onwards. If a part of
the path does not exist yet, it'll be created as Namespace.
Gets the parent of path, starting at root. Makes sure it is a
Graph::Container. Also see #get_or_create_path
Splits the qualified path, and returns the parent of the target and the name of the path local to the parent.