top | up | prev | next

ParamInstruction Abstract Class

Definition at line 225 of Instruction.hpp

Constructors

ParamInstruction(Type* type_)

Member Functions

Type* GetType(Context& context) override
void Write(CodeFormatter& formatter, Function& function, Context& context)

Member Variables

Type* type

Constructor Details

ParamInstruction Constructor

cmsxi::ParamInstruction::ParamInstruction(Type * type_)

Definition at line 355 of Instruction.cpp :
355 : Instruction()type(type_)
356 {
357 }


Declaration at line 228 of Instruction.hpp


Member Function Details

GetType Member Function

Type * cmsxi::ParamInstruction::GetType(Context & context) override

Definition at line 229 of Instruction.hpp :
229 { return type; }

Base class overridden functions: cmsxi::Instruction::GetType , cmsxi::Value::GetType


Write Member Function

void cmsxi::ParamInstruction::Write(CodeFormatter& formatter, Function & function, Context & context)

Definition at line 359 of Instruction.cpp :
360 {
361     WriteResult(formatterfunctioncontext);
362     formatter.Write(" = param");
363     WriteMetadataRef(formatter);
364 }


Calls: cmsxi::Instruction::WriteMetadataRef , cmsxi::Instruction::WriteResult


top | up | prev | next