JPH08286897A - Program editing device having hierarchical structure display function - Google Patents

Program editing device having hierarchical structure display function

Info

Publication number
JPH08286897A
JPH08286897A JP7093849A JP9384995A JPH08286897A JP H08286897 A JPH08286897 A JP H08286897A JP 7093849 A JP7093849 A JP 7093849A JP 9384995 A JP9384995 A JP 9384995A JP H08286897 A JPH08286897 A JP H08286897A
Authority
JP
Japan
Prior art keywords
source program
program
displayed
management table
procedure
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP7093849A
Other languages
Japanese (ja)
Inventor
Masahiko Kojima
政彦 小島
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP7093849A priority Critical patent/JPH08286897A/en
Publication of JPH08286897A publication Critical patent/JPH08286897A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE: To provide a program editing device displaying a source program hierarchically based on a structure analysis result such as each function and each procedure when the source program is displayed and edited. CONSTITUTION: The program editer used for editing such as generating and correction of a source program is provided with a structural processing section 5 extracting a call section such as a call function described in the source program and a procedure definition section to analyze the source program structurally, a management table 7 managing the position information obtained by the analysis, and a control section 4 controlling the entire editer so as to window-display the procedure definition section on request together with a source screen being displayed based on position information managed by the management table 7 when the source program is displayed and the display of the procedure definition section of a call function or the like is requested while designating a call section of any call function or the like being displayed.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、ソースプログラムの作
成、修正等の編集作業に適用して好適なプログラム編集
装置に係り、特に呼び出し関数等の呼び出し部と手続き
定義部とを階層的にウインドウ表示することによりプロ
グラム開発の生産性を飛躍的に向上させることを可能と
するプログラム編集装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a program editing apparatus suitable for application to editing operations such as creation and modification of source programs, and more particularly to a window for calling portions such as calling functions and a procedure defining portion in a hierarchical manner. The present invention relates to a program editing device capable of dramatically improving the productivity of program development by displaying.

【0002】[0002]

【従来の技術】従来、エディタやワープロ等でソースプ
ログラムを編集する際に、例えば画面に表示中の呼び出
し関数等の呼び出し部について、その定義部を見たいと
いったようなときには、この関数が定義されている部分
を検索により見つけるか、又は予め関数定義位置にタグ
をつけておき、このタグを使ってジャンプする等の操作
が行われていた。
2. Description of the Related Art Conventionally, when editing a source program with an editor or word processor, for example, when it is desired to see the definition section of a calling function or the like displayed on the screen, this function is defined. An operation such as finding the part in which it is found by searching or attaching a tag to the function definition position in advance and jumping using this tag has been performed.

【0003】[0003]

【発明が解決しようとする課題】上述したように、従
来、エディタやワープロ等でソースプログラムを編集す
る際に、例えば、画面に表示中の呼び出し関数等の呼び
出し部について、その定義部を見たいといったようなと
きには、この関数が定義されている部分を検索で見つけ
るか、又は予め関数定義位置にタグをつけておき、この
タグを使ってジャンプする等の操作が行われていた。
As described above, when editing a source program with an editor or word processor, it is desirable to see the definition part of the calling part such as the calling function displayed on the screen. In such a case, a part where this function is defined is found by searching, or a tag is attached to the function definition position in advance, and an operation such as jumping using this tag is performed.

【0004】しかし、これらの操作は非常に煩わしい操
作であり、また、事前の準備を必要とするものであるた
め、プログラム開発の生産性を著しく低下させる原因と
なっていた。
However, these operations are very cumbersome operations and require advance preparations, which has been a cause of markedly reducing the productivity of program development.

【0005】本発明は上記実情に鑑みなされたものであ
り、ソースプログラムを表示、編集する場合において、
各関数や手続きの構造を解析しこれらを階層的に表示す
ることにより、ソースプログラムの編集作業等の効率化
を図ることを可能とする階層構造表示機能を有するプロ
グラム編集装置を提供することを目的とする。
The present invention has been made in view of the above circumstances, and in displaying and editing a source program,
An object of the present invention is to provide a program editing device having a hierarchical structure display function capable of improving the efficiency of source program editing work by analyzing the structure of each function and procedure and displaying them hierarchically. And

【0006】[0006]

【課題を解決するための手段】本発明は、ソースプログ
ラムの作成、修正等の編集作業に使用されるプログラム
編集装置において、上記ソースプログラムに記述された
呼び出し関数等の呼び出し部及び手続き定義部を抽出し
てそのソースプログラムを構造的に解析する手段と、こ
の解析により得られる上記手続き定義部の位置情報を管
理する管理テーブルと、上記ソースプログラムを表示し
た際、表示中のいずれかの呼び出し部を指定してその手
続き定義部の表示を要求されたときに、この要求された
手続き定義部を上記管理テーブルに管理された位置情報
に基づいて表示中の元画面とともにウインドウ表示する
手段とを具備してなることを特徴とする。
According to the present invention, in a program editing device used for editing work such as creating and modifying a source program, a calling part such as a calling function described in the source program and a procedure defining part are provided. Means for extracting and structurally analyzing the source program, a management table for managing the position information of the procedure definition section obtained by this analysis, and one of the calling sections being displayed when the source program is displayed And means for displaying the requested procedure definition section in a window together with the original screen being displayed based on the position information managed by the management table when the procedure definition section is requested to be displayed. It is characterized by being done.

【0007】また、本発明は、さらに上記ソースプログ
ラムを格納するファイルを複数指定する手段を具備し、
上記ソースプログラムが複数のファイルから構成され、
かつ上記呼び出し部とその手続き定義部とが異なるファ
イルに格納された場合であっても、上記呼び出し部及び
手続き定義部を同一画面上にて表示することを特徴とす
る。
The present invention further comprises means for designating a plurality of files for storing the above source program,
The above source program consists of multiple files,
Even if the calling unit and the procedure definition unit are stored in different files, the calling unit and the procedure definition unit are displayed on the same screen.

【0008】また、本発明は、さらに上記ソースプログ
ラムの編集に伴って、上記管理テーブルにより管理され
る上記手続き定義部の位置情報を動的に更新する手段を
具備してなることを特徴とする。
Further, the present invention is characterized by further comprising means for dynamically updating the position information of the procedure definition section managed by the management table in accordance with the editing of the source program. .

【0009】[0009]

【作用】本発明の構成によれば、解析手段が、編集対象
のソースプログラムに記述された呼び出し関数等の呼び
出し部及び手続き定義部を抽出してそのソースプログラ
ムを構造的に解析する。そして、この解析により得られ
るこれら手続き定義部の位置情報を管理テーブルにより
管理する。これらの位置情報としては、手続き定義部そ
れぞれのファイル内の位置やバッファ内の位置を示すポ
インタ等が管理される。
According to the structure of the present invention, the analyzing means extracts the calling portion such as the calling function described in the source program to be edited and the procedure defining portion and structurally analyzes the source program. Then, the position information of these procedure definition parts obtained by this analysis is managed by the management table. As the position information, pointers indicating the position in the file of each procedure definition part and the position in the buffer are managed.

【0010】また、編集対象のソースプログラムを表示
中に、この表示された画面内に存在するいずれかの呼び
出し部が指定され、この呼び出し部の手続き定義部の表
示を要求されたときに、表示手段は、管理テーブルによ
り管理された位置情報からその手続き定義部の格納箇所
を得て、表示中の元画面とともにその手続き定義部をウ
インドウ表示する。
Further, when the source program to be edited is being displayed, one of the calling parts existing in the displayed screen is designated, and when the display of the procedure definition part of the calling part is requested, it is displayed. The means obtains the storage location of the procedure definition section from the position information managed by the management table, and displays the procedure definition section in a window together with the original screen being displayed.

【0011】これにより作業者は、簡単な操作を行うの
みで、同一画面内に呼び出し元の記述箇所と呼び出され
る側の手続き記述箇所とを表示させることができ、プロ
グラム開発の生産性を飛躍的に向上させることが可能と
なる。
With this, the operator can display the caller's description part and the called side's procedure description part in the same screen by only performing a simple operation, which dramatically improves the productivity of program development. It is possible to improve.

【0012】また、本発明の構成によれば、例えば総ス
テップ数がかなりの量に上る大型プログラムを編集対象
としたような場合であって、かつそのソースプログラム
が複数のファイルに収められているような場合に、指定
手段によりその複数のファイルそれぞれを指定する。そ
して、解析手段は、この指定に従って解析を行い、管理
テーブルは、複数ファイルにわたる位置情報を管理す
る。
Further, according to the structure of the present invention, for example, when a large program having a considerable number of total steps is to be edited, and the source program is stored in a plurality of files. In such a case, the specifying means specifies each of the plurality of files. Then, the analysis means analyzes according to this designation, and the management table manages the position information over a plurality of files.

【0013】これにより、いずれかのファイルに収めら
れたソースプログラムを表示中、他のファイルに収めら
れた呼び出し部の手続き定義部の表示が要求されたとき
であっても、上述と同様の表示を実現することが可能で
ある。
As a result, while the source program stored in one of the files is being displayed, even when the display of the procedure definition section of the calling section contained in another file is requested, the same display as described above is displayed. Can be realized.

【0014】また、本発明の構成によれば、更新手段
が、ソースプロスラムの編集に伴って、管理テーブルに
管理される呼び出し関数等の手続き定義部それぞれの位
置情報を動的に更新する。即ち、ソースプロスラムの編
集作業によりファイルの格納箇所が変更されたような場
合であっても、何等影響を受けることなく所望の表示を
提供することが可能となる。
Further, according to the structure of the present invention, the updating means dynamically updates the position information of each procedure definition part such as a calling function managed in the management table in accordance with the editing of the source program. That is, even when the storage location of the file is changed by the editing work of the source program, it is possible to provide a desired display without any influence.

【0015】[0015]

【実施例】以下図面を参照して本発明の一実施例を説明
する。図1は同実施例に係るプログラム編集装置の概略
構成を示すブロック図である。
An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing a schematic configuration of the program editing device according to the embodiment.

【0016】図1に示すように、同実施例に係るプログ
ラム編集装置1は、入力部2、表示部3、制御部4、構
造化処理部5、管理テーブル変更部6、管理テーブル
7、バッファ削除生成部及びバッファ9を具備してな
る。
As shown in FIG. 1, the program editing apparatus 1 according to the embodiment has an input unit 2, a display unit 3, a control unit 4, a structuring processing unit 5, a management table changing unit 6, a management table 7, and a buffer. It comprises a deletion generator and a buffer 9.

【0017】入力部2は、キーボードやマウス等を介し
て行われる作業者の指示を入力するものであり、表示部
3は、編集対象のソースプログラムについて作業者が所
望する表示を行うものである。また、制御部4は、プロ
グラム編集装置1全体の制御を司るものである。
The input unit 2 is for inputting an operator's instruction through a keyboard, a mouse or the like, and the display unit 3 is for displaying the source program to be edited as desired by the operator. . The control unit 4 controls the entire program editing device 1.

【0018】構造化処理部5は、編集対象のソースプロ
グラムに記述された呼び出し関数を検出してそのプログ
ラムを構造的に解析するものである。そして、この解析
結果により得られる各関数の位置情報、例えば各関数の
格納領域を示すポインタ等が管理テーブル7に格納され
る。また、管理テーブル変更部6は、ソースプログラム
の編集作業に伴うファイル内の格納位置の変更に従っ
て、管理テーブルに格納される各関数の位置情報に更新
を行うものである。
The structuring unit 5 detects the calling function described in the source program to be edited and structurally analyzes the calling function. Then, the position information of each function obtained from the analysis result, for example, a pointer indicating the storage area of each function is stored in the management table 7. Further, the management table changing unit 6 updates the position information of each function stored in the management table according to the change of the storage position in the file accompanying the editing work of the source program.

【0019】バッファ削除生成部8は、作業者が関数の
削除を行ったときに、バッファ内に保持された該関数の
削除を行い、一方、新たな関数を作成したときに、バッ
ファ内に該関数の保持用の領域を確保して、この関数を
その領域に保持するものである。また、バッファ9は、
各関数それぞれの定義部が記述された実データを関数単
位に階層的に保持するものである。上述した表示部3
は、このバッファ9に格納されたデータを表示する。
The buffer deletion generation unit 8 deletes the function held in the buffer when the worker deletes the function, and deletes the function stored in the buffer when the new function is created. An area for holding a function is secured and this function is held in that area. Also, the buffer 9 is
The actual data in which the definition part of each function is described is hierarchically held for each function. Display unit 3 described above
Displays the data stored in the buffer 9.

【0020】次に、図2を参照して管理テーブルの構成
を説明する。図2は同実施例に係る管理テーブルの構成
を説明する概念図である。図2に示したように、同実施
例に係る管理テーブルは、各関数の関数名と、ファイル
名、及びその関数が保持されるバッファ内での位置を示
すポインタを保持している。
Next, the structure of the management table will be described with reference to FIG. FIG. 2 is a conceptual diagram illustrating the configuration of the management table according to the embodiment. As shown in FIG. 2, the management table according to the embodiment holds a function name of each function, a file name, and a pointer indicating the position in the buffer where the function is held.

【0021】このファイル名で示されるファイルは、同
一ファイルでなくても構わない。また、異なる記憶装置
上に配置されたファイルであっても構わない。これら
は、入力部2を介し作業者から指定されるファイル名に
基づいて保持される。また、位置情報は、構造化処理部
5により初期設定され、その後の編集作業に伴う変更
は、管理テーブル変更部6により行われる。
The files indicated by this file name do not have to be the same file. Further, the files may be arranged on different storage devices. These are held based on the file name specified by the operator via the input unit 2. Further, the position information is initialized by the structuring processing unit 5, and the management table changing unit 6 changes the position information after the editing work.

【0022】次に、図3を参照して同実施例の動作原理
を説明する。図3は同実施例の動作原理を説明するため
の概念図である。いま、作業者が、mainウインドウ
11aにmainプロックを表示させてソースプログラ
ムの編集作業を行っているときに、この表示中のmai
nプロック内に記述されたmax関数12の呼び出し部
について、その定義部を参照したいといった場合、作業
者は、このmax関数12を指定して、max関数12
の定義部の表示を要求する。この指定は、マウス等のポ
インティングデバイスで行ってもよいし、キーボードか
らの入力によってもよい。
Next, the operating principle of this embodiment will be described with reference to FIG. FIG. 3 is a conceptual diagram for explaining the operating principle of the embodiment. Now, when the worker is editing the source program by displaying the main block in the main window 11a, the mai in this display is displayed.
When the operator wants to refer to the definition part of the calling part of the max function 12 described in the n-block, the operator specifies the max function 12 to specify the max function 12
Request the display of the definition part of. This designation may be performed with a pointing device such as a mouse, or may be input with a keyboard.

【0023】同実施例に係るプログラム編集装置1は、
このmax関数12の定義部の参照要求を入力部2を介
して受け取ると、管理テーブル7を参照して、バッファ
9内におけるmax関数12の定義部の実データが保持
された領域を示す位置情報を取得し、この領域に保持さ
れたデータを所望の表示箇所に提示する。この表示箇所
及び画面サイズも入力部2を介し作業者により指定され
る。
The program editing device 1 according to the embodiment is
When the request to refer to the definition portion of the max function 12 is received via the input unit 2, the management table 7 is referred to, and the position information indicating the area in the buffer 9 in which the actual data of the definition portion of the max function 12 is held. Is acquired and the data held in this area is presented at a desired display location. The display location and screen size are also designated by the operator via the input unit 2.

【0024】これにより作業者は、簡単な操作を行うの
みで、同一画面内に呼び出し元の記述箇所と呼び出され
る側の手続き記述箇所とを表示させることができる。次
に、図4乃至図6を参照して同実施例の動作手順を参照
する。
Thus, the operator can display the caller's description location and the called procedure description location on the same screen by only performing a simple operation. Next, the operation procedure of the embodiment will be referred to with reference to FIGS.

【0025】図4は同実施例に係るプログラム編集装置
の作業開始時の動作手順を説明するためのフローチャー
トである。作業者は、まず、キーボード等を操作するこ
とにより編集しようとするソースプログラム名及びファ
イル名等の指定を行う(図4のステップA1)。この指
定は、入力部2を介してプログラム編集装置1に取り込
まれる。ここで、制御部4は、この編集対象のソースプ
ログラムについて管理テーブル7が作成済みであるか否
かを判定し(図4のステップA2)、作成済みであると
きは(図4のステップA2のY)、管理テーブル7を検
索する(図4のステップA3)。そして、この管理テー
ブル7に基づいてバッファ削除生成部8が実データをバ
ッファ9に階層的に展開する(図4のステップA4)。
このとき、そのバッファ内の位置情報を管理テーブル7
に反映させておく。
FIG. 4 is a flow chart for explaining an operation procedure at the time of starting work of the program editing apparatus according to the embodiment. The operator first specifies the source program name and file name to be edited by operating the keyboard or the like (step A1 in FIG. 4). This designation is captured by the program editing device 1 via the input unit 2. Here, the control unit 4 determines whether or not the management table 7 has been created for this source program to be edited (step A2 in FIG. 4), and if it has been created (in step A2 in FIG. 4). Y), the management table 7 is searched (step A3 in FIG. 4). Then, the buffer deletion generator 8 hierarchically expands the actual data in the buffer 9 based on the management table 7 (step A4 in FIG. 4).
At this time, the position information in the buffer is stored in the management table 7
To reflect.

【0026】一方、管理データ7が作成済みでなかった
ときには(図4のステップA2のN)、構造化処理部5
この編集対象のソースファイルファイルに記述された関
数を検出して構造的な解析を行って(図4のステップA
5)、管理テーブル7を作成する(図4のステップA
6)。
On the other hand, when the management data 7 has not been created (N in step A2 of FIG. 4), the structuring processing unit 5
The function described in the source file file to be edited is detected and structural analysis is performed (step A in FIG. 4).
5), create the management table 7 (step A in FIG. 4)
6).

【0027】そして、バッファ削除生成部8がこの新規
作成された管理テーブル7に基づいて、実データをバッ
ファ9に階層的に展開する(図4のステップA7)。こ
のときも、上述と同様に、そのバッファ内の位置情報を
管理テーブル7に反映させておく。
Then, the buffer deletion generator 8 hierarchically expands the actual data in the buffer 9 based on the newly created management table 7 (step A7 in FIG. 4). Also at this time, the position information in the buffer is reflected in the management table 7 in the same manner as described above.

【0028】図5は同実施例に係るプログラム編集装置
の編集作業中における動作手順を説明するためのフロー
チャートである。作業者の編集作業によりソースプログ
ラムの階層構造が変更することは常時発生する可能性が
ある。そこで、同実施例に係るプログラム編集装置1で
は、この構造の変更を認識し(図5のステップB1)、
構造の変更が発生したときには(図5のステップB1の
Y)、管理テーブル変更部6により該管理テーブル7の
修正を実行し(図5のステップB2)、また、これに伴
ってバッファ削除生成部8によるバッファ領域の確保及
び解放を実行する(図5のステップB3)。
FIG. 5 is a flow chart for explaining the operation procedure during the editing work of the program editing apparatus according to the embodiment. It is always possible that the hierarchical structure of the source program is changed by the editing work of the operator. Therefore, the program editing device 1 according to the embodiment recognizes the change in the structure (step B1 in FIG. 5),
When the structure is changed (Y in step B1 in FIG. 5), the management table changing unit 6 corrects the management table 7 (step B2 in FIG. 5), and along with this, the buffer deletion generating unit. The buffer area is secured and released by 8 (step B3 in FIG. 5).

【0029】なお、これらは、作業者による編集作業と
同期した即時処理、及び編集作業終了時の一括処理のい
ずれによっても構わない。図6は同実施例に係るプログ
ラム編集装置の表示処理の動作手順を説明するためのフ
ローチャートである。
It should be noted that these may be either an immediate process synchronized with the editing work by the operator or a batch process at the end of the editing work. FIG. 6 is a flow chart for explaining the operation procedure of the display processing of the program editing apparatus according to the embodiment.

【0030】同実施例に係るプログラム編集装置1は、
表示中のソースプログラム内に記述された呼び出し関数
等の定義部の表示要求を入力部2を介して受け取ると、
管理テーブル7を参照してこの定義部の実データが保持
されたバッファ内の位置情報を取得する(図5のステッ
プC1)。
The program editing device 1 according to the embodiment is
When a display request for a definition part such as a calling function described in the displayed source program is received via the input part 2,
By referring to the management table 7, the position information in the buffer holding the actual data of this definition part is acquired (step C1 in FIG. 5).

【0031】そして、この位置情報に示された領域に保
持された該関数の定義部の実データであるソースプログ
ラムを表示部3により作業者に提示する(図5のステッ
プC2)。以上により、作業者は、簡単な操作を行うの
みで、同一画面内に呼び出し元の記述箇所と呼び出され
る側の手続き記述箇所とを表示させることができる。
Then, the source program, which is the actual data of the definition part of the function held in the area indicated by the position information, is presented to the worker by the display part 3 (step C2 in FIG. 5). As described above, the worker can display the description part of the caller and the procedure description part of the called side in the same screen only by performing a simple operation.

【0032】[0032]

【発明の効果】以上詳記したように本発明によれば、作
業者は、簡単な操作を行うのみで、同一画面内に呼び出
し元の記述箇所と呼び出される側の手続き記述箇所とを
表示させることができる。即ち、本発明によれば、作業
者に効率的な作業環境を提供することができることとな
り、プログラム開発の生産性を飛躍的に向上させること
が可能となる。
As described above in detail, according to the present invention, the operator displays the caller's description part and the called side's procedure description part on the same screen by only performing a simple operation. be able to. That is, according to the present invention, it is possible to provide the worker with an efficient work environment, and it is possible to dramatically improve the productivity of program development.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の実施例に係るプログラム編集装置の概
略構成を示すブロック図。
FIG. 1 is a block diagram showing a schematic configuration of a program editing device according to an embodiment of the present invention.

【図2】本発明の実施例に係る管理テーブルの構成を説
明する概念図。
FIG. 2 is a conceptual diagram illustrating a configuration of a management table according to an embodiment of the present invention.

【図3】本発明の実施例の動作原理を説明するための概
念図。
FIG. 3 is a conceptual diagram for explaining the operation principle of the embodiment of the present invention.

【図4】本発明の実施例に係るプログラム編集装置の作
業開始時の動作手順を説明するためのフローチャート。
FIG. 4 is a flowchart for explaining an operation procedure at the time of starting work of the program editing device according to the embodiment of the present invention.

【図5】本発明の実施例に係るプログラム編集装置の編
集作業中における動作手順を説明するためのフローチャ
ート。
FIG. 5 is a flowchart for explaining an operation procedure during the editing work of the program editing apparatus according to the embodiment of the present invention.

【図6】本発明の実施例に係るプログラム編集装置の表
示処理の動作手順を説明するためのフローチャート。
FIG. 6 is a flowchart for explaining an operation procedure of a display process of the program editing device according to the embodiment of the present invention.

【符号の説明】[Explanation of symbols]

1…プログラム編集装置、2…入力部、3…表示部、4
…制御部、5…構造化処理部、6…管理テーブル変更
部、7…管理テーブル、8…バッファ削除生成部、9…
バッファ、11a,11b…ウインドウ表示画面、12
…呼び出し関数。
1 ... Program editing device, 2 ... Input unit, 3 ... Display unit, 4
... control unit, 5 ... structured processing unit, 6 ... management table changing unit, 7 ... management table, 8 ... buffer deletion generating unit, 9 ...
Buffer, 11a, 11b ... Window display screen, 12
… Call function.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 ソースプログラムの作成、修正等の編集
作業に使用されるプログラム編集装置において、 上記ソースプログラムに記述された呼び出し関数等の呼
び出し部及び手続き定義部を抽出してそのソースプログ
ラムを構造的に解析する手段と、この解析により得られ
る上記手続き定義部の位置情報を管理する管理テーブル
と、上記ソースプログラムを表示した際、表示中のいず
れかの呼び出し部を指定してその手続き定義部の表示を
要求されたときに、この要求された手続き定義部を上記
管理テーブルに管理された位置情報に基づいて表示中の
元画面とともにウインドウ表示する手段とを具備してな
ることを特徴とする階層構造表示機能を有するプログラ
ム編集装置。
1. A program editing apparatus used for editing work such as creation and modification of a source program, wherein a calling part such as a calling function described in the source program and a procedure definition part are extracted to structure the source program. Means for automatically analyzing, a management table for managing the position information of the procedure definition part obtained by this analysis, and when the source program is displayed, one of the calling parts being displayed is designated and the procedure definition part is designated. And a means for displaying the requested procedure definition section in a window together with the original screen being displayed on the basis of the position information managed by the management table. A program editing device having a hierarchical structure display function.
【請求項2】 さらに上記ソースプログラムを格納する
ファイルを複数指定する手段を具備し、上記ソースプロ
グラムが複数のファイルから構成され、かつ上記呼び出
し部とその手続き定義部とが異なるファイルに格納され
た場合であっても、上記呼び出し部及び手続き定義部を
同一画面上にて表示することを特徴とする請求項1記載
の階層構造表示機能を有するプログラム編集装置。
2. A means for designating a plurality of files for storing the source program, wherein the source program is composed of a plurality of files, and the calling part and its procedure definition part are stored in different files. The program editing apparatus having a hierarchical structure display function according to claim 1, wherein the calling unit and the procedure defining unit are displayed on the same screen even in the case.
【請求項3】 さらに上記ソースプログラムの編集作業
に伴って、上記管理テーブルにより管理される上記手続
き定義部の位置情報を動的に更新する手段を具備してな
ることを特徴とする請求項1記載の階層構造表示機能を
有するプログラム編集装置。
3. The apparatus further comprises means for dynamically updating position information of the procedure defining section managed by the management table in association with the editing work of the source program. A program editing device having the described hierarchical structure display function.
JP7093849A 1995-04-19 1995-04-19 Program editing device having hierarchical structure display function Pending JPH08286897A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7093849A JPH08286897A (en) 1995-04-19 1995-04-19 Program editing device having hierarchical structure display function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7093849A JPH08286897A (en) 1995-04-19 1995-04-19 Program editing device having hierarchical structure display function

Publications (1)

Publication Number Publication Date
JPH08286897A true JPH08286897A (en) 1996-11-01

Family

ID=14093863

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7093849A Pending JPH08286897A (en) 1995-04-19 1995-04-19 Program editing device having hierarchical structure display function

Country Status (1)

Country Link
JP (1) JPH08286897A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6681343B1 (en) 1999-08-24 2004-01-20 Nec Electronics Corporation Debugging device and method as well as storage medium
JP2013137716A (en) * 2011-12-28 2013-07-11 Hitachi Information & Control Solutions Ltd Macro expansion device and program
CN116257024A (en) * 2023-02-06 2023-06-13 南京乐汇光电科技有限公司 Alarm device and method for processing low-power-consumption display based on Internet of things

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6681343B1 (en) 1999-08-24 2004-01-20 Nec Electronics Corporation Debugging device and method as well as storage medium
JP2013137716A (en) * 2011-12-28 2013-07-11 Hitachi Information & Control Solutions Ltd Macro expansion device and program
CN116257024A (en) * 2023-02-06 2023-06-13 南京乐汇光电科技有限公司 Alarm device and method for processing low-power-consumption display based on Internet of things
CN116257024B (en) * 2023-02-06 2023-11-14 南京乐汇光电科技有限公司 Alarm device and method for processing low-power-consumption display based on Internet of things

Similar Documents

Publication Publication Date Title
JP4058118B2 (en) Program generation system and method
US7640499B2 (en) Editing objects contained in different pages of a business form via a “position adjustment” operation or a “copy” operation
JPH07129349A (en) Method for displaying file list, method and processor for starting program
JPH0863346A (en) Program editing method and device therefor
US6275226B1 (en) Application window development supporting system and method storage
JPH08286897A (en) Program editing device having hierarchical structure display function
JPH09114621A (en) Gui picture design support method
JPH06110884A (en) Editing device
JPH04257973A (en) Device and method for supporting design
JPH05165933A (en) Graphic processing system
JP2720768B2 (en) Program customization equipment
JPH086962A (en) Data retrieving device and displaying method for retrieved data
JPH0282355A (en) Document retrieving supporting system
JPH0512336A (en) File control method
JPH08249171A (en) Communication service specification generation system
JPH1195992A (en) Data preparation supporting device, object-oriented analytic design supporting device and data managing method
JPH02289065A (en) Document generation supporting system
JP2618982B2 (en) Information processing apparatus and information processing method
JPH11265403A (en) Hyperlink drawing system
JPH0830418A (en) Editing system for constituent component of graphical user interface
JPH0744723A (en) Drawing generation device
JPH05151048A (en) File display system of information processor
JPH07200563A (en) Data processing method/device
JPH04291449A (en) Scroll processing system for document editing device
JPH03142657A (en) Document processor