C# 클래스 kOS.Safe.Compilation.OpcodeEval

Replaces the topmost thing on the stack with its evaluated, fully dereferenced version. For example, if the variable foo contains value 4, and the top of the stack is the identifier name "$foo", then this will replace the "$foo" with a 4.
상속: Opcode
파일 보기 프로젝트 열기: KSP-KOS/KOS

공개 메소드들

메소드 설명
Execute ( ICpu cpu ) : void
OpcodeEval ( ) : System
OpcodeEval ( bool bareOkay ) : System

Eval top thing on the stack and replace it with its dereferenced value. If you want to allow bare words like filenames then set argument bareOkay to true when constructing.

메소드 상세

Execute() 공개 메소드

public Execute ( ICpu cpu ) : void
cpu ICpu
리턴 void

OpcodeEval() 공개 메소드

public OpcodeEval ( ) : System
리턴 System

OpcodeEval() 공개 메소드

Eval top thing on the stack and replace it with its dereferenced value. If you want to allow bare words like filenames then set argument bareOkay to true when constructing.
public OpcodeEval ( bool bareOkay ) : System
bareOkay bool
리턴 System