Jump to content

API Expand: Difference between revisions

From Flowcode Help
Admin (talk | contribs)
XML import API auto-gen
Admin (talk | contribs)
XML import
Line 2: Line 2:
Various variable and code expansion routines
Various variable and code expansion routines


===Functions provided for this class===
==Functions provided for this class==
{||-|[[API Expand.PathName|PathName]]|Expands a string using the built-in pathname expansion variables|-|[[API Expand.MacroName|MacroName]]|Expands a string to the name of a macro used in the generated code|-|[[API Expand.VarName|VarName]]|Expands a string to the name of a global variable used in the generated code|-|[[API Expand.Property|Property]]|Expands a string to the name of a property used in the generated code|-|[[API Expand.MacroHead|MacroHead]]|Expands a macro name to the code generated for the header of that macro|-|[[API Expand.MacroBody|MacroBody]]|Expands a macro name to the code generated for the body of that macro|-|[[API Expand.MacroTail|MacroTail]]|Expands a macro name to the code generated for the tail of that macro|}
{|
|-
|width="35%"|[[API Expand.PathName|PathName]]
|Expands a string using the built-in pathname expansion variables
|-
|width="35%"|[[API Expand.MacroName|MacroName]]
|Expands a string to the name of a macro used in the generated code
|-
|width="35%"|[[API Expand.VarName|VarName]]
|Expands a string to the name of a global variable used in the generated code
|-
|width="35%"|[[API Expand.Property|Property]]
|Expands a string to the name of a property used in the generated code
|-
|width="35%"|[[API Expand.MacroHead|MacroHead]]
|Expands a macro name to the code generated for the header of that macro
|-
|width="35%"|[[API Expand.MacroBody|MacroBody]]
|Expands a macro name to the code generated for the body of that macro
|-
|width="35%"|[[API Expand.MacroTail|MacroTail]]
|Expands a macro name to the code generated for the tail of that macro
|}


===Examples===
 
==Examples==
''No examples available''

Revision as of 17:04, 11 May 2013

<sidebar>API contents</sidebar> Various variable and code expansion routines

Functions provided for this class

PathName Expands a string using the built-in pathname expansion variables
MacroName Expands a string to the name of a macro used in the generated code
VarName Expands a string to the name of a global variable used in the generated code
Property Expands a string to the name of a property used in the generated code
MacroHead Expands a macro name to the code generated for the header of that macro
MacroBody Expands a macro name to the code generated for the body of that macro
MacroTail Expands a macro name to the code generated for the tail of that macro


Examples

No examples available