MCPcopy Create free account
hub / github.com/Meridian59/Meridian59 / codegen_property

Function codegen_property

blakcomp/codegen.c:701–708  ·  view source on GitHub ↗

/ * codegen_property: Generate code for a single property. */

Source from the content-addressed store, hash-verified

699 * codegen_property: Generate code for a single property.
700 */
701void codegen_property(property_type p)
702{
703 /* Write out # of property */
704 OutputInt(outfile, p->id->idnum);
705
706 /* Write out value of property */
707 OutputConstant(outfile, p->rhs);
708}
709/************************************************************************/
710/*
711 * codegen_message: Generate code for a single message handler.

Callers 1

codegen_classFunction · 0.85

Calls 2

OutputIntFunction · 0.85
OutputConstantFunction · 0.85

Tested by

no test coverage detected