Method in Declaration
Creates a new instance of the Declaration class, using the given name, type and default value.
Name | Description |
---|---|
| The name of the new declaration. |
type | The type of the declaration. |
| The default value of the declaration. This must be a string, a number (integer or floating-point), or boolean value. |
| The description of the new declaration. |
A new instance of the Declaration class.