LibreOffice
LibreOffice 7.4 SDK API Reference
Public Types | Public Attributes | List of all members
ContextInformation Struct Referencepublished

provides information about a certain stack frame. More...

import"ContextInformation.idl";

Public Types

typedef sequence< string > LocalVariableNames
 Get all names of the local variable in this context. More...
 

Public Attributes

string Name
 Full qualified name to address the module or function associated with the context. More...
 
string SourceCode
 Source code of the Module, that is associated with the context. More...
 
long StartLine
 contains the first line in the module's source code associated with the context. More...
 
long StartColumn
 contains the first column in the StartLine associated with the context. More...
 
long EndLine
 contains the last line in the module's source code associated with the context. More...
 
long EndColumn
 contains the first column in the EndLine that is NOT associated with the context. More...
 

Detailed Description

provides information about a certain stack frame.

Deprecated:

Member Typedef Documentation

◆ LocalVariableNames

sequence<string> LocalVariableNames

Get all names of the local variable in this context.

Member Data Documentation

◆ EndColumn

long EndColumn

contains the first column in the EndLine that is NOT associated with the context.

◆ EndLine

long EndLine

contains the last line in the module's source code associated with the context.

◆ Name

string Name

Full qualified name to address the module or function associated with the context.

If the module or function can't be addressed by name, e.g., in case that a runtime generated eval-module is executed, this string is empty

◆ SourceCode

string SourceCode

Source code of the Module, that is associated with the context.

If the source can be accessed using the ModuleName or if the source is unknown (executing compiled code) this string can be empty.

◆ StartColumn

long StartColumn

contains the first column in the StartLine associated with the context.

◆ StartLine

long StartLine

contains the first line in the module's source code associated with the context.

If "name" addresses a function, all line and column values are nevertheless given relative to the module's source. If source code is not available, this value addresses a binary position in the compiled code.

See also
XLibraryAccess::getModuleCode
XLibraryAccess::getFunctionCode

The documentation for this struct was generated from the following file: