[Top]
CompilerEnvironment
|
Method CompilerEnvironment()->report()
- Method
report
-
void report(SeverityLevel severity, string filename, int linenumber, string subsystem, string message, mixed ... extra_args)
- Description
-
Report a diagnostic from the compiler.
- Parameter severity
-
The severity of the diagnostic.
The default implementation does the following depending on severity :
If there's no master object yet, the diagnostic is output to
Stdio.stderr .
- Parameter filename
-
- Parameter linenumber
-
Location which triggered the diagnostic.
- Parameter subsystem
-
Compiler subsystem that generated the diagnostic.
- Parameter message
-
sprintf() -style formatting string with the diagnostic message.
- Parameter extra_args
-
Extra arguments to sprintf() .
- See also
-
PikeCompiler()->report()
|