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

Online Help

All Products    Maple    MapleSim


Printer

  

GetExpressionType

  

get type of IC expression

 

Calling Sequence

Parameters

Description

Calling Sequence

Printer:-GetExpressionType(expr)

Parameters

Printer

-

Printer module

expr

-

Intermediate Code expression

Description

• 

When called during the printing of the intermediate form, the GetExpressionType command returns a CodeGeneration:-Names:-Type or CodeGeneration:-Names:-ArrayType expression corresponding to the type of the intermediate form expression expr in the present scope.

• 

Note that the result of GetExpressionType is dependent on the current position within the intermediate form.  For example, the function call GetExpressionType(Name("x")) may return different results when called during the printing of a procedure with a local variable x than when called outside the printing of this procedure.

See Also

GetScopeName

GetScopeStructure

Printer