AjTalk.Language.Block.CompileByteCode C# (CSharp) Method

CompileByteCode() public method

public CompileByteCode ( ByteCode b, byte arg ) : void
b ByteCode
arg byte
return void
        public void CompileByteCode(ByteCode b, byte arg)
        {
            this.CompileByteCode(b);
            this.CompileByte(arg);
        }

Same methods

Block::CompileByteCode ( ByteCode b ) : void
Block::CompileByteCode ( ByteCode b, byte arg1, byte arg2 ) : void

Usage Example

示例#1
0
        public void CompileAndExecuteGetDotNetType()
        {
            Block block;

            block = new Block();
            block.CompileGetDotNetType("System.IO.FileInfo");
            block.CompileByteCode(ByteCode.ReturnPop);

            object obj = block.Execute(null, null);

            Assert.IsNotNull(obj);
            Assert.IsInstanceOfType(obj, typeof(System.Type));
        }
All Usage Examples Of AjTalk.Language.Block::CompileByteCode