Property
Base class for properties.
Constructor Summary
Public Constructor | ||
public |
constructor(value: *, props: Object, skipTransformer: boolean) Create a new property. |
Member Summary
Public Members | ||
public |
Determine if the property's value is transformed. |
|
public |
value: * The property's value. |
Method Summary
Public Methods | ||
public abstract |
Determine if the property's value is transformed. Returning true causes the transformer to be skipped. |
|
public |
Get a string representation of the property. |
|
public |
Get the property's properties formatted for string output. |
|
public |
transformedValue(): * Get the property's value. The value is transformed if needed. |
|
public abstract |
transformer(): * Function that transforms the value. |
Public Constructors
Public Members
Public Methods
public abstract shortTransformer(): boolean source
Determine if the property's value is transformed. Returning true causes the transformer to be skipped.
public transformedValue(): * source
Get the property's value. The value is transformed if needed.
Return:
* | The property's value (transformed if needed). |
public abstract transformer(): * source
Function that transforms the value.
Return:
* | The property's transformed value. |