1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
22 module com
{ module sun
{ module star
{ module script
{
24 /** provides information about a certain stack frame.
28 published
struct ContextInformation
30 /** Full qualified name to address the module or function associated with the context.
31 If the module or function can't be addressed by name, e.g., in case that a runtime
32 generated eval-module is executed, this string is empty
36 /** Source code of the Module, that is associated with the context. If the source can
37 be accessed using the ModuleName or if the source is unknown (executing compiled
38 code) this string can be empty.
42 /** contains the first line in the module's source code associated with
45 <p>If "name" addresses a function, all line and column values
46 are nevertheless given relative to the module's source. If
47 source code is not available, this value addresses a binary
48 position in the compiled code. </p>
50 @see XLibraryAccess::getModuleCode
51 @see XLibraryAccess::getFunctionCode
55 /** contains the first column in the <var>StartLine</var> associated with
61 /** contains the last line in the module's source code associated with
66 /** contains the first column in the <var>EndLine</var> that is NOT
67 associated with the context.
71 /** Get all names of the local variable in this context.
73 sequence
<string> LocalVariableNames
;
80 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */