CodeGeneration[LanguageDefinition]
GenericPrinter
get generic printing module
Calling Sequence
Description
Examples
CodeGeneration[LanguageDefinition][GenericPrinter]()
The GenericPrinter function returns a Printer module that may be used to encode the instructions necessary to translate CodeGeneration's Intermediate Code structure.
Printer≔CodeGenerationLanguageDefinitionGenericPrinter⁡:
exports⁡Printer
AddType,Comment,Endline,GetType,Indent,Print,AddFunction,AddFunctions,AddLibrary,AddOperator,AddPrintHandler,Function,GenerateSymbol,GetFunction,GetIncludes,GetOperator,GetPrecedence,GetPrintHandler,GetScopeName,PopIndentation,PrintBinary,PrintTarget,PrintUnary,PushIndentation,ScopeDepth,SetPrecedence,_pexports,ApplyLanguageAttribute,GetExpressionType,GetFunctionSignature,GetLanguageAttribute,GetScopeStructure,PrintDelimitedList,PrintParentheses,PrintStatementBlock,SetLanguageAttribute
See Also
CodeGeneration
CodeGenerationDetails
IntermediateCodeStructure
Download Help Document