C# Class Qupid.ErrorManager

显示文件 Open project: hudl/qupid

Public Methods

Method Description
Add ( QueryError error ) : void
AddError ( string message, int line = -1, int character = -1 ) : void
AddWarning ( string message, int line = -1, int character = -1 ) : void
CanExecute ( ) : bool

Returns true if there are any issues with Error severity

GetErrors ( ) : IEnumerable
HasAnyIssues ( ) : bool

Method Details

Add() public method

public Add ( QueryError error ) : void
error Qupid.Compile.QueryError
return void

AddError() public method

public AddError ( string message, int line = -1, int character = -1 ) : void
message string
line int
character int
return void

AddWarning() public method

public AddWarning ( string message, int line = -1, int character = -1 ) : void
message string
line int
character int
return void

CanExecute() public method

Returns true if there are any issues with Error severity
public CanExecute ( ) : bool
return bool

GetErrors() public method

public GetErrors ( ) : IEnumerable
return IEnumerable

HasAnyIssues() public method

public HasAnyIssues ( ) : bool
return bool