write() 공개 추상적인 메소드

public abstract write ( String s ) : void
s String
리턴 void
예제 #1
0
 public override void write( output_port  p )
 {
     p.write( "#<" );
       foreign.write_object( key, p );
       for ( int i= 0 ; i < values.Length ; ++i )
       {
     p.write( " " );
     foreign.write_object( values[i], p );
       }
       p.write( ">" );
 }
예제 #2
0
파일: exit.cs 프로젝트: mbrock/bigloo-llvm
        public void write( output_port  p )
        {
            p.write( "<exit" );

              for( exit i= this ; i != null ; i= i.prev )
              {
            p.write( " " );
            p.write( i.stamp );
              }

              p.write(">");
        }
예제 #3
0
파일: pair.cs 프로젝트: mbrock/bigloo-llvm
        public override void write( output_port  p )
        {
            p.write( "(" );
              foreign.write_object( car, p );

              Object rest= cdr;

              while (rest is pair)
              {
               pair c= (pair)rest;

            p.write( " " );
            foreign.write_object( c.car, p );
            rest= c.cdr;
              }
              if (rest != nil._nil)
              {
            p.write( " . " );
            foreign.write_object( rest, p );
              }
              p.write( ")" );
        }
예제 #4
0
 public override void write( output_port  p )
 {
     p.write( "[PORT " + name + " @" + filepos + "-" + matchstart + "." + forward + "." + matchstop + "-" + bufsiz + "." + bufpos + "]" );
 }
예제 #5
0
 public static Object write_utf8string( byte[] s, output_port p )
 {
     p.write( ucs2_string_to_utf8_string( "#u\"" + foreign.newstring( s ) + "\"" ) );
     return p;
 }
예제 #6
0
 public static Object write_string( byte[] s, bool b, output_port p )
 {
     if (b)
        p.write( (byte)'#' );
     p.write( (byte)'\"' );
     p.write( s );
     p.write( (byte)'\"' );
     return p;
 }
예제 #7
0
 public static Object write_llong( long n, output_port p )
 {
     p.write( (byte)'#' );
     p.write( (byte)'l' );
     p.write( n.ToString() );
     return p;
 }
예제 #8
0
 public static Object display_ucs2string( char[] s, output_port p )
 {
     p.write( new String( s ) );
     return p;
 }
예제 #9
0
 public static Object display_substring( byte[] s, int start, int end, output_port p )
 {
     p.write( s, start, end );
     return p;
 }
예제 #10
0
파일: real.cs 프로젝트: mbrock/bigloo-llvm
 public override void write( output_port  p )
 {
     p.write( value.ToString() );
 }
예제 #11
0
 public override void write( output_port  p )
 {
     p.write( "#<" );
       p.write( header );
       p.write( ">" );
 }
예제 #12
0
 public override void write( output_port  p )
 {
     p.write( "#<binary:port:" );
     p.write( stream.ToString() );
     p.write( ">" );
 }
예제 #13
0
 public override void write( output_port  p )
 {
     p.write( "#e" + value );
 }
예제 #14
0
 public override void write( output_port  p )
 {
     p.write( "#<input_pipe_port:" + name + ">" );
 }
예제 #15
0
 public override void write( output_port p )
 {
     p.write( "#<output_port: " + foreign.newstring( name ) + ">" );
 }
예제 #16
0
 public static Object display_llong( long n, output_port p )
 {
     p.write( n.ToString() );
     return p;
 }
예제 #17
0
 public static Object display_string( byte[] s, output_port p )
 {
     p.write( s );
     return p;
 }
예제 #18
0
 public override void write( output_port p )
 {
     p.write( pname );
 }
예제 #19
0
        public static Object display_ucs2( bucs2        s,
					 output_port p )
        {
            p.write( s.value );
            return p;
        }
예제 #20
0
 public override void write( output_port  p )
 {
     p.write( "#<socket:" + foreign.newstring( HOSTNAME() ) + "." + PORT() + ">" );
 }
예제 #21
0
        public static Object write_char( bchar c, output_port p )
        {
            int cn= c.value & 0xFF;

            if ((0 < cn) && (cn < 128))
            {
               String rep= char_name[cn];

               if (rep.Length != 0)
               {
              p.write( "#\\" );
              p.write( rep );
              return p;
               }
            }

            p.write( "#a" );
            p.write( ((byte)'0') + (cn / 100) );
            p.write( ((byte)'0') + ((cn / 10) % 10) );
            p.write( ((byte)'0') + (cn % 10) );

            return p;
        }
예제 #22
0
 public override void write( output_port p )
 {
     p.write("#<weakptr:");
       foreign.write_object(getData(), p);
       p.write(">");
 }
예제 #23
0
 public static Object write_object( Object o, output_port p )
 {
     if (o == null)
        p.write( "#<.NET:null>" );
     else
        if (o is obj)
       ((obj)o).write( p );
        else
       p.write( o.ToString() );
     return p;
 }
예제 #24
0
 public static Object bgl_write_bignum( bignum n, output_port p )
 {
     p.write( (byte)'#' );
     p.write( (byte)'z' );
     p.write( n.value.ToString() );
     return p;
 }
예제 #25
0
        public static Object write_ucs2( bucs2        s,
				       output_port p )
        {
            int          value= s.value;

            p.write( "#u" );
            p.write( hexa[ (value & 0xf000) >> 12 ] );
            p.write( hexa[ (value & 0x0f00) >> 8 ] );
            p.write( hexa[ (value & 0x00f0) >> 4 ] );
            p.write( hexa[ (value & 0x000f) ] );

            return p;
        }
예제 #26
0
 public static Object display_char( byte cn, output_port p )
 {
     p.write( cn );
     return p;
 }
예제 #27
0
 public static Object bgl_display_bignum( bignum n, output_port p )
 {
     p.write( n.value.ToString() );
     return p;
 }
예제 #28
0
 public static Object display_fixnum( bint n, output_port p )
 {
     p.write( n.value.ToString() );
     return p;
 }
예제 #29
0
 public override void write( output_port  p )
 {
     p.write( "#<socket:" +
       ((IPEndPoint)_server_socket.LocalEndPoint).Address +
       ":" + PORT() + ">" );
 }
예제 #30
0
 public static Object display_flonum( real n, output_port p )
 {
     p.write( n.value.ToString() );
     return p;
 }