get intermediate code structure of enclosing scope - Maple Help

Online Help

All Products    Maple    MapleSim

Home : Support : Online Help : Programming : Code Generation Package : Language Definition : Printer : CodeGeneration/LanguageDefinition/Printer/GetScopeStructure

Printer:-GetScopeStructure - get intermediate code structure of enclosing scope

Calling Sequence





Printer module



(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, Printer

Download Help Document

Copyright © MathResources Inc. All Rights Reserved.

Was this information helpful?

Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam