nany
Public Member Functions | List of all members
ny::Atom::Instances::Ref Struct Referencefinal

Public Member Functions

 Ref (Instances &ref, uint32_t index)
 
ir::Sequenceircode ()
 Get the attached IR sequence.
 
ir::SequenceircodeIfExists ()
 Get the attached IR sequence, if any.
 
AnyString symbolname () const
 Get the symbol name of the instantiation (with fully qualified types)
 
uint32_t id () const
 Instance ID.
 
void update (YString &&symbol, const Classdef &rettype)
 Update atom instance. More...
 
uint32_t invalidate (const Signature &)
 Mark the instantiation (and its signature) as invalid (always returns -1)
 

Member Function Documentation

§ update()

void ny::Atom::Instances::Ref::update ( YString &&  symbol,
const Classdef rettype 
)
inline

Update atom instance.

Parameters
symbolThe complete symbol name (ex: "func A.foo(b: ref __i32): ref __i32")
Note
The content of 'symbol' will be moved to avoid memory allocation

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