Пример #1
0
 public override AstNode Visit(SByteConstant node)
 {
     if(node.GetNodeValue() == null)
         node.SetNodeValue(new ConstantValue(node.GetValue()));
     return node;
 }
Пример #2
0
        public override AstNode Visit(SByteConstant node)
        {
            // Begin the node.
            builder.BeginNode(node);

            // Load the constant.
            builder.CreateLoadInt8(node.GetValue());

            // Finish.
            return builder.EndNode();
        }