Home MORPH Syntax Interface
  Sponsored by Magnetar Games Main Specification Forum Syntax

MORPH Syntax

Element <Interface>
Attributes
None.
Content

Element <(Command)>
Attributes
  • (DSL Defined)
Content
A command represents a function prototype in an application. It may have a result, modeled using the "Response" object, and it may raise one or more exceptions, as specified in the "Error" object. If a function has no return value and does not raise exceptions, its XML form can be compacted into an empty element with attributes.

Element <(Command)Response>
Attributes
  • (DSL Defined)
Content
  • (DSL Defined)

Element <(Command)Error>
Attributes
Content
  • (DSL Defined)

Attribute "Exception" - enumeration
This optional attribute allows an engine to specify the exception that it raises.