- Added documentation to some classes

- Created script provider system
- Did some refactoring to improve the API
This commit is contained in:
Stan Hebben committed 2014-06-10 21:12:55 +02:00
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);
}