SyntaxMsg
The role of messages is to provide the necessary details for a simple to understand diagnostic event. Each message can be turned into a message container (one of the above) by calling the appropriate method on them. For instance:
Messages
The role of messages is to provide the necessary details for a simple to understand diagnostic event. Each message can be turned into a message container (one of the above) by calling the appropriate method on them. For instance:
EmptyCatchBlock(tree).error(pos) // res: Error
EmptyCatchBlock(tree).warning(pos) // res: Warning
Value members
Inherited methods
Does this message have an explanation?
This is normally the same as explain.nonEmpty
but can be overridden
if we need a way to return true
without actually calling the
explain
method.
Does this message have an explanation?
This is normally the same as explain.nonEmpty
but can be overridden
if we need a way to return true
without actually calling the
explain
method.
- Inherited from
- Message
A message is non-sensical if it contains references to
A message is non-sensical if it contains references to
- Inherited from
- Message
The implicit Context
in messages is a large thing that we don't want
persisted. This method gets around that by duplicating the message,
forcing its msg
and explanation
vals and dropping the implicit context
that was captured in the original message.
The implicit Context
in messages is a large thing that we don't want
persisted. This method gets around that by duplicating the message,
forcing its msg
and explanation
vals and dropping the implicit context
that was captured in the original message.
- Inherited from
- Message
The message with potential embedded
The message with potential embedded
- Inherited from
- Message