Boo.Lang.Compiler.Steps.EmitAssembly.OnBoolLiteralExpression C# (CSharp) Method

OnBoolLiteralExpression() public method

public OnBoolLiteralExpression ( BoolLiteralExpression node ) : void
node Boo.Lang.Compiler.Ast.BoolLiteralExpression
return void
        public override void OnBoolLiteralExpression(BoolLiteralExpression node)
        {
            if (node.Value)
            {
                _il.Emit(OpCodes.Ldc_I4_1);
            }
            else
            {
                _il.Emit(OpCodes.Ldc_I4_0);
            }
            PushBool();
        }
EmitAssembly