nany
Public Member Functions | List of all members
ny::ClassdefTableView Struct Referencefinal

Public Member Functions

 ClassdefTableView (ClassdefTable &)
 
 ClassdefTableView (ClassdefTableView &)
 
 ClassdefTableView (ClassdefTableView &, uint32_t atomid, uint count)
 
const Classdefclassdef (const CLID &) const
 
const ClassdefclassdefFollowClassMember (const CLID &) const
 
const Classdefrawclassdef (const CLID &) const
 
bool hasClassdef (const CLID &clid) const
 
AtomfindClassdefAtom (const Classdef &classdef) const
 
AtomfindRawClassdefAtom (const Classdef &) const
 
AnyString keyword (const Atom &) const
 Get the keyword associated to an atom (class, func, var, cref, namespace...) More...
 
bool hasSubstitute (const CLID &) const
 Get if the current view has a substitute for a given CLID.
 
Classdefsubstitute (uint32_t)
 Create a new substiture in the current layer.
 
ClassdefaddSubstitute (nytype_t kind, Atom *atom, const Qualifiers &qualifiers)
 Append a new substitute.
 
uint32_t substituteAtomID () const
 Get the atom id of the current layer.
 
void substituteResize (uint count)
 Resize the substitutes for the current layer.
 
void mergeSubstitutes ()
 
const ClassdefTableoriginalTable () const
 The original table (const)
 
ClassdefTableoriginalTable ()
 The original table.
 
Atoms
const AtomMapatoms () const
 
AtomMapatoms ()
 
Debugging
void print (Yuni::String &out, bool clearBefore=true) const
 Print all types.
 
void printClassdef (Yuni::String &out, const CLID &, const Classdef &) const
 Print a single type.
 

Member Function Documentation

§ keyword()

AnyString ny::ClassdefTableView::keyword ( const Atom atom) const
inline

Get the keyword associated to an atom (class, func, var, cref, namespace...)

See also
ny::Atom::keyword()

The documentation for this struct was generated from the following files: