GetScopeStructure - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Printer

  

GetScopeStructure

  

get intermediate code structure of enclosing scope

 

Calling Sequence

Parameters

Description

Calling Sequence

Printer:-GetScopeStructure(t)

Parameters

Printer

-

Printer module

t

-

(optional) type

Description

• 

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

Printer