JPH07281879A - Application program editing device - Google Patents

Application program editing device

Info

Publication number
JPH07281879A
JPH07281879A JP7182494A JP7182494A JPH07281879A JP H07281879 A JPH07281879 A JP H07281879A JP 7182494 A JP7182494 A JP 7182494A JP 7182494 A JP7182494 A JP 7182494A JP H07281879 A JPH07281879 A JP H07281879A
Authority
JP
Japan
Prior art keywords
function
name
program
variable
information
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
JP7182494A
Other languages
Japanese (ja)
Inventor
Hisashi Umeki
久志 梅木
Makoto Kayashima
信 萱島
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.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP7182494A priority Critical patent/JPH07281879A/en
Publication of JPH07281879A publication Critical patent/JPH07281879A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To provide an application editing device which complements a function name and an argument name by utilizing definition information when descriptions for calling a function and a procedure are provided in a program by extracting and storing name and type information on a variable defined by a user in the program and name and argument information on the function. CONSTITUTION:In the application program editing device 101, a program definition extraction part 103 which extracts variable and function information defined by the user in the program, a definition information output part 104 which outputs the definition information to the storage device 110, and a program input support part 102 which complements the function name and argument name by utilizing the definition information are provided, and, the definition information is utilized to retrieve the names of the function and argument and the type of the variable with key words, thereby selecting complementation candidates for the function and function argument.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はアプリケーションプログ
ラムを作成する編集装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an editing device for creating an application program.

【0002】[0002]

【従来の技術】本発明前に知られているプログラム編集
装置で近い例としては、 GNU Emacsがある。 GNU Emacs
は、 Lisp インタプリタを内蔵し、 Lisp プログラム
の編集中に、インタプリタが認識しているシステム組み
込みの関数と変数の名称および、ユーザが定義した関数
と変数の名称を補完することができる。
2. Description of the Related Art A close example of a program editing device known before the present invention is GNU Emacs. GNU Emacs
Has a built-in Lisp interpreter that can be used to supplement system-recognized function and variable names known to the interpreter and user-defined function and variable names while editing a Lisp program.

【0003】また、 Microsoft Visual C++ のアプリケ
ーション作成エディタ Visual Work-bench では、コン
パイラから生成されるプログラム内の定数、マクロ、変
数、関数、クラスの相互関係を表す情報を格納するデー
タベースを持ち、関数、変数、型指定子、マクロ、クラ
スの名称をキーに、上記データベースを検索して、マッ
チする関数や変数等の一覧を表示することができる。
In addition, the Visual Work-bench, an application creation editor of Microsoft Visual C ++, has a database for storing information indicating the mutual relationships among constants, macros, variables, functions and classes in a program generated from a compiler. It is possible to search the above database by using the names of variables, type specifiers, macros, and classes as keys, and display a list of matching functions and variables.

【0004】[0004]

【発明が解決しようとする課題】従来の技術でユーザが
プログラム中に関数および手続きを呼び出す記述をする
際は、関数名および変数名を一字一句打ち間違わずに入
力しなければならない。特に十数文字の関数名および変
数名を正確に記述するのは困難である。また、プログラ
ムが膨大になるとユーザがプログラム中に定義した関数
および変数の定義情報を把握することが困難となり、以
前定義した関数および変数を使用する際に、どこのファ
イルにどのような定義をしていたのか検索しなければな
らない。
When a user calls a function or procedure in a program according to the conventional technique, the function name and the variable name must be entered without typographical error. In particular, it is difficult to accurately describe function names and variable names of a dozen or more characters. Also, when the program becomes huge, it becomes difficult for the user to grasp the definition information of the functions and variables defined in the program, and when using the previously defined functions and variables, what definition should be made in which file. I had to search for what was there.

【0005】上記従来技術においては、次の問題点があ
る。 GNU Emacs の補完機能では、GNU Emacs の Lisp
インタプリタが認識している関数と変数の名称の補完は
行なうことができるが、変数の型情報を認識していない
ため、変数の型を利用して補完候補を限定するような、
関数引数の補完は行なうことができない。
The above conventional technique has the following problems. The GNU Emacs complement feature is the GNU Emacs Lisp
Although the name of the function and the variable recognized by the interpreter can be complemented, since the type information of the variable is not recognized, the type of the variable is used to limit the completion candidates.
Function argument completion cannot be performed.

【0006】また、 Microsoft Visual C++ のエディタ
では、関数、変数、マクロ、クラスの名称および型情報
を利用して、プログラム内で使用できる関数や変数等を
選択することはできるが、補完機能を持たないためプロ
グラムの編集の際は、ユーザがブラウズした結果を見
て、プログラムに関数名や変数名をを記述しなければな
らない。
The Microsoft Visual C ++ editor can select functions and variables that can be used in a program by using the names and type information of functions, variables, macros, and classes, but has a complementary function. When editing a program, it is necessary to write the function name and variable name in the program by looking at the result browsed by the user when editing the program.

【0007】本発明の目的は、ユーザがプログラム中で
定義した変数の名称と型情報および、関数の名称と引数
情報を抽出、記憶することにより関数および変数の補完
を行ない、ユーザのキー入力を削減するアプリケーショ
ン編集装置を提供することである。
An object of the present invention is to complement the function and the variable by extracting and storing the name and type information of the variable defined in the program by the user and the name and argument information of the function, and the key input of the user. The object is to provide an application editing apparatus that reduces the number of applications.

【0008】[0008]

【課題を解決するための手段】上記目的を実現させるた
めに本発明は、ユーザがプログラム中に定義した変数と
関数に関する情報を抽出するプログラム定義情報抽出部
と、上記定義情報をファイルに出力する定義情報出力部
と、上記定義情報およびシステムが提供するプログラム
ライブラリに対する同様な定義情報を利用して、関数名
の補完および引数名の補完を行なうプログラム入力支援
部をプログラム編集装置に持たせておき、プログラム中
で関数および手続きを呼び出す記述をする際に、上記プ
ログラム編集装置で、(1) ユーザがプログラム中に
定義した変数と関数に関する情報を抽出する処理、
(2) 抽出した情報をファイルに出力する処理、
(3) 関数および変数の名称と、関数および変数の型
をキーに上記定義情報を検索する処理、(4) 検索し
た結果をバッファに出力する処理、(5) 検索結果を
基に、関数および変数の名称を補完する処理を行なう。
To achieve the above object, the present invention provides a program definition information extraction unit for extracting information on variables and functions defined in a program by a user, and outputting the definition information to a file. The program editing device is provided with a program information support unit for complementing function names and argument names by using the definition information output unit and the above definition information and similar definition information for the program library provided by the system. When the function and the procedure are called in the program, the program editing device (1) extracts information about variables and functions defined in the program by the user,
(2) Process of outputting the extracted information to a file,
(3) A process of searching the above definition information using the names of the function and the variable and the types of the function and the variable as keys, (4) a process of outputting the search result to a buffer, and (5) a function and a function based on the search result. Performs the process of complementing the variable name.

【0009】[0009]

【作用】ユーザがプログラム中に定義した変数の名称と
型情報および、関数の名称と型情報と引数情報をプログ
ラム編集装置に持たせ、(1)関数および変数の名称
と、関数および変数の型情報をキーとして、上記定義情
報を検索する処理により、補完候補をユーザに提供する
ことが可能となる。(2)ユーザが入力した文字列と、
提供された補完候補とのマッチングを行なう処理によ
り、補完候補の絞り込みを行なうことが可能となる。こ
れらの処理を繰り返すことにより、補完候補が一つに限
定され、関数および変数の補完を行なうことが可能とな
る。
Operation: The program editing apparatus is provided with the name and type information of the variable and the name and type information of the function and the argument information defined by the user in the program, and (1) the name of the function and the variable and the type of the function and the variable. The process of searching the above definition information using information as a key makes it possible to provide the user with complementary candidates. (2) A character string entered by the user,
By the process of matching with the provided complementary candidates, it becomes possible to narrow down the complementary candidates. By repeating these processes, the number of candidates for complementation is limited to one, and it becomes possible to complement functions and variables.

【0010】[0010]

【実施例】【Example】

(実施例1)本発明の一実施例を図1から図15を用いて
説明する。
(Embodiment 1) An embodiment of the present invention will be described with reference to FIGS. 1 to 15.

【0011】図1は、本発明を実施する編集装置の全体
図である。100は入出力装置、101はプログラム編
集装置で、関数名の補完および引数名の補完を行なうプ
ログラム入力支援部102と、ユーザがプログラム中に
定義した変数の名称と型情報および、関数の名称と引数
情報を抽出するプログラム定義抽出部103と、プログ
ラム定義情報をユーザが指定したファイルに出力する定
義情報出力部104と、ユーザプログラムを格納するバ
ッファ105と、補完候補を格納するバッファ106を
持つ。107は、バッファ105に格納されている編集
中ソースファイルにユーザが定義した、そのファイル内
で有効な変数および、関数に関する情報(以下、 ″プ
ログラムローカル定義情報 ″と呼ぶ)を格納するプロ
グラムローカル定義情報記憶装置、108は、複数のフ
ァイルにまたがっているソースプログラム全体で使用で
きるユーザが定義した変数および、関数に関する情報
(以下、 ″プログラムグローバル定義情報 ″と呼ぶ)
を格納するプログラムグローバル定義情報記憶装置、1
09は、システムが提供するプログラムライブラリで、
システム提供関数に関する情報を持つ。110は、プロ
グラムを格納するプログラム記憶装置である。
FIG. 1 is an overall view of an editing apparatus embodying the present invention. Reference numeral 100 is an input / output device, 101 is a program editing device, a program input support unit 102 for complementing a function name and an argument name, a variable name and type information defined by a user in a program, and a function name. It has a program definition extraction unit 103 that extracts argument information, a definition information output unit 104 that outputs the program definition information to a file designated by the user, a buffer 105 that stores a user program, and a buffer 106 that stores a complement candidate. Reference numeral 107 denotes a program local definition that stores information about variables and functions defined in the source file being edited, which are defined by the user and are valid in the file (hereinafter referred to as "program local definition information"). The information storage device 108 is information about user-defined variables and functions that can be used in the entire source program across a plurality of files (hereinafter referred to as "program global definition information").
A program global definition information storage device for storing
09 is a program library provided by the system,
Holds information about system-provided functions. Reference numeral 110 denotes a program storage device that stores a program.

【0012】プログラム編集装置101は、ユーザがプ
ログラム中で関数および手続きを呼び出す記述をする際
に、ソースプログラムをプログラム格納バッファ105
に格納し、プログラム定義情報抽出部103が、プログ
ラム定義情報を抽出する。抽出した定義情報は、定義情
報出力部104が、記憶装置107、108に格納す
る。プログラム入力支援部102は、関数および変数の
名称と、関数および変数の型情報をキーワードに記憶装
置107、108、109を検索して、検索結果を補完
候補格納バッファ106に格納し、補完候補を基に関数
および変数の名称の補完を行なう。
The program editing device 101 stores the source program in the program storage buffer 105 when the user makes a description to call a function and a procedure in the program.
, And the program definition information extracting unit 103 extracts the program definition information. The definition information output unit 104 stores the extracted definition information in the storage devices 107 and 108. The program input support unit 102 searches the storage devices 107, 108, and 109 using the names of the functions and variables and the type information of the functions and variables as keywords, stores the search results in the complement candidate storage buffer 106, and searches for the complement candidates. Based on this, the names of functions and variables are complemented.

【0013】図2は、プログラム定義情報を格納する記
憶装置の記憶内容を示した図である。プログラムローカ
ル定義情報記憶装置107は、ローカル変数情報テーブ
ル20と、ローカル関数情報テーブル21を持つ。ロー
カル変数情報テーブル20は、変数の型と変数名のデー
タを持つレコードの集まりである。ローカル関数情報テ
ーブル21は、関数の型と関数名と引数の型のデータを
持つレコードの集まりである。
FIG. 2 is a diagram showing stored contents of a storage device for storing the program definition information. The program local definition information storage device 107 has a local variable information table 20 and a local function information table 21. The local variable information table 20 is a collection of records having data of variable types and variable names. The local function information table 21 is a collection of records having data of a function type, a function name, and an argument type.

【0014】プログラムグローバル定義情報記憶装置1
08は、グローバル変数情報テーブル22と、グローバ
ル関数情報テーブル23を持つ。グローバル変数情報テ
ーブル22は、変数の型と変数名とその変数がどのファ
イルに定義されているのかを示すファイル名のデータを
持つレコードの集まりである。グローバル関数情報テー
ブル23は、関数の型と関数名と引数の型とその関数が
どのファイルに定義されているかを示すファイル名のデ
ータを持つレコードの集まりである。
Program global definition information storage device 1
08 has a global variable information table 22 and a global function information table 23. The global variable information table 22 is a set of records having data of a variable type, a variable name, and a file name indicating in which file the variable is defined. The global function information table 23 is a collection of records having data of a function type, a function name, an argument type, and a file name indicating in which file the function is defined.

【0015】プログラムライブラリ109は、システム
提供関数情報テーブル24を持ち、システム提供関数情
報テーブル24は、関数の型と関数名と引数の型のデー
タを持つレコードの集まりである。
The program library 109 has a system-provided function information table 24, and the system-provided function information table 24 is a collection of records having data of a function type, a function name, and an argument type.

【0016】図3は、本発明の関数名および引数名の補
完を行なう処理手順を説明するフローチャートである。
300は、入力装置10よりキー入力処理を行なうステ
ップ、301は、キー入力判定を行ない処理の分岐を行
なうステップである。
FIG. 3 is a flow chart for explaining a processing procedure for complementing the function name and the argument name according to the present invention.
Reference numeral 300 denotes a step of performing a key input process from the input device 10, and 301 denotes a step of performing a key input determination and branching the process.

【0017】ステップ300で補完を行なうキー入力が
あった場合は、編集中プログラムをバッファ106に格
納し、編集中プログラムに、プログラムローカル定義情
報が更新されているかどうかの判定を行なうステップ3
02と、303を実行し、更新がある場合は、ローカル
変数情報テーブル20と、ローカル関数情報テーブル2
1を作成するステップ303と、304を実行する。3
05と、306は、カーソル行に入力された文字列によ
って処理を分岐させるステップである。カーソル行に、
英数字のみ入力されている場合は、関数名および、変数
名の補完処理を行なうステップ307を実行する。カー
ソル行に、 ″(″と ″, ″が含まれている場合は、
関数引数の補完を行なうステップ308を実行する。カ
ーソル行に、″= ″まで入力されている場合は、関数
名の補完を行なうステップ309を実行する。
When there is a key input for complementing in step 300, the program being edited is stored in the buffer 106, and it is judged whether the program local definition information is updated in the program being edited or not.
02 and 303 are executed, and if there is an update, the local variable information table 20 and the local function information table 2
Steps 303 and 304 for creating 1 are executed. Three
Reference numerals 05 and 306 are steps for branching the processing according to the character string input to the cursor line. At the cursor line,
If only alphanumeric characters have been entered, step 307 for complementing the function name and variable name is executed. If the cursor line contains ″ (″ and ″, ″,
Step 308 of complementing the function argument is executed. If "=" is entered in the cursor line, step 309 for complementing the function name is executed.

【0018】ステップ300でソースプログラムのセー
ブを行なうキー入力があった場合は、グローバル変数テ
ーブル22と、グローバル関数テーブル23を作成し、
ソースプログラムをプログラム記憶装置110に保管す
るステップ310、311を実行する。
When there is a key input for saving the source program in step 300, the global variable table 22 and the global function table 23 are created,
The steps 310 and 311 of storing the source program in the program storage device 110 are executed.

【0019】図4は、図3におけるプログラムローカル
定義情報を作成するステップ304を説明するフローチ
ャートである。コンパイルの型チェック機構により、プ
ログラム定義情報の抽出を行なうステップ400を実行
する。401は、ステップ400の結果、プログラム内
にユーザが定義した変数があるかどうかを判定するステ
ップで、402は、ステップ400の結果、プログラム
内にユーザが定義した関数があるかどうかを判定するス
テップである。ステップ401の判定結果、ソースプロ
グラムにユーザが定義した変数定義がある場合は、ロー
カル変数情報テーブル20に変数の型と変数名を登録す
るステップ403を実行する。ステップ402の判定結
果、ソースプログラム内にユーザが定義した関数がある
場合は、ローカル関数情報テーブル21に関数の型と関
数名称と関数の引数の型を登録するステップ404を実
行する。
FIG. 4 is a flow chart illustrating step 304 of creating the program local definition information in FIG. The compile type checking mechanism executes step 400 for extracting the program definition information. 401 is a step of determining whether or not there is a user-defined variable in the program as a result of step 400, and 402 is a step of determining whether or not a user-defined function is included in the program as a result of step 400. Is. If the result of determination in step 401 is that the source program has a variable definition defined by the user, step 403 of registering the variable type and variable name in the local variable information table 20 is executed. If the result of determination in step 402 is that there is a function defined by the user in the source program, step 404 of registering the function type, function name, and function argument type in the local function information table 21 is executed.

【0020】図5は、図3におけるプログラムグローバ
ル定義情報を作成するステップ310を説明するフロー
チャートである。コンパイルの型チェック機構により、
プログラム定義情報の抽出を行なうステップ500を実
行する。501は、ステップ500の結果、プログラム
内に外部定義されている外部変数があるかどうかを判定
するステップで、502は、ステップ500の結果、プ
ログラム内にユーザ定義関数があるかどうかを判定する
ステップである。ステップ501の判定結果、ソースプ
ログラム内にユーザが定義した外部変数がある場合は、
グローバル変数情報テーブル22に変数の型と変数名と
定義されているファイル名を登録するステップ503を
実行する。ステップ502の判定結果、ソースプログラ
ム内にユーザが定義した関数がある場合は、グローバル
関数情報テーブル23に関数の型と関数名と関数の引数
の型と定義されているファイル名を登録するステップ5
04を実行する。
FIG. 5 is a flow chart illustrating step 310 of creating the program global definition information in FIG. By the type checking mechanism of compilation,
Execute step 500 of extracting program definition information. Reference numeral 501 is a step of determining whether or not there is an external variable defined externally in the program as a result of step 500, and 502 is a step of determining whether or not there is a user-defined function in the program as a result of step 500. Is. If the result of determination in step 501 is that there is an external variable defined by the user in the source program,
The step 503 of registering the variable type and the file name defined as the variable name in the global variable information table 22 is executed. If the result of determination in step 502 is that there is a user-defined function in the source program, the file type defined as the function type, function name, and function argument type is registered in the global function information table 23.
Execute 04.

【0021】図6は、図3における関数名および変数名
の補完を行なうステップ307を説明するフローチャー
トである。文字列を格納するワークバッファ ″キー文
字列″を用意してカーソル行のカーソル直前にある1ワ
ードを格納するステップ600を実行する。601は、
補完候補格納バッファ106に補完候補が格納されてい
るかどうかを判定するステップで、補完候補格納バッフ
ァ106に補完候補が格納されていない場合は、 ″キ
ー文字列 ″に格納した文字列をキーワードに変数情報
テーブル20、22と、関数情報テーブル21、23を
検索し、 ″キー文字列 ″とマッチする関数名または、
変数名があるかどうかを判定するステップ602と、6
03を実行し、 ″キー文字列 ″とマッチする関数名ま
たは、変数名がある場合は、マッチした関数名または、
変数名の文字列をバッファ106に格納するステップ6
04を実行し、プログラム入力支援ルーチン700を実
行する。″キー文字列 ″とマッチする関数名または、
変数名がない場合は、補完候補がないことをユーザに提
示するステップ605を実行する。
FIG. 6 is a flow chart for explaining step 307 for complementing the function name and variable name in FIG. A work buffer "key character string" for storing a character string is prepared, and step 600 for storing one word immediately before the cursor on the cursor line is executed. 601 is
In the step of determining whether or not the complement candidate is stored in the complement candidate storage buffer 106, if the complement candidate is not stored in the complement candidate storage buffer 106, the character string stored in the "key character string" is used as a keyword for the variable. The information tables 20 and 22 and the function information tables 21 and 23 are searched, and the function name matching "key string" or
Step 602, which determines whether there is a variable name, and 6
03, and if there is a function name or variable name that matches the "key string", the matching function name, or
Step 6 of storing the character string of the variable name in the buffer 106
04, and the program input support routine 700 is executed. Function name that matches "key string", or
If there is no variable name, step 605 is presented to the user that there is no complement candidate.

【0022】図7は、プログラム入力支援処理ルーチン
を説明するフローチャートである。処理ルーチン700
は、補完候補格納バッファ106の値と、補完を行なう
文字列を格納したワークバッファ ″キー文字列 ″を入
力して、補完候補格納バッファ106に格納されている
補完候補が一つの場合は、 ″キー文字列 ″に格納され
ている文字列と補完候補の文字列とを比較して、 ″キ
ー文字列 ″に格納されている文字列に足りない、残り
の部分をプログラムに入力し、補完候補格納バッファを
クリアし、補完が完了したことをリターン値で返すステ
ップ705から707を実行する。補完候補格納バッフ
ァ106に補完候補が複数格納されている場合は、補完
候補一覧をユーザに提示し ″キー文字列 ″に格納され
ている文字列と与えられている補完候補とを比較し、補
完候補が一つに限定されるかどうかを判定するステップ
702から704を実行する。ステップ704の結果、
補完候補が一つに限定されない場合は、補完の可能性の
ある候補名を、補完候補格納バッファ106に再度格納
し、補完が未完であることをリターン値で返すステップ
708から709を実行する。
FIG. 7 is a flow chart for explaining the program input support processing routine. Processing routine 700
Enter the value of the complement candidate storage buffer 106 and the work buffer "key character string" that stores the character string to be complemented. If there is one complement candidate stored in the complement candidate storage buffer 106, Comparing the character string stored in "key string" and the character string of the completion candidate, input the remaining part which is not enough in the character string stored in "key string" to the program Steps 705 to 707 are executed in which the storage buffer is cleared and the completion of the complement is returned with a return value. When a plurality of complement candidates are stored in the complement candidate storage buffer 106, the complement candidate list is presented to the user, the character string stored in the "key character string" is compared with the given complement candidate, and the complement candidate is complemented. Steps 702-704 are performed to determine if the candidate is limited to one. As a result of step 704,
When the number of complement candidates is not limited to one, the candidate names having the possibility of complement are stored again in the complement candidate storage buffer 106, and steps 708 to 709 for returning the completion of the complement with a return value are executed.

【0023】図8は、図3における関数引数の補完処理
を行なうステップ308を説明するフローチャートであ
る。800は、カーソル行に入力されているカーソルの
直前の一文字によって、処理の分岐を行なうステップ
で、カーソルの直前の一文字が″(″の場合は、編集装
置101が、プログラムには関数名まで入力されている
状態と判断し、現在補完処理を行なっている引数の番号
を表す変数iに1を格納し、プログラムに入力されてい
る関数名を取り出し、取り出した関数名をキーに関数情
報テーブル21と、23と、24を検索し、マッチする
関数名があるかどうかを判定するステップ801から8
04を実行する。
FIG. 8 is a flow chart for explaining the step 308 for performing the function argument complementing process in FIG. Reference numeral 800 denotes a step for branching the processing by the character immediately before the cursor entered in the cursor line. When the character immediately before the cursor is "(", the editing device 101 inputs the function name up to the program. Is stored in the variable i, and 1 is stored in the variable i representing the number of the argument currently undergoing the complement process, the function name input to the program is extracted, and the extracted function name is used as a key for the function information table 21. , 23 and 24 are searched, and it is determined whether there is a matching function name. Steps 801 to 8
Execute 04.

【0024】ステップ804の結果、マッチする関数名
がない場合は、プログラムに入力された関数名のエラー
をユーザに提示するステップ813を実行し、マッチす
る関数名がある場合は、テーブルポインタにマッチした
テーブルのアドレスを格納し、関数の引数の数を表す変
数nにマッチした関数の引数の数を格納し、現在引数の
補完処理を行なっている引数の番号iと関数の引数の数
nとを比較するステップ805から807を実行する。
ステップ807でiがnより大きい場合は、テーブルポ
インタをクリアしてキー入力処理に戻るステップ816
を実行し、iがn以下の場合は、テーブルポインタが示
す関数情報をユーザに提示し、関数引数の補完候補を選
択する処理ルーチン900を実行する。処理ルーチン9
00の結果、引数の補完候補がある場合は、プログラム
の入力支援を行なう処理ルーチン700を実行する。処
理ルーチン700の結果、関数引数が補完された場合
は、iとnを比較して、iとnが等しければプログラム
に ″); ″を入力する。そうでない場合は、プログラ
ムに ″,″を入力し、次の引数の補完処理を行なうた
め、iに1加算する。
As a result of step 804, if there is no matching function name, step 813 of presenting the error of the function name input to the program to the user is executed, and if there is a matching function name, the table pointer is matched. The address of the table is stored, the number of function arguments that match the variable n representing the number of function arguments is stored, and the argument number i and the number of function arguments n that are currently undergoing complement processing Steps 805 to 807 are executed.
If i is larger than n in step 807, the table pointer is cleared and the process returns to the key input process step 816.
When i is less than or equal to n, the processing routine 900 that presents the function information indicated by the table pointer to the user and selects the complement candidate of the function argument is executed. Processing routine 9
As a result of 00, if there is an argument complement candidate, the processing routine 700 for supporting the input of the program is executed. If the function argument is complemented as a result of the processing routine 700, i and n are compared, and if i and n are equal, ");" is input to the program. Otherwise, "," is input to the program, and 1 is added to i to complement the next argument.

【0025】ステップ800で、カーソルの直前の一文
字が ″,″の場合は、カーソル行に記述されてい
る″,″ の数を算出し、 ″,″の数に1加算したものを
iに格納するステップ817を実行する。これにより、
現在プログラムに入力されている関数の引数の数を編集
装置101が認識することができる。818は、テーブ
ルポインタにテーブルアドレスが格納されているかどう
かを判定するステップで、格納されている場合は、前記
同様にステップ807以下の処理を実行し、格納されて
いない場合は、ステップ802以下の処理を実行する。
In step 800, when the character immediately before the cursor is ",", the number of "," described in the cursor line is calculated, and the number obtained by adding 1 to the number of "," is stored in i. Step 817 is executed. This allows
The editing device 101 can recognize the number of arguments of the function currently input to the program. Reference numeral 818 denotes a step of determining whether or not the table address is stored in the table pointer. If the table address is stored, the processing of step 807 and thereafter is executed in the same manner as described above, and if not stored, the processing of step 802 and thereafter is executed. Execute the process.

【0026】ステップ800で、カーソル直前の一文字
が英数字の場合は、ワークバッファ″キー文字列 ″に
カーソル前の ″(″または、 ″,″までの1ワードを
格納するステップ819を実行し前記同様にステップ8
17以下の処理を実行する。図9は、関数引数の補完候
補を選択する処理ルーチン900を説明するフローチャ
ートである。処理ルーチン900は、関数の引数の補完
を行なうステップ308で求めた、テーブルポインタ
と、現在補完処理を行なっている引数の番号を表す変数
iを入力し、テーブルポインタが示している関数情報テ
ーブルから関数のi番目の引数の型情報を抽出し、抽出
した型情報をキーに変数情報テーブル20と、22を検
索し、関数のi番目の型とマッチする変数があるかどう
かを判定するステップ901から903を実行する。ス
テップ903で、型とマッチする変数がある場合は、補
完候補格納バッファ106に、マッチングの取れた変数
名を格納し、補完候補があることをリターン値で返すス
テップ904と905を実行する。補完候補がなかった
場合は、マッチする変数がないことをユーザに提示し、
補完候補がなかったことをリターン値で返すステップ9
06と907を実行する。
If one character before the cursor is an alphanumeric character in step 800, step 819 for storing one word up to "(" or "," before the cursor in the work buffer "key character string" is executed. Similarly, step 8
The following processing is executed. FIG. 9 is a flowchart illustrating a processing routine 900 for selecting a complement candidate for a function argument. The processing routine 900 inputs the table pointer obtained in step 308 for complementing the arguments of the function and the variable i representing the number of the argument currently undergoing the complementing processing, and from the function information table indicated by the table pointer. Step 901: extracting the type information of the i-th argument of the function, searching the variable information tables 20 and 22 using the extracted type information as a key, and determining whether there is a variable that matches the i-th type of the function To 903 are executed. If there is a variable that matches the type in step 903, the matching variable name is stored in the complementary candidate storage buffer 106, and steps 904 and 905 that return the completion candidate as a return value are executed. If there is no completion candidate, inform the user that there is no matching variable,
Step 9 to return the return value that there is no complement candidate
Steps 06 and 907 are executed.

【0027】図10は、図3における関数名の補完処理
を行なうステップ309を説明するフローチャートであ
る。プログラムに入力された、″ =″ より前の1ワー
ドをワークバッファ″ キー文字列″ に格納し、キー文
字列に格納された文字列をキーワードに変数情報テーブ
ル20と、22を検索し、キー文字列に格納された文字
列とマッチする変数名があるかどうかを判定するステッ
プ1000から1002を実行する。ステップ1002
の結果、キー文字列とマッチする変数名がない場合は、
プログラムに入力された変数名のエラーをユーザに提示
するステップ1007を実行する。キー文字列とマッチ
する変数名があった場合は、ワークバッファ″ キー文
字列″ にマッチした変数の型名を格納し、キー文字列
に格納された文字列をキーに関数情報テーブル21と、
23と、24を検索し、キー文字列とマッチする型名の
関数があるかどうかを判定するステップ1003から1
005を実行する。ステップ1005の結果、マッチす
る関数がない場合は、補完候補がないことをユーザに提
示するステップ1008を実行する。マッチする関数が
ある場合は、補完候補格納バッファ106に、マッチし
た関数名を格納するステップ1006を実行し、プログ
ラム入力支援処理ルーチン700を実行する。図11
は、ソースプログラムをセーブした場合に、プログラム
グローバル定義情報を作成する実際の例を説明する図で
ある。ユーザがプログラム1101をセーブするキー入
力を行なうと、プログラム1101中には、外部定義さ
れた外部変数″Number″ と″Name″ および、ユーザが
定義した関数″Myfunc″ があるので変数情報テーブル
22に変数名″Number″ と変数の型名″int″ とプロ
グラム1101のファイル名″Myfile.c″ を登録す
る。変数″Name″ についても同様に登録する。また、
関数情報テーブル23に関数名″Myfunc″ と関数の型
名″int″ と関数の引数の型名″char*″ とプログラム
1101のファイル名″Myfile.c″ を登録する。
FIG. 10 is a flow chart for explaining the step 309 for complementing the function name in FIG. The one word before "=" entered in the program is stored in the work buffer "key character string", the variable information tables 20 and 22 are searched using the character string stored in the key character string as a keyword, and the key Steps 1000 to 1002 for determining whether there is a variable name that matches the character string stored in the character string are executed. Step 1002
As a result, if there is no variable name that matches the key string,
The step 1007 of presenting the error of the variable name input to the program to the user is executed. If there is a variable name that matches the key character string, the type name of the variable that matches the work buffer "key character string" is stored, and the function information table 21 is stored with the character string stored in the key character string as a key.
23 and 24 are searched, and it is determined whether or not there is a function with a type name that matches the key character string.
005 is executed. If there is no matching function as a result of step 1005, step 1008 is executed to present to the user that there is no complementary candidate. If there is a matching function, step 1006 of storing the matching function name in the complementary candidate storage buffer 106 is executed, and the program input support processing routine 700 is executed. Figure 11
FIG. 8 is a diagram illustrating an actual example of creating program global definition information when a source program is saved. When the user inputs a key to save the program 1101, there are externally defined external variables "Number" and "Name" and a user-defined function "Myfunc" in the program 1101. The variable name "Number", the variable type name "int", and the file name "Myfile.c" of the program 1101 are registered. Register the variable "Name" in the same way. Also,
The function name “Myfunc”, the function type name “int”, the function argument type name “char *”, and the file name “Myfile.c” of the program 1101 are registered in the function information table 23.

【0028】図12から図14を用いて、関数の引数の
補完を行なう一連の処理を実際の例で説明する。図12
は、プログラムローカル定義情報を作成する実際の例を
説明する図である。プログラム1200中には、ユーザ
が定義した変数″label″と、 ″list″と、 ″text″
と、 ″string″があるので変数情報テーブル20に変
数名と変数の型名を登録する。また、プログラム120
0にはユーザ定義の関数がないため、関数情報テーブル
22は作成しない。
A series of processes for complementing function arguments will be described with reference to FIGS. 12 to 14 as an actual example. 12
FIG. 8 is a diagram illustrating an actual example of creating program local definition information. In the program 1200, user-defined variables "label", "list", and "text"
Then, since there is "string", the variable name and the variable type name are registered in the variable information table 20. In addition, the program 120
Since 0 has no user-defined function, the function information table 22 is not created.

【0029】図13は、補完を行なうキー入力があった
場合に、プログラムローカル定義情報を作成する実際の
例を説明する図である。図12で入力された関数名″My
fucn″ をキーワードにして、関数情報テーブル21
と、23と、24を検索する。関数″Myfunc″ は、関
数情報テーブル23に登録されているので、引数の数は
一つで型は char* と判定できる。次に、変数の型名 ″
char*″をキーワードにして、変数情報テーブル20
と、22を検索する。 char* 型の変数は、22に登録
されている″Name″ と20に登録されている″text″
と″string″ の3つに補完候補を絞り込むことがで
き、補完候補をウィンドウ1202に表示する。
FIG. 13 is a view for explaining an actual example of creating the program local definition information when there is a key input for complementation. Function name "My entered in Figure 12
Function information table 21 with fucn ″ as the keyword
, 23 and 24 are searched. Since the function “Myfunc” is registered in the function information table 23, it can be determined that the number of arguments is one and the type is char *. Then the variable type name ″
Variable information table 20 using char * ″ as a keyword
And search for 22. The variable of char * type is "Name" registered in 22 and "text" registered in 20.
And the complementary candidates can be narrowed down to three, and the complementary candidates are displayed in the window 1202.

【0030】図14は、関数引数の補完を行なう実際の
例を説明する図である。ウィンドウ1202に表示され
た補完候補から使用する変数名を選択し、プログラム1
200に補完候補を一つに限定できる部分まで入力し、
補完を行なうキーを入力すると編集装置101が変数名
の残りの部分をプログラム1200に入力する。
FIG. 14 is a diagram for explaining an actual example of complementing function arguments. Select the variable name to be used from the completion candidates displayed in the window 1202, and select program 1
Enter up to 200 parts that can be limited to one complement candidate,
When the key for complementing is input, the editing device 101 inputs the remaining part of the variable name into the program 1200.

【0031】図15は、関数名称を補完する際に、その
変数の定義をユーザに提示する機能を説明する図であ
る。ウィンドウ1202に表示された補完候補の変数名
をマウスカーソル1500でピックするとその変数が定
義されている部分をウィンドウ1501に表示する。定
義されている部分の検索は、ピックされた変数が編集中
プログラムの中にあればその変数名をキーワードに編集
中プログラムを検索し、編集中プログラムの中にない場
合は、グローバル定義の編集情報テーブル22に定義さ
れているファイル名を登録してあるので容易に検索する
ことができる。
FIG. 15 is a diagram for explaining the function of presenting the definition of the variable to the user when complementing the function name. When the variable name of the completion candidate displayed in the window 1202 is picked with the mouse cursor 1500, the portion in which the variable is defined is displayed in the window 1501. If the picked variable is in the program being edited, the variable being searched is used to search the program being edited, and if it is not in the program being edited, the definition information can be searched for in the global definition. Since the file names defined in the table 22 are registered, they can be easily searched.

【0032】(実施例2)本発明の別の実施例を図16に
示す。
(Second Embodiment) FIG. 16 shows another embodiment of the present invention.

【0033】図16は、構造体のメンバを用いた補完の
実際の例を説明する図である。プログラム中に定義され
た構造体に関する情報を格納するテーブル1601を用
意する。1601は、構造体のタグ (型) 名および構造
体が持つメンバの名称および型情報のデータを持つレコ
ードの集まりである。
FIG. 16 is a diagram for explaining an actual example of complementation using members of a structure. A table 1601 for storing information on the structure defined in the program is prepared. Reference numeral 1601 is a collection of records having the structure tag (type) name, the member name of the structure, and the type information data.

【0034】プログラム1600中で、ユーザが以前定
義した関数″Myfunc″ の引数の補完を行なう場合、構
造体″person″ の定義情報を構造体情報テーブル16
01に格納し、変数″A″ と″B″ の変数の名と型名″
person″ をローカル変数情報テーブル20に格納す
る。
In the program 1600, when the user complements the argument of the function "Myfunc" previously defined, the definition information of the structure "person" is added to the structure information table 16
Stored in 01, variable name and type name of variables "A" and "B""
The person ”is stored in the local variable information table 20.

【0035】関数名″Myfunc″ をキーに関数情報テー
ブル21、23、24を検索し、関数の引数の数と型を
判定する。この例の場合、関数″Myfunc″ は、引数を
一つ持ち、引数の型は″char*″ 型である。
Using the function name "Myfunc" as a key, the function information tables 21, 23 and 24 are searched to determine the number and types of function arguments. In this example, the function "Myfunc" has one argument and the argument type is "char *" type.

【0036】次に、引数の型″char*″ をキーに変数情
報テーブル20、21と構造体情報テーブル1601を
検索し、″char*″ 型の変数があるかどうかを判定す
る。この例の場合、″char*″ 型の変数はグローバル変
数″Name″ と構造体″person″ のメンバ″name″
と″addr″ と″tel″ とがあることが判定する。しか
し、構造体のメンバ名そのままでは補完候補とならない
ため、タグ名″person″をキーに変数情報テーブルを検
索し、″person″ 型の変数を選択する。この例の場
合、″person″ 型の変数は″A″ と″B″ とがあるの
で、″A. name″ というような補完候補を作成する。こ
のように構造体のメンバに関する情報を抽出して記憶し
ておくことにより構造体メンバについても同様に補完処
理を行なうことができる。
Next, the variable information tables 20 and 21 and the structure information table 1601 are searched using the argument type "char *" as a key, and it is determined whether or not there is a "char *" type variable. In this example, the variable of type "char *" is the global variable "Name" and the member "name" of the structure "person".
And "addr" and "tel" are determined. However, since the member name of the structure is not a candidate for completion as it is, the tag information "person" is used as a key to search the variable information table and select the "person" type variable. In this example, since the "person" type variables are "A" and "B", a completion candidate such as "A. name" is created. By extracting and storing the information about the members of the structure in this way, the complementing process can be similarly performed on the structure members.

【0037】(実施例3)本発明の別の実施例を図17に
示す。
(Embodiment 3) FIG. 17 shows another embodiment of the present invention.

【0038】図17は、C++言語のクラスのメンバお
よびメンバ関数を用いた補完の実際の例を説明する図で
ある。
FIG. 17 is a diagram for explaining an actual example of complementation using members and member functions of a C ++ language class.

【0039】プログラム中に定義されたクラスのメンバ
に関する情報を格納するテーブル1701と、クラスの
メンバ関数に関する情報を格納するテーブル1702を
用意する。1701は、クラス名と、ベースクラス名
と、メンバの名称と型情報のデータを持つレコードの集
まりである。1702は、クラス名と、ベースクラス名
と、メンバ関数の名称と型情報と引数情報のデータを持
つレコードの集まりである。
A table 1701 for storing information on the members of the class defined in the program and a table 1702 for storing information on the member functions of the class are prepared. 1701 is a collection of records having data of class name, base class name, member name and type information. 1702 is a collection of records having data of class name, base class name, member function name, type information, and argument information.

【0040】プログラム1700で、ユーザが定義した
クラスのメンバ関数の補完を行なう場合、クラス″Pers
on″ の定義情報をクラスメンバ情報テーブル1701
とクラスメンバ関数情報テーブル1702に格納し、オ
ブジェクト″A″ のオブジェクト名と型名″Person″
をローカル変数情報テーブル20に格納する。オブジェ
クトとは、クラスを用いて宣言された変数のことであ
る。
In the program 1700, when complementing a member function of a user-defined class, the class "Pers
Definition information of "on" is added to the class member information table 1701.
And the class member function information table 1702 and the object name and type name “Person” of the object “A”.
Is stored in the local variable information table 20. An object is a variable declared using a class.

【0041】この例の場合、″A.Get″ までプログラム
に入力されているのでオブジェクト名″A″ をキーに変
数情報テーブル20、21を検索し、オブジェクト″
A″ のクラスの型を判定する。この例の場合は、″A″
のクラスは″Person″ であるので、″Person″ をキー
にクラスメンバ関数情報テーブル1702を検索して、
対応するクラスがあるかどうかを判定する。対応するク
ラスがある場合は、そのクラスと、そのクラスのベース
クラスのメンバ関数の中に、″Get″ とマッチングの取
れるメンバ関数があるかどうかを検索する。マッチング
の取れる補完候補がある場合は、ウィンドウに補完候補
を表示する。この例の場合は、″GetName″だけに限定
されるので、プログラムに残りの部分を入力する。
In the case of this example, since "A.Get" has been input to the program, the variable information tables 20 and 21 are searched using the object name "A" as a key, and the object "
Determines the class type of A ″, in this case “A”
Since the class of is "Person", the class member function information table 1702 is searched with "Person" as a key,
Determine if there is a corresponding class. If there is a corresponding class, search for a member function that can be matched with "Get" in the member functions of that class and the base class of that class. If there is a complementary candidate that can be matched, the complementary candidate is displayed in the window. In this case, it is limited to "GetName", so enter the rest into the program.

【0042】このようにクラスに関する情報を抽出して
記憶しておくことによりクラスのメンバおよびメンバ関
数についても同様に補完処理を行なうことができる。
By extracting and storing the information about the class in this way, the complementing process can be similarly performed on the members and the member functions of the class.

【0043】[0043]

【発明の効果】本発明では、ユーザがプログラム中で使
用する変数の名称と型情報および、関数の名称と関数の
型と引数情報を抽出し、記憶しておくことにより、ユー
ザがプログラム中で、関数および、手続きを呼び出す記
述をする際に、関数や変数の名称を途中まで入力すれ
ば、その途中までの文字列をキーワードにして、上記定
義情報を検索して型のマッチする補完候補を選択するこ
とができ、補完候補を一つに限定できる部分まで文字列
を入力すれば残りの部分の補完を行なうことができる。
また、変数の型をキーワードにして、上記定義情報を検
索することにより、関数引数の型に応じた補完候補を選
択することができる。これにより、ユーザのキー入力の
手間を削減させ、プログラム作成の効率を向上させるこ
とができる。
According to the present invention, the name and type information of variables used by the user in the program, and the name of the function and the type and argument information of the function are extracted and stored. , When calling a function or procedure, if the name of a function or variable is entered halfway, the character string up to that point is used as a keyword to search the above definition information and search for completion candidates that match the type. If a character string can be selected and a character string up to a part where the number of completion candidates can be limited is input, the remaining part can be complemented.
Further, by searching the above definition information using the variable type as a keyword, it is possible to select a complement candidate according to the function argument type. As a result, the user's time and effort for key input can be reduced, and the efficiency of program creation can be improved.

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

【図1】本発明を実施する編集装置の全体図である。FIG. 1 is an overall view of an editing apparatus embodying the present invention.

【図2】プログラム定義情報を格納する記憶装置の記憶
内容を示した図である。
FIG. 2 is a diagram showing stored contents of a storage device that stores program definition information.

【図3】本発明の関数引数の補完を行なう処理手順を説
明するフローチャートである。
FIG. 3 is a flowchart illustrating a processing procedure for complementing a function argument of the present invention.

【図4】プログラムローカル定義情報を作成する処理手
順を説明するフローチャートである。
FIG. 4 is a flowchart illustrating a processing procedure for creating program local definition information.

【図5】プログラムグローバル定義情報を作成する処理
手順を説明するフローチャートである。
FIG. 5 is a flowchart illustrating a processing procedure for creating program global definition information.

【図6】関数名及び変数名の補完を行なう処理手順を説
明するフローチャートである。
FIG. 6 is a flowchart illustrating a processing procedure for complementing a function name and a variable name.

【図7】プログラム入力支援処理ルーチンを説明するフ
ローチャートである。
FIG. 7 is a flowchart illustrating a program input support processing routine.

【図8】関数引数の補完処理を行なう処理手順を説明す
るフローチャートである。
FIG. 8 is a flowchart illustrating a processing procedure for performing complementary processing of a function argument.

【図9】関数引数の補完候補を選択する処理ルーチンを
説明するフローチャートである。
FIG. 9 is a flowchart illustrating a processing routine for selecting a complement candidate for a function argument.

【図10】関数名の補完を行なう処理手順を説明するフ
ローチャートである。
FIG. 10 is a flowchart illustrating a processing procedure for complementing a function name.

【図11】プログラム共通部分プログラム定義情報を作
成する実際の例を説明する図である。
FIG. 11 is a diagram illustrating an actual example of creating program common part program definition information.

【図12】プログラムローカル定義情報を作成する実際
の例を説明する図である。
FIG. 12 is a diagram illustrating an actual example of creating program local definition information.

【図13】補完を行なうキー入力があった場合に、プロ
グラムローカル定義情報を作成する実際の例を説明する
図である。
FIG. 13 is a diagram illustrating an actual example of creating program local definition information when there is a key input for complementing.

【図14】関数引数の補完を行なう実際の例を説明する
図である。
FIG. 14 is a diagram illustrating an actual example of complementing function arguments.

【図15】関数名称を補完する際に、その変数の定義を
ユーザに提示する機能を説明した図である。
FIG. 15 is a diagram illustrating a function of presenting the definition of a variable to a user when complementing a function name.

【図16】構造体のメンバを用いた補完の実際の例を説
明する図である。
FIG. 16 is a diagram illustrating an actual example of complementing using members of a structure.

【図17】C++言語のクラスを用いた補完の実際の例
を説明する図である。
FIG. 17 is a diagram illustrating an actual example of complementing using a class of C ++ language.

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】ユーザがプログラム中で定義した変数の名
称と型情報および、関数の名称と型情報と引数情報とを
抽出するプログラム定義情報抽出部と、上記定義情報を
ユーザが指定したファイルに出力する定義情報出力部
と、プログラム中で関数および手続きを呼び出す記述を
する際に、上記定義情報および、システムが提供するプ
ログラムライブラリに対する同様な定義情報を利用し
て、関数名称および、関数の引数名称の候補を表示 (こ
れを ″関数名の補完および、引数名の補完 ″と呼ぶ)
するプログラム入力支援部を持つことを特徴とするアプ
リケ−ションプログラム編集装置。
1. A program definition information extraction unit for extracting variable name and type information defined by a user in a program, function name, type information, and argument information, and a file specified by the user with the definition information. When writing the definition information output part to be output and the functions and procedures to be called in the program, use the above definition information and the same definition information for the program library provided by the system to specify the function name and function arguments. Display candidate names (this is called "function name completion and argument name completion")
An application program editing device having a program input support section for
【請求項2】関数名を補完する際に、その関数および変
数の定義をユーザに提示する機能を持つことを特徴とす
る請求項1記載のアプリケ−ションプログラム編集装
置。
2. The application program editing apparatus according to claim 1, having a function of presenting the definition of the function and variable to the user when complementing the function name.
【請求項3】変数の型に応じた戻り値を持つ関数の候補
を表示する機能を持つことを特徴とする請求項1記載の
アプリケ−ションプログラム編集装置。
3. The application program editing device according to claim 1, having a function of displaying a candidate for a function having a return value corresponding to a variable type.
【請求項4】関数引数の型のミスマッチを防止する請求
項1記載のアプリケ−ションプログラム編集装置。
4. The application program editing apparatus according to claim 1, which prevents a mismatch of the function argument types.
【請求項5】関数および変数の名称のタイプミスを防止
する請求項1記載のアプリケ−ションプログラム編集装
置。
5. The application program editing apparatus according to claim 1, which prevents typographical errors in function and variable names.
【請求項6】変数および関数の型による一覧と、外部定
義されている外部変数一覧をユーザに提示する機能を持
つことを特徴とする請求項1記載のアプリケ−ションプ
ログラム編集装置。
6. The application program editing apparatus according to claim 1, having a function of presenting a list of variables and function types and a list of external variables defined externally to the user.
【請求項7】ユーザがプログラム中で定義した構造体の
メンバの名称と型情報を抽出してファイルに記憶し、構
造体のメンバに対しても同様な補完を行なう請求項1記
載のアプリケ−ションプログラム編集装置。
7. The application according to claim 1, wherein the name and type information of the members of the structure defined by the user in the program are extracted and stored in a file, and the same complement is performed for the members of the structure. Application program editing device.
【請求項8】ユーザがプログラム中で定義したクラスの
メンバの名称と型情報および、メンバ関数の名称と型情
報と引数情報を抽出してファイルに記憶し、クラスのメ
ンバおよびメンバ関数に対しても同様な補完を行なう請
求項1記載のアプリケ−ションプログラム編集装置。
8. A class member name and type information defined by a user in a program and a member function name and type information and argument information are extracted and stored in a file. The application program editing apparatus according to claim 1, which also performs the same complement.
JP7182494A 1994-04-11 1994-04-11 Application program editing device Pending JPH07281879A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7182494A JPH07281879A (en) 1994-04-11 1994-04-11 Application program editing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7182494A JPH07281879A (en) 1994-04-11 1994-04-11 Application program editing device

Publications (1)

Publication Number Publication Date
JPH07281879A true JPH07281879A (en) 1995-10-27

Family

ID=13471697

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7182494A Pending JPH07281879A (en) 1994-04-11 1994-04-11 Application program editing device

Country Status (1)

Country Link
JP (1) JPH07281879A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005267644A (en) * 2004-03-17 2005-09-29 Microsoft Corp Address support for resource in common-language runtime language
JP2013097470A (en) * 2011-10-28 2013-05-20 Mitsubishi Electric Corp Source file reuse support device, source file reuse support method and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005267644A (en) * 2004-03-17 2005-09-29 Microsoft Corp Address support for resource in common-language runtime language
JP2013097470A (en) * 2011-10-28 2013-05-20 Mitsubishi Electric Corp Source file reuse support device, source file reuse support method and program

Similar Documents

Publication Publication Date Title
US5758160A (en) Method and apparatus for building a software program using dependencies derived from software component interfaces
US5794177A (en) Method and apparatus for morphological analysis and generation of natural language text
US8645812B1 (en) Methods and apparatus for automated redaction of content in a document
JP3030786B2 (en) User-expandable database system
US20020194223A1 (en) Computer programming language, system and method for building text analyzers
JPH05505050A (en) Method and apparatus for searching database component files to retrieve information from changed files
US5893094A (en) Method and apparatus using run length encoding to evaluate a database
JPH0630066B2 (en) Table type language translation method
JPH02271468A (en) Data processing method
EP2162833A1 (en) A method, system and computer program for intelligent text annotation
US5544298A (en) Code generation and data access system
US5317511A (en) Method of finding definitions in computer source programs
KR920003457B1 (en) Relational data searching apparatus
JPH07281879A (en) Application program editing device
US5551036A (en) Method and system for generating operation specification object information
JPH07146785A (en) Method for automatically generating program and device therefor
US6564200B1 (en) Apparatus for cross referencing routines and method therefor
JP2831837B2 (en) Document search device
JPH0635971A (en) Document retrieving device
JP2000181691A (en) Program structure analysis system
JP2000090110A (en) Full-text retrieval method, device therefor and recording medium recorded with full-text retrieving program
JPH01307865A (en) Character string retrieving system
JPH11161666A (en) Method and device for document data retrieval and document editing device
JPH05158984A (en) Device for extracting character string
JPH0628391A (en) Dictionary generation system