Function
A function definition which can be part of a bounded context or an entity.
Value parameters
- contents
-
The set of types, functions, statements, authors, includes and terms that define this FUnction
- id
-
The identifier that names the function
- input
-
An optional type expression that names and types the fields of the input of the function
- loc
-
The location of the function definition
- metadata
-
The set of descriptive values for this function
- output
-
An optional type expression that names and types the fields of the output of the function
Attributes
- Source
- AST.scala
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WithStatements[FunctionContents]trait WithFunctions[FunctionContents]trait VitalDefinition[FunctionContents]trait WithMetaDatatrait WithOptions[FunctionContents]trait WithComments[FunctionContents]trait WithIncludes[FunctionContents]trait WithTypes[FunctionContents]trait BranchDefinition[FunctionContents]trait Parenttrait Container[FunctionContents]trait Definitiontrait WithIdentifiertrait RiddlValueclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
Format the node to a string in a form suitable for use in error messages
Format the node to a string in a form suitable for use in error messages
Attributes
- Definition Classes
- Source
- AST.scala
Determine if this RiddlValue is empty or not.
Determine if this RiddlValue is empty or not. Non-containers are always empty
Attributes
- Definition Classes
- Source
- AST.scala
Provide a string to specify the kind of thing this value is with default derived from class name
Provide a string to specify the kind of thing this value is with default derived from class name
Attributes
- Definition Classes
- Source
- AST.scala
Inherited methods
AN optional BriefDescription
A reliable extractor of the brief description, dealing with the optionality and plurality of it
A reliable extractor of the brief description, dealing with the optionality and plurality of it
Attributes
- Inherited from:
- WithMetaData
- Source
- AST.scala
A reliable extractor of the description, dealing with the optionality and plurality of it
A reliable extractor of the description, dealing with the optionality and plurality of it
Attributes
- Inherited from:
- WithMetaData
- Source
- AST.scala
A lazily constructed scala.Seq of Description
A lazily constructed scala.Seq of Description
Attributes
- Inherited from:
- WithMetaData
- Source
- AST.scala
Get the value of name
'd option, if there is one.
Get the value of name
'd option, if there is one.
Attributes
- Inherited from:
- WithOptions
- Source
- AST.scala
Determines if this RiddlValue references any Authors or not
Determines if this RiddlValue references any Authors or not
Attributes
- Definition Classes
- Inherited from:
- WithMetaData
- Source
- AST.scala
Determines if this RiddlValuedefines any Authors or not
Determines if this RiddlValuedefines any Authors or not
Attributes
- Inherited from:
- RiddlValue
- Source
- AST.scala
True iff there are contained definitions
True iff there are contained definitions
Attributes
Determines if this RiddlValue has any includes in it
Determines if this RiddlValue has any includes in it
Attributes
- Definition Classes
- Inherited from:
- WithIncludes
- Source
- AST.scala
True if this value contains an option with the given name
.
True if this value contains an option with the given name
.
Attributes
- Inherited from:
- WithOptions
- Source
- AST.scala
Determines if this RiddlValue has any options set or not
Determines if this RiddlValue has any options set or not
Attributes
- Definition Classes
- Inherited from:
- WithOptions
- Source
- AST.scala
Determines if this RiddlValue contains any type definitions
Determines if this RiddlValue contains any type definitions
Attributes
Convert the identifier into a string format with its kind and dealing with anonymity.
Convert the identifier into a string format with its kind and dealing with anonymity.
Attributes
- Inherited from:
- WithIdentifier
- Source
- AST.scala
This one has an identifier so it is only anonymous if that identifier is empty
This one has an identifier so it is only anonymous if that identifier is empty
Attributes
- Definition Classes
- Inherited from:
- WithIdentifier
- Source
- AST.scala
Determines if this RiddlValue is a comment or not
Determines if this RiddlValue is a comment or not
Attributes
- Inherited from:
- RiddlValue
- Source
- AST.scala
Force all subclasses to return true as they are containers
Force all subclasses to return true as they are containers
Attributes
Yes anything deriving from here is a definition
Yes anything deriving from here is a definition
Attributes
- Definition Classes
- Inherited from:
- Definition
- Source
- AST.scala
Whether or not this instance has an id: Identifier field or not
Whether or not this instance has an id: Identifier field or not
Attributes
- Definition Classes
- Inherited from:
- WithIdentifier
- Source
- AST.scala
Attributes
Determines if this RiddlValue is a processor (handles messages) or not
Determines if this RiddlValue is a processor (handles messages) or not
Attributes
- Inherited from:
- RiddlValue
- Source
- AST.scala
Determine if this RiddlValue is the top most container, appearing at the root of the AST
Determine if this RiddlValue is the top most container, appearing at the root of the AST
Attributes
- Inherited from:
- RiddlValue
- Source
- AST.scala
Determines if this node is a vital node or not
Determines if this node is a vital node or not
Attributes
- Definition Classes
- Inherited from:
- VitalDefinition
- Source
- AST.scala
implements the nonEmpty function based on the isEmpty function
implements the nonEmpty function based on the isEmpty function
Attributes
- Inherited from:
- RiddlValue
- Source
- AST.scala
A lazily constructed Seq of OptionValue filtered from the contents
A lazily constructed Seq of OptionValue filtered from the contents
Attributes
- Inherited from:
- WithOptions
- Source
- AST.scala
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
Inherited fields
Attributes
- Inherited from:
- WithMetaData
- Source
- AST.scala