mirror of
https://github.com/GTNewHorizons/CraftTweaker.git
synced 2026-11-12 00:07:52 +00:00
- Added documentation to some classes
- Created script provider system - Did some refactoring to improve the API
This commit is contained in:
1 parent
38b78ce305
commit
97c7f42400
50 files changed
+1311
-318
No files matched your search
@@ -1,19 +1,27 @@
|
||||
/*
|
||||
* To change this license header, choose License Headers in Project Properties.
|
||||
* To change this template file, choose Tools | Templates
|
||||
* and open the template in the editor.
|
||||
*/
|
||||
|
||||
package stanhebben.zenscript;
|
||||
|
||||
import stanhebben.zenscript.util.ZenPosition;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Stanneke
|
||||
* Error logger. Implementations can forward errors to their own error logging
|
||||
* system.
|
||||
*
|
||||
* @author Stan Hebben
|
||||
*/
|
||||
public interface IZenErrorLogger {
|
||||
/**
|
||||
* Called when an error is detected during compilation.
|
||||
*
|
||||
* @param position error position
|
||||
* @param message error message
|
||||
*/
|
||||
public void error(ZenPosition position, String message);
|
||||
|
||||
/**
|
||||
* Called when a warning is generated during compilation.
|
||||
*
|
||||
* @param position warning position
|
||||
* @param message warning message
|
||||
*/
|
||||
public void warning(ZenPosition position, String message);
|
||||
}
|
||||
Reference in new issue
Block a user