Printer
GetScopeStructure
get intermediate code structure of enclosing scope
Calling Sequence
Parameters
Description
Printer:-GetScopeStructure(t)
-
Printer module
t
(optional) type
When called during the printing of intermediate code, the GetScopeStructure command returns the Procedure, Module, or StatementSequence intermediate code structure, which encloses the current scope.
If the optional parameter t is supplied, GetScopeStructure returns the innermost intermediate code structure enclosing the current scope that is of type t. If no such intermediate code structure exists, NULL is returned.
For example, during the printing of a procedure body, GetScopeStructure returns the Procedure intermediate code structure.
See Also
GetExpressionType
GetScopeName
Download Help Document