mirror of
https://github.com/GTNewHorizons/CraftTweaker.git
synced 2026-11-17 02:45:07 +00:00
Added projects and basic build scripts. Project for scripting engine, API, Main 1.7 version and one for each mod supported in 1.7.
This commit is contained in:
1 parent
219106f392
commit
38b78ce305
281 files changed
+25090
-49
No files matched your search
@@ -0,0 +1,73 @@
|
||||
/*
|
||||
* 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.value;
|
||||
|
||||
import java.util.Iterator;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Stanneke
|
||||
*/
|
||||
public interface IAny {
|
||||
public IAny not();
|
||||
|
||||
public IAny neg();
|
||||
|
||||
public IAny add(IAny value);
|
||||
|
||||
public IAny sub(IAny value);
|
||||
|
||||
public IAny cat(IAny value);
|
||||
|
||||
public IAny mul(IAny value);
|
||||
|
||||
public IAny div(IAny value);
|
||||
|
||||
public IAny mod(IAny value);
|
||||
|
||||
public IAny and(IAny value);
|
||||
|
||||
public IAny or(IAny value);
|
||||
|
||||
public IAny xor(IAny value);
|
||||
|
||||
public IAny range(IAny value);
|
||||
|
||||
public int compareTo(IAny value);
|
||||
|
||||
public boolean contains(IAny value);
|
||||
|
||||
public IAny member(String value);
|
||||
|
||||
public IAny indexGet(IAny key);
|
||||
|
||||
public void indexSet(IAny key, IAny value);
|
||||
|
||||
public IAny call(IAny... values);
|
||||
|
||||
public boolean asBool();
|
||||
|
||||
public byte asByte();
|
||||
|
||||
public short asShort();
|
||||
|
||||
public int asInt();
|
||||
|
||||
public long asLong();
|
||||
|
||||
public float asFloat();
|
||||
|
||||
public double asDouble();
|
||||
|
||||
public String asString();
|
||||
|
||||
public <T> T as(Class<T> cls);
|
||||
|
||||
public Iterator<IAny> iteratorSingle();
|
||||
|
||||
public Iterator<IAny[]> iteratorMulti(int n);
|
||||
}
|
||||
Reference in new issue
Block a user