Message.md
In grammar silver:langutil
file Message.sv
:
Contained in grammar [silver:langutil]
. Defined at silver/langutil/Message.sv line 12.
A Message represents a compiler output message (error/warning)
Contained in grammar [silver:langutil]
. Defined at silver/langutil/Message.sv line 17.
The location of an error message.
Contained in grammar [silver:langutil]
. Defined at silver/langutil/Message.sv line 22.
The contents of the error message.
Contained in grammar [silver:langutil]
. Defined at silver/langutil/Message.sv line 27.
A recommended way to turn this message into console output with location info.
Contained in grammar [silver:langutil]
. Defined at silver/langutil/Message.sv line 32.
A recommended way to turn this message into console output without location info.
Contained in grammar [silver:langutil]
. Defined at silver/langutil/Message.sv line 39.
A convention for determining message severity. err=2, wrn=1, info=0 TODO: Consider making this a custom datatype.
Contained in grammar [silver:langutil]
. Defined at silver/langutil/Message.sv line 57.
A error that should halt compilation before translation proceeds on the compilation unit the error occurs in.
Contained in grammar [silver:langutil]
. Defined at silver/langutil/Message.sv line 71.
A warning that is not required to halt compilation before translation proceeds on the compilation unit the warning occurs in.
Contained in grammar [silver:langutil]
. Defined at silver/langutil/Message.sv line 85.
An informational message that does not halt compilation, but is usually attached to an error or warning.
Contained in grammar [silver:langutil]
. Defined at silver/langutil/Message.sv line 98.
A group of messages.
Contained in grammar [silver:langutil]
. Defined at silver/langutil/Message.sv line 120.
Determines if a list has any errors (or, optionally, warnings, too)
Contained in grammar [silver:langutil]
. Defined at silver/langutil/Message.sv line 130.
Show a message as a string, specially reporting undesired errors from extension-generated code.
Contained in grammar [silver:langutil]
. Defined at silver/langutil/Message.sv line 160.
Returns a list of strings, ready to be printed to the command line.
Contained in grammar [silver:langutil]
. Defined at silver/langutil/Message.sv line 167.
Returns a list of strings, without doing the check for an origin in extension-generated code. This is useful for pretty-printing error productions to avoid a circularity.