C# Class Pchp.CodeAnalysis.CodeGen.BoundIndirectStFieldPlace

Indirect static or constant field access using callsites.
Inheritance: IBoundReference
Show file Open project: iolevel/peachpie

Public Methods

Method Description
BoundIndirectStFieldPlace ( BoundTypeRef typeref, BoundVariableName fldname, BoundFieldRef boundref ) : Devsense.PHP.Syntax
EmitLoad ( CodeGenerator cg ) : TypeSymbol
EmitLoadPrepare ( CodeGenerator cg, InstanceCacheHolder instanceOpt = null ) : void
EmitStore ( CodeGenerator cg, TypeSymbol valueType ) : void
EmitStorePrepare ( CodeGenerator cg, InstanceCacheHolder instanceOpt = null ) : void

Method Details

BoundIndirectStFieldPlace() public method

public BoundIndirectStFieldPlace ( BoundTypeRef typeref, BoundVariableName fldname, BoundFieldRef boundref ) : Devsense.PHP.Syntax
typeref Pchp.CodeAnalysis.Semantics.BoundTypeRef
fldname BoundVariableName
boundref Pchp.CodeAnalysis.Semantics.BoundFieldRef
return Devsense.PHP.Syntax

EmitLoad() public method

public EmitLoad ( CodeGenerator cg ) : TypeSymbol
cg CodeGenerator
return TypeSymbol

EmitLoadPrepare() public method

public EmitLoadPrepare ( CodeGenerator cg, InstanceCacheHolder instanceOpt = null ) : void
cg CodeGenerator
instanceOpt InstanceCacheHolder
return void

EmitStore() public method

public EmitStore ( CodeGenerator cg, TypeSymbol valueType ) : void
cg CodeGenerator
valueType TypeSymbol
return void

EmitStorePrepare() public method

public EmitStorePrepare ( CodeGenerator cg, InstanceCacheHolder instanceOpt = null ) : void
cg CodeGenerator
instanceOpt InstanceCacheHolder
return void