CompilerInformation
CompilerInformation[fun]
gives compiler-specific information about the function fun.
gives compiler-specific information about the type ty.
returns all functions and types known to the compiler.
Details and Options
- The following option can be given:
-
CompilerEnvironment $CompilerEnvironment the compiler environment to use for information - For function inputs, the following properties can be given:
-
"ObjectType" the category of the information "Name" the name of the function "Declarations" the declarations of this function - For type inputs, the following properties can be given:
-
"ObjectType" the category of the information "TypeVariables" the variables of the type "AbstractTypes" abstract types that this type implements "Fields" fields that may be declared "Operations" operations that may be declared
Examples
open allclose allBasic Examples (4)
Return information known by the compiler for the function Dimensions:
There are a number of interactive elements that allow information about a specific implementation to be seen:
When information on types is requested, a different display is shown:
This also has interactive elements, which allows more detailed information to be displayed:
CompilerInformation can return all the information known to a compiler environment. Typically, this is quite large:
These are the declarations known to Dimensions:
Text
Wolfram Research (2024), CompilerInformation, Wolfram Language function, https://reference.wolfram.com/language/ref/CompilerInformation.html.
CMS
Wolfram Language. 2024. "CompilerInformation." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/CompilerInformation.html.
APA
Wolfram Language. (2024). CompilerInformation. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/CompilerInformation.html