C# Class kOS.Safe.Compilation.OpcodeGetMethod

OpcodeGetMethod is *exactly* the same thing as OpcodeGetMember, and is in fact a subclass of it. The only reason for the distinction is so that at runtime the Opcode can tell whether the getting of the member was done with method call syntax with parentheses, like SHIP:NAME(), or non-method call syntax, like SHIP:NAME. It needs to know whether there is an upcoming OpcodeCall coming next or not, so it knows whether the delegate will get dealt with later or if it needs to perform it now.
Inheritance: OpcodeGetMember
ファイルを表示 Open project: KSP-KOS/KOS

Public Methods

Method Description
Execute ( ICpu cpu ) : void

Method Details

Execute() public method

public Execute ( ICpu cpu ) : void
cpu ICpu
return void