StringConstant() private method

private StringConstant ( ) : int
return int
コード例 #1
0
ファイル: Compiler.cs プロジェクト: robotii/Wren.NET
        private static void string_(Compiler c, bool allowAssignment)
        {
            int constant = c.StringConstant();

            // Compile the code to load the constant.
            c.EmitShortArg(Instruction.CONSTANT, constant);
        }