Class CompilerMessage
java.lang.Object
net.emustudio.emulib.plugin.compiler.CompilerMessage
Messages are passed to compiler listeners when the compiler wishes to say something.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionCompilerMessage(CompilerMessage.Type type, String message, SourceCodePosition position) -
Method Summary
-
Constructor Details
-
CompilerMessage
- Parameters:
type- message typemessage- message textposition- source position, or null if the message is not related to a source position
-
-
Method Details
-
getFormattedMessage
- Returns:
- message text prefixed with the source position, if present
-
getPosition
- Returns:
- source position, if present
-
getMessage
- Returns:
- message text
-
getType
- Returns:
- message type
-
toString
-