1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23#ifndef __com_sun_star_script_ContextInformation_idl__
24#define __com_sun_star_script_ContextInformation_idl__
25
26
27//=============================================================================
28
29 module com {  module sun {  module star {  module script {
30
31//=============================================================================
32/** provides information about a certain stack frame.
33
34	@deprecated
35 */
36published struct ContextInformation
37{
38	/** Full qualified name to address the module or function associated with the context.
39		If the module or function can't be addressed by name, e.g., in case that a runtime
40		generated eval-module is executed, this string is empty
41	 */
42	string Name;
43
44	//-------------------------------------------------------------------------
45	/** Source code of the Module, that is associated with the context. If the source can
46		be accessed using the ModuleName or if the source is unknown (executing compiled
47		code) this string can be empty.
48	 */
49	string SourceCode;
50
51	//-------------------------------------------------------------------------
52	/** contains the first line in the module's source code associated with
53		the context.
54
55		<p>If "name" addresses a function, all line and column values
56		are nevertheless given relative to the module's source. If
57		source code is not available, this value addresses a binary
58		position in the compiled code.  </p>
59
60		@see XLibraryAccess::getModuleCode
61		@see XLibraryAccess::getFunctionCode
62	 */
63	long StartLine;
64
65	//-------------------------------------------------------------------------
66	/** contains the first column in the <var>StartLine</var> associated with
67		the context.
68	 */
69	long StartColumn;
70
71	//-------------------------------------------------------------------------
72
73	/** contains the last line in the module's source code associated with
74		the context.
75	 */
76	long EndLine;
77
78	//-------------------------------------------------------------------------
79	/** contains the first column in the <var>EndLine</var> that is NOT
80		associated with the context.
81	 */
82	long EndColumn;
83
84	//-------------------------------------------------------------------------
85	/** Get all names of the local variable in this context.
86	 */
87	sequence<string> LocalVariableNames;
88
89};
90
91//=============================================================================
92
93}; }; }; };
94
95#endif
96