亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? rtl.h

?? c-smile 一個語法類似與JS 又有點像C++的 編譯器
?? H
?? 第 1 頁 / 共 2 頁
字號:
    STREAM ( PACKAGE* package );

    static VALUE put       ( int argc, VALUE *argv );
    static VALUE printf    ( int argc, VALUE *argv );
    static VALUE get       ( int argc, VALUE *argv );
    static VALUE read      ( int argc, VALUE *argv );
    static VALUE write     ( int argc, VALUE *argv );
    static VALUE size      ( int argc, VALUE *argv );
    static VALUE position  ( int argc, VALUE *argv );
    static VALUE close     ( int argc, VALUE *argv );
    static VALUE get_match ( int argc, VALUE *argv );
    static VALUE src       ( int argc, VALUE *argv );
    static VALUE eof       ( int argc, VALUE *argv );

    static void fill_params ( array<string>& params, int argc, VALUE *argv );

  };

  class NODE: public CLASS
  {
  public:
    class INSTANCE : public THING
    {
    public:
      string path;

      INSTANCE  ()
      {
      }

      INSTANCE ( const char *p ) : path ( p )
      {
      }

      ~INSTANCE  ()
      {
      }

      CLASS *
        get_class ()
      {
        return klass;
      }

      virtual size_t
        allocated_size ()
      {
        return sizeof ( INSTANCE );
      }

      static CLASS * klass;
    };

    NODE ( PACKAGE* package ) : CLASS ( "node", 0, package )
    {
      add_function ( "toString",    tostring    );
      add_function ( "node",        ctor        );
      add_function ( "remove",      remove      );
      add_function ( "make_folder", make_folder );
      add_function ( "rename",      rename      );
      add_property ( "path",        path        );

      add_function ( "stream",      stream      );
      add_function ( "nodes",       nodes       );

      add_property ( "size",        size        );

      add_property ( "ctime",       ctime       );
      add_property ( "mtime",       mtime       );
      add_property ( "atime",       atime       );

      add_property ( "drive",       drive       );
      add_property ( "dir",         dir         );
      add_property ( "name",        name        );
      add_property ( "extension",   extension   );
      add_property ( "name_extension", name_extension );
      add_property ( "exist",       exist       );

      add_property ( "is_file",     is_file     );
      add_property ( "is_folder",   is_folder   );

      add_property ( "can_read",    can_read    );
      add_property ( "can_write",   can_write   );
      add_property ( "can_exec",    can_exec    );
      add_property ( "is_pipe",     is_pipe     );
      add_property ( "is_link",     is_link     );

#ifdef _WIN32
      add_static_data ( "path_separator", VALUE ( "\\" ) );
#else
      add_static_data ( "path_separator", VALUE ( "/" ) );
#endif

      //enum access_mode
      add_static_data ( "a_read",      VALUE ( int ( sal::file::fa_read ) ) );
      add_static_data ( "a_write",     VALUE ( int ( sal::file::fa_write ) ) );
      add_static_data ( "a_readwrite", VALUE ( int ( sal::file::fa_readwrite ) ) );

      //enum open_mode
      add_static_data ( "o_truncate",  VALUE ( int ( sal::file::fo_truncate ) ) );
      add_static_data ( "o_create",    VALUE ( int ( sal::file::fo_create ) ) );
      add_static_data ( "o_random",    VALUE ( int ( sal::file::fo_random ) ) );
      add_static_data ( "o_exclusive", VALUE ( int ( sal::file::fo_exclusive ) ) );
      add_static_data ( "o_shared",    VALUE ( int ( sal::file::fo_shared ) ) );

      INSTANCE::klass = this;
    }
    static VALUE ctor         ( int argc, VALUE *argv );
    static VALUE size         ( int argc, VALUE *argv );
    static VALUE stream       ( int argc, VALUE *argv );
    static VALUE nodes        ( int argc, VALUE *argv );
    static VALUE ctime        ( int argc, VALUE *argv );
    static VALUE mtime        ( int argc, VALUE *argv );
    static VALUE atime        ( int argc, VALUE *argv );
    static VALUE drive        ( int argc, VALUE *argv );
    static VALUE dir          ( int argc, VALUE *argv );
    static VALUE name         ( int argc, VALUE *argv );
    static VALUE name_extension ( int argc, VALUE *argv );
    static VALUE extension    ( int argc, VALUE *argv );
    static VALUE exist        ( int argc, VALUE *argv );
    static VALUE remove       ( int argc, VALUE *argv );
    static VALUE path         ( int argc, VALUE *argv );
    static VALUE is_file      ( int argc, VALUE *argv );
    static VALUE is_folder    ( int argc, VALUE *argv );
    static VALUE tostring     ( int argc, VALUE *argv );
    static VALUE make_folder  ( int argc, VALUE *argv );
    static VALUE rename       ( int argc, VALUE *argv );
    static VALUE do_mode_prop ( int argc, VALUE *argv, int mask );
    static VALUE can_read     ( int argc, VALUE *argv );
    static VALUE can_write    ( int argc, VALUE *argv );
    static VALUE can_exec     ( int argc, VALUE *argv );
    static VALUE is_pipe      ( int argc, VALUE *argv );
    static VALUE is_link      ( int argc, VALUE *argv );

    static void error_ne      ( INSTANCE *me );
    static void error_nf      ( INSTANCE *me );
    static void error_nd      ( INSTANCE *me );
    static void error_access  ( INSTANCE *me );

  };


  class SOCKET: public CLASS
  {
  public:
    class INSTANCE : public THING
    {
    public:
      sal::socket_t *              socket;
      sal::socket_t::socket_domain domain;
      bool                         server;     // listening socket
      unsigned int                 streams;

      INSTANCE () : socket ( 0 ), streams ( 0 ), server ( false ),
                    domain ( sal::socket_t::sock_any_domain )
      {
      }

      ~INSTANCE  ()
      {
      }

      CLASS *
        get_class ()
      {
        return klass;
      }

      virtual size_t
        allocated_size ()
      {
        return sizeof ( INSTANCE );
      }

      static CLASS * klass;
    };

    SOCKET ( PACKAGE* package );

    static VALUE socket       ( int argc, VALUE *argv );
    static VALUE accept       ( int argc, VALUE *argv );
    static VALUE connect      ( int argc, VALUE *argv );
    static VALUE close        ( int argc, VALUE *argv );
    static VALUE stream       ( int argc, VALUE *argv );
    static VALUE remote_addr  ( int argc, VALUE *argv );
    static VALUE remote_port  ( int argc, VALUE *argv );
    static VALUE addr         ( int argc, VALUE *argv );
    static VALUE port         ( int argc, VALUE *argv );
    static VALUE name_by_addr ( int argc, VALUE *argv );
    static VALUE addr_by_name ( int argc, VALUE *argv );
    static VALUE hostname     ( int argc, VALUE *argv );
    static VALUE shutdown     ( int argc, VALUE *argv );

  };


  class BLOB: public CLASS
  {
  public:
    class INSTANCE : public THING
    {
    public:
      BUFFER data;

      INSTANCE  ()
      {
      }

      ~INSTANCE  ()
      {
      }

      CLASS *
        get_class ()
      {
        return klass;
      }

      virtual size_t
        allocated_size ()
      {
        return sizeof ( INSTANCE );
      }

      static CLASS * klass;
    };

    BLOB ( PACKAGE* package ) : CLASS ( "blob", 0, package  )
    {
      add_function ( "blob",   ctor   );
      add_property ( "length", length );
      add_function ( "[]",     item   );
      INSTANCE::klass = this;
    }

    static VALUE ctor      ( int argc, VALUE *argv );
    static VALUE length    ( int argc, VALUE *argv );
    static VALUE item      ( int argc, VALUE *argv );
    static VALUE item_type ( int argc, VALUE *argv );

  };

  class REGEXP: public CLASS
  {
  public:
    class  INSTANCE : public THING
    {
      friend class REGEXP;

      string expression;
      bool   compiled;
      regexp re;

    public:

      INSTANCE  () : compiled ( false )
      {
      }

      ~INSTANCE  ()
      {
      }

      CLASS *
        get_class ()
      {
        return klass;
      }

      virtual size_t
        allocated_size ()
      {
        return sizeof ( INSTANCE );
      }
      static CLASS * klass;
    };

    REGEXP ( PACKAGE* package ) : CLASS ( "regexp", 0, package )
    {
      add_function ( "toString", tostring );
      add_function ( "regexp",   ctor     );
      add_function ( "match",    match    );
      add_function ( "test",     test     );
      add_function ( "compile",  compile  );
      add_function ( "[]",       item     );
      add_property ( "length",   length   );
      add_function ( "split",    split    );

      INSTANCE::klass = this;
    }

    static VALUE ctor     ( int argc, VALUE *argv );
    static VALUE tostring ( int argc, VALUE *argv );
    static VALUE match    ( int argc, VALUE *argv );
    static VALUE test     ( int argc, VALUE *argv );
    static VALUE compile  ( int argc, VALUE *argv );
    static VALUE item     ( int argc, VALUE *argv );
    static VALUE length   ( int argc, VALUE *argv );
    static VALUE split    ( int argc, VALUE *argv );

  };

};

#endif

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
精品国产91乱码一区二区三区 | 最新久久zyz资源站| 狠狠色狠狠色综合日日91app| 精品乱人伦小说| 国产麻豆日韩欧美久久| 中文字幕欧美区| 在线欧美日韩国产| 日韩电影免费一区| 26uuu欧美| 91在线视频在线| 三级欧美韩日大片在线看| 精品日韩欧美一区二区| 成人激情综合网站| 午夜av区久久| 国产亚洲婷婷免费| 色欧美日韩亚洲| 美女高潮久久久| 中文字幕一区在线观看| 欧美日韩不卡视频| 国产精品综合网| 欧美精品少妇一区二区三区 | 中文字幕字幕中文在线中不卡视频| 99久久精品国产精品久久| 亚洲国产日韩综合久久精品| 欧美mv和日韩mv的网站| av电影一区二区| 免费高清成人在线| 国产精品传媒入口麻豆| 欧美人成免费网站| 成人福利电影精品一区二区在线观看| 亚洲国产视频a| 欧美国产1区2区| 51精品国自产在线| 99精品欧美一区二区三区小说| 日韩av在线播放中文字幕| 中文字幕中文乱码欧美一区二区| 日韩一区二区电影| 色综合天天狠狠| 国产成人av一区二区三区在线| 亚洲福利视频三区| 成人免费一区二区三区视频| 精品日韩欧美在线| 91在线云播放| 欧美日韩一区二区三区高清 | 日韩一区二区影院| 色婷婷亚洲一区二区三区| 国产精一品亚洲二区在线视频| 亚洲成在人线免费| 中文字幕制服丝袜成人av| 久久亚洲一区二区三区明星换脸| 欧美情侣在线播放| 91久久久免费一区二区| 成人动漫中文字幕| 国产精品自拍三区| 另类专区欧美蜜桃臀第一页| 天堂影院一区二区| 亚洲专区一二三| 亚洲婷婷在线视频| 国产精品欧美一区二区三区| 久久久久国色av免费看影院| 日韩精品一区二区三区视频在线观看 | 精品国免费一区二区三区| 色拍拍在线精品视频8848| 成人一区二区在线观看| 精品在线播放午夜| 精品在线播放免费| 久久国产精品第一页| 蜜臀av性久久久久蜜臀aⅴ四虎 | 国产不卡视频一区| 国产在线乱码一区二区三区| 精品一区二区三区蜜桃| 美美哒免费高清在线观看视频一区二区 | 亚洲精品视频免费观看| 国产精品国产三级国产a | 亚洲va国产va欧美va观看| 亚洲女人的天堂| 美女脱光内衣内裤视频久久网站| 亚洲欧美另类久久久精品| 国产免费成人在线视频| 久久精品视频一区二区| 久久久久久久久久久黄色| 久久亚洲一区二区三区四区| 久久精品在线免费观看| 久久精品夜夜夜夜久久| 国产欧美一区二区在线观看| 亚洲国产成人自拍| 亚洲欧美日韩国产综合| 亚洲丝袜精品丝袜在线| 一区二区三区在线高清| 亚洲成人激情av| 免费高清在线一区| 国产成人免费网站| av电影一区二区| 欧美天堂一区二区三区| 日韩欧美色综合网站| 欧美成人福利视频| 欧美国产日产图区| 亚洲人成影院在线观看| 五月婷婷色综合| 裸体一区二区三区| 久久国产尿小便嘘嘘| 国产99久久久国产精品免费看| 99精品久久只有精品| 欧美日韩一级视频| 精品久久久久久久久久久久包黑料| 国产亚洲精品资源在线26u| 中文字幕一区在线| 亚洲成人福利片| 国产成人精品综合在线观看 | 一区二区三区在线免费视频| 免费成人在线观看视频| 成人福利电影精品一区二区在线观看| 欧洲激情一区二区| 久久久久久久久岛国免费| 亚洲综合激情另类小说区| 国产一区在线看| 欧亚洲嫩模精品一区三区| 久久―日本道色综合久久| 一区二区三区不卡在线观看| 韩国三级在线一区| 欧洲人成人精品| 欧美国产一区视频在线观看| 日韩国产欧美视频| 99麻豆久久久国产精品免费| 欧美一区二区久久久| 亚洲婷婷国产精品电影人久久| 同产精品九九九| 在线看国产日韩| 国产亚洲欧美在线| 性久久久久久久久| 国产精品系列在线播放| 制服丝袜亚洲色图| 亚洲色图制服诱惑 | 婷婷综合久久一区二区三区| 国产寡妇亲子伦一区二区| 91精品综合久久久久久| 自拍av一区二区三区| 国产成人精品亚洲日本在线桃色| 91精品国产黑色紧身裤美女| 依依成人综合视频| 青青草91视频| 亚洲精品一线二线三线 | 国产精品免费aⅴ片在线观看| 视频一区二区中文字幕| 91麻豆精品在线观看| 国产欧美精品一区二区三区四区 | 欧美videos大乳护士334| 亚洲三级在线免费观看| 激情综合五月天| 日韩一区二区在线观看视频| 亚洲va欧美va人人爽| 日本高清不卡在线观看| 国产精品久久久久久久久动漫| 国产呦萝稀缺另类资源| 日韩精品一区二区三区四区| 免费亚洲电影在线| 欧美日韩第一区日日骚| 一区二区成人在线视频| 成人午夜电影久久影院| 国产校园另类小说区| 国产精品一品视频| 国产欧美va欧美不卡在线| 国产成人精品免费网站| 亚洲国产精品高清| 成人激情午夜影院| 久久久国产午夜精品| hitomi一区二区三区精品| 久久亚洲捆绑美女| 美腿丝袜亚洲一区| 2020国产精品| 国产电影一区二区三区| 中文字幕av一区二区三区| 成人精品高清在线| 亚洲乱码日产精品bd| 色综合天天性综合| 亚洲永久精品大片| 欧美久久免费观看| 免费观看91视频大全| 日韩欧美二区三区| 国产不卡视频一区| 亚洲欧美色一区| 欧美另类videos死尸| 麻豆91小视频| 国产精品久久国产精麻豆99网站 | 一本到三区不卡视频| 一区二区三区资源| 欧美日韩mp4| 久久99最新地址| 亚洲欧洲另类国产综合| 欧美三级中文字| 黄色日韩网站视频| 最好看的中文字幕久久| 欧美久久一区二区| 国产精品夜夜嗨| 亚洲图片有声小说| 国产成人精品亚洲午夜麻豆| 国产日本一区二区| 91网页版在线| 青青草国产精品97视觉盛宴| 欧美国产日韩亚洲一区|