Method
A leaf definition that is a callable method (function) of an aggregate type expression. Methods associate an identifier with a computed TypeExpression.
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
- Source
- AST.scala
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait AggregateValuetrait Leaftrait Definitiontrait WithMetaDatatrait 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
Inherited methods
Return the AuthorRef instances from the metadata
Return the AuthorRef instances from the metadata
Attributes
- Inherited from:
- WithMetaData
- Source
- AST.scala
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
Attributes
- Inherited from:
- WithIdentifier
- Source
- AST.scala
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:
- WithMetaData
- Source
- AST.scala
Determine if the metadata has any author refs
Determine if the metadata has any author refs
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
Determine if this RiddlValue has definitions it contains
Determine if this RiddlValue has definitions it contains
Attributes
- Definition Classes
- Inherited from:
- Definition
- Source
- AST.scala
Determines if this RiddlValue has any includes in it
Determines if this RiddlValue has any includes in it
Attributes
- Inherited from:
- RiddlValue
- Source
- AST.scala
Determine if the metadata has any option values
Determine if the metadata has any option values
Attributes
- Inherited from:
- WithMetaData
- Source
- AST.scala
Determines if this RiddlValue has any options set or not
Determines if this RiddlValue has any options set or not
Attributes
- Inherited from:
- RiddlValue
- Source
- AST.scala
Determines if this RiddlValue contains any type definitions
Determines if this RiddlValue contains any type definitions
Attributes
- Inherited from:
- RiddlValue
- Source
- AST.scala
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
Determine if this RiddlValue contains other values or not
Determine if this RiddlValue contains other values or not
Attributes
- Inherited from:
- RiddlValue
- Source
- AST.scala
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
Determine if this RiddlValue is empty or not.
Determine if this RiddlValue is empty or not. Non-containers are always empty
Attributes
- Inherited from:
- RiddlValue
- 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
- Definition Classes
- Inherited from:
- Definition
- Source
- AST.scala
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
- Inherited from:
- RiddlValue
- 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
- Inherited from:
- RiddlValue
- 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
Return the OptionValues in the meta data
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- WithMetaData
- Source
- AST.scala
Inherited fields
Get the ULID associated with the definition.
Get the ULID associated with the definition. There can only be one and they are assigned when this method is called, spreading their definition across the access patterns, on purpose.
Attributes
- Inherited from:
- WithMetaData
- Source
- AST.scala