struct ContextInformation in module com::sun::star::script::

(Global Index)

Syntax

struct ContextInformation;

Description

provides information about a certain stack frame.

Field Summary

Name Full qualified name to adress the module or function associated with the context. If the module or function can't be adressed by name, e.g. in case that a runtime generated eval-module is executed, this string is empty

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.

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

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

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

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

LocalVariableNames * Get all names of the local variable in this context.

Field Details



Name

Syntax

string Name;

Description

Full qualified name to adress the module or function associated with the context. If the module or function can't be adressed by name, e.g. in case that a runtime generated eval-module is executed, this string is empty


SourceCode

Syntax

string SourceCode;

Description

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.


StartLine

Syntax

long StartLine;

Description

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

See also

XLibraryAccess::getFunctionCode

StartColumn

Syntax

long StartColumn;

Description

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


EndLine

Syntax

long EndLine;

Description

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


EndColumn

Syntax

long EndColumn;

Description

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


LocalVariableNames

Syntax

sequence< string > LocalVariableNames;

Description

* Get all names of the local variable in this context.

Top of Page