AfxService
class AfxService (View source)
Class AfxService
Constants
protected INDENTATION |
|
protected SHORTHAND_META_PATHS |
|
Methods
static string
convertAfxToFusion(string $afxCode, string $indentation = '')
No description
static string
astToFusion(array $ast, string $indentation = '')
No description
static string
astBooleanToFusion(bool $payload)
No description
static string
astExpressionToFusion(string $payload)
No description
static string
astStringToFusion(string $payload)
No description
static string
astTextToFusion(string $payload)
No description
static string
propToFusion(array $attribute, string $attributePrefix, string $indentation = '')
No description
static string
propListToFusion(array $payload, string $attributePrefix, string $indentation = '')
No description
static string
astNodeToFusion(array $payload, string $indentation = '')
No description
static string
astNodeListToFusion(array $payload, string $indentation = '')
No description
static string
renderFusionAttributes(iterable $attributes, string $attributePrefix, string $indentation)
No description
static Generator
attributesSortPropsAndGeneratePropLists(iterable $attributes)
No description
static Generator
attributesGeneratePathForShorthandFusionMetaPath(iterable $attributes)
No description
static Generator
attributesRemoveKeyAndPathAndExtractChildrenName(iterable $attributes, string $childrenPropertyName)
filter attributes and remove {@key}, {@path} and {@children} attributes also extract the {@children} to the reference param
Details
static string
convertAfxToFusion(string $afxCode, string $indentation = '')
No description
static protected string
astToFusion(array $ast, string $indentation = '')
No description
static protected string
astBooleanToFusion(bool $payload)
No description
static protected string
astExpressionToFusion(string $payload)
No description
static protected string
astStringToFusion(string $payload)
No description
static protected string
astTextToFusion(string $payload)
No description
static protected string
propToFusion(array $attribute, string $attributePrefix, string $indentation = '')
No description
static protected string
propListToFusion(array $payload, string $attributePrefix, string $indentation = '')
No description
static protected string
astNodeToFusion(array $payload, string $indentation = '')
No description
static protected string
astNodeListToFusion(array $payload, string $indentation = '')
No description
static protected string
renderFusionAttributes(iterable $attributes, string $attributePrefix, string $indentation)
No description
static protected Generator
attributesSortPropsAndGeneratePropLists(iterable $attributes)
No description
static protected Generator
attributesGeneratePathForShorthandFusionMetaPath(iterable $attributes)
No description
static protected Generator
attributesRemoveKeyAndPathAndExtractChildrenName(iterable $attributes, string $childrenPropertyName)
filter attributes and remove {@key}, {@path} and {@children} attributes also extract the {@children} to the reference param