SourceFormatX

軟體簡介

主要功能

為什麼要使用

源碼美化演示

整合和插件

界面預覽

常見問題

升級歷史

所獲獎項

用戶評價

許可協議

CodeToHtml

CORBA IDL原始碼美化效果演示

現在購買
下載試用

程式碼美化工具功能

SourceFormatX 使用強大的IDL詞法解析引擎全面地分析您的原始碼並根據用戶自定義的CORBA IDL原始碼風格重構和美化CORBA IDL原始碼檔案,因此它能精細地根據不同的原始碼風格美化多種原始碼,甚至是下面這些極度混亂的原始碼:

C/C++ Java C# Delphi (Pascal)
PHP JSP ASP JavaScript
Visual Basic VB.NET VBScript HTML Components
80x86 ASM 8051 ASM CORBA IDL


這是一個 CORBA IDL 原始碼美化的範例,其目的是為了展示 SourceFormatX IDL程式碼美化工具 詞法解析引擎的威力。這份混亂的CORBA IDL原始碼檔案在1秒種內即被SourceFormatX美化和縮排成整潔的版式。

  <!-- 原始碼美化之前的CORBA IDL原始碼 -->

  #include "CosEventComm.idl"
  #pragma javaPackage org.omg
  #pragma prefix "omg.org"
  module CosEventChannelAdmin{exception AlreadyConnected {};exception TypeError {};
  interface ProxyPushConsumer: CosEventComm::PushConsumer {
  void connect_push_supplier(in CosEventComm::PushSupplier push_supplier)
  raises(AlreadyConnected);};interface ProxyPullSupplier:CosEventComm::PullSupplier{
  void connect_pull_consumer(in CosEventComm::PullConsumer pull_consumer)raises
  (AlreadyConnected);};interface ProxyPullConsumer: CosEventComm::PullConsumer {
  void connect_pull_supplier(in CosEventComm::PullSupplier pull_supplier)
  raises(AlreadyConnected,TypeError);};
  interface ProxyPushSupplier: CosEventComm::PushSupplier {void connect_push_consumer(
  in CosEventComm::PushConsumer push_consumer)raises(AlreadyConnected, TypeError);};
  interface ConsumerAdmin {ProxyPushSupplier obtain_push_supplier();
  ProxyPullSupplier obtain_pull_supplier();};interface SupplierAdmin {
  ProxyPushConsumer obtain_push_consumer();ProxyPullConsumer obtain_pull_consumer();};
  interface EventChannel {ConsumerAdmin for_consumers();
  SupplierAdmin for_suppliers();void destroy();};};

  <!-- 原始碼美化之後的CORBA IDL原始碼 -->

  #include "CosEventComm.idl"
  #pragma javaPackage org.omg
  #pragma prefix "omg.org"

  module CosEventChannelAdmin
  {
    exception AlreadyConnected{};
    exception TypeError{};

    interface ProxyPushConsumer: CosEventComm::PushConsumer
    {
      void connect_push_supplier(in CosEventComm::PushSupplier push_supplier)
        raises(AlreadyConnected);
    };

    interface ProxyPullSupplier: CosEventComm::PullSupplier
    {
      void connect_pull_consumer(in CosEventComm::PullConsumer pull_consumer)
        raises(AlreadyConnected);
    };

    interface ProxyPullConsumer: CosEventComm::PullConsumer
    {
      void connect_pull_supplier(in CosEventComm::PullSupplier pull_supplier)
        raises(AlreadyConnected, TypeError);
    };

    interface ProxyPushSupplier: CosEventComm::PushSupplier
    {
      void connect_push_consumer(in CosEventComm::PushConsumer push_consumer)
        raises(AlreadyConnected, TypeError);
    };

    interface ConsumerAdmin
    {
      ProxyPushSupplier obtain_push_supplier();
      ProxyPullSupplier obtain_pull_supplier();
    };

    interface SupplierAdmin
    {
      ProxyPushConsumer obtain_push_consumer();
      ProxyPullConsumer obtain_pull_consumer();
    };

    interface EventChannel
    {
      ConsumerAdmin for_consumers();
      SupplierAdmin for_suppliers();
      void destroy();
    };
  };

  不要再浪費寶貴的時間手動整理美化CORBA IDL語言原始碼了! 現在就下載SourceFormatX原始碼美化工具