C# Класс kOS.Safe.Compilation.OpcodePushScope

Pushes a new variable namespace scope (for example, when a "{" is encountered in a block-scoping language like C++ or Java or C#.) From now on any local variables created will be made in this new namespace.
Наследование: Opcode
Показать файл Открыть проект

Private Properties

Свойство Тип Описание

Открытые методы

Метод Описание
Execute ( ICpu cpu ) : void
OpcodePushScope ( Int16 id, Int16 parentId ) : System

Push a scope frame that knows the id of its lexical parent scope.

PopulateFromMLFields ( List fields ) : void
ToString ( ) : string

Защищенные методы

Метод Описание
OpcodePushScope ( ) : System

This variant of the constructor is just for ML file save/load to use.

Описание методов

Execute() публичный Метод

public Execute ( ICpu cpu ) : void
cpu ICpu
Результат void

OpcodePushScope() защищенный Метод

This variant of the constructor is just for ML file save/load to use.
protected OpcodePushScope ( ) : System
Результат System

OpcodePushScope() публичный Метод

Push a scope frame that knows the id of its lexical parent scope.
public OpcodePushScope ( Int16 id, Int16 parentId ) : System
id System.Int16 the unique id of this scope frame.
parentId System.Int16 the unique id of the scope frame this scope is inside of.
Результат System

PopulateFromMLFields() публичный Метод

public PopulateFromMLFields ( List fields ) : void
fields List
Результат void

ToString() публичный Метод

public ToString ( ) : string
Результат string