ALox  V. 2402 R. 0
Home ALox for C++ ALox for C# ALox for Java Download
Public Fields | Public Methods | List of all members
Report.Message Class Reference

Class Description

A report message.

Public Fields

Object[] Contents
 
String File
 
String Func
 
int Line
 
int Type
 

Public Methods

 Message (int type, Object[] contents, String csf="", int cln=0, String cmn="")
 

Constructor & Destructor Documentation

◆ Message()

Message ( int  type,
Object[]  contents,
String  csf = "",
int  cln = 0,
String  cmn = "" 
)
inline

Constructs a message.

Parameters
typeThe message type.
contentsThe message.
cln(Optional) Caller info, compiler generated. Please omit.
csf(Optional) Caller info, compiler generated. Please omit.
cmn(Optional) Caller info, compiler generated. Please omit.

Member Data Documentation

◆ Contents

Object [] Contents

The message.

◆ File

String File

The file name that reported.

◆ Func

String Func

The function/method name that reported.

◆ Line

int Line

The line number in the source file that reported.

◆ Type

int Type

The message type. 0 indicates 'severe' errors, 1 warnings. Others are status messages and may be defined (interpreted) by custom implementations of ReportWriter.


The documentation for this class was generated from the following file: