Implement this interface in order for the construct to be able to validate itself.
|validate()||Validate the current construct.|
public validate(): string
Validate the current construct.
This method can be implemented by derived constructs in order to perform validation logic. It is called on all constructs before synthesis.