Method
com.reactific.riddl.language.AST.Method
case class Method(loc: At, id: Identifier, args: Seq[MethodArgument], typeEx: TypeExpression, brief: Option[LiteralString], description: Option[Description]) extends LeafDefinition, AggregateDefinition, AlwaysEmpty, TypeDefinition, SagaDefinition, StateDefinition, FunctionDefinition, ProjectorDefinition
A leaf definition that is a callable method (function) of an aggregation type expressions. Methods associate an identifier with a computed type expression.
Value parameters
- args
-
The type of the field
- brief
-
A brief description (one sentence) for use in documentation
- description
-
An optional description of the field.
- id
-
The name of the field
- loc
-
The location of the field definition
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ProjectorDefinitiontrait FunctionDefinitiontrait StateDefinitiontrait SagaDefinitiontrait AlwaysEmptytrait AggregateDefinitiontrait TypeDefinitiontrait LeafDefinitiontrait Definitiontrait Container[Definition]trait BrieflyDescribedValuetrait DescribedValuetrait RiddlValuetrait RiddlNodeclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Inherited methods
Attributes
- Inherited from:
- Definition
Attributes
- Inherited from:
- BrieflyDescribedValue
Attributes
- Inherited from:
- LeafDefinition
Attributes
- Inherited from:
- DescribedValue
Attributes
- Inherited from:
- Definition
Attributes
- Inherited from:
- BrieflyDescribedValue
Attributes
- Definition Classes
- Inherited from:
- Definition
Attributes
- Inherited from:
- DescribedValue
Attributes
- Inherited from:
- Definition
Attributes
- Inherited from:
- Definition
Attributes
- Inherited from:
- Definition
Attributes
- Inherited from:
- Definition
Attributes
- Inherited from:
- Definition
Attributes
- Definition Classes
- Inherited from:
- Definition
determine if this node is empty or not.
determine if this node is empty or not. Non-containers are always empty
Attributes
- Definition Classes
- Inherited from:
- AlwaysEmpty
Attributes
- Inherited from:
- Definition
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- Definition
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Definition
In this article