Package | Description |
---|---|
com.tameif.tame |
Base package.
|
com.tameif.tame.element.context |
Contains context and state data for a TAME context.
|
com.tameif.tame.lang |
Contains linguistic abstraction classes.
|
Modifier and Type | Method and Description |
---|---|
static Value |
TAMELogic.callElementFunction(TAMERequest request,
TAMEResponse response,
java.lang.String functionName,
TElementContext<?> originContext)
Calls a function from an arbitrary context, using the bound element as a lineage search point.
|
Modifier and Type | Method and Description |
---|---|
TElement |
TAMEModuleContext.resolveElement(Value varElement)
Resolves an element by a value.
|
TElementContext<?> |
TAMEModuleContext.resolveElementContext(Value varElement)
Resolves an element context by a value.
|
java.lang.Iterable<TObject> |
TAMEModuleContext.resolveObjectList(Value varObjectContainer)
Resolves a list of all objects contained by an object container.
|
Modifier and Type | Method and Description |
---|---|
Value |
TElementContext.getValue(java.lang.String variableName)
Gets a variable's value on this context.
|
Modifier and Type | Method and Description |
---|---|
void |
TElementContext.setValue(java.lang.String variableName,
Value value)
Sets a variable's value on this context.
|
Modifier and Type | Method and Description |
---|---|
void |
TElementContext.readStateBytes(TAMEModule module,
java.util.Map<java.lang.Long,Value> referenceMap,
java.io.InputStream in) |
void |
TOwnershipMap.readStateBytes(TAMEModule module,
java.util.Map<java.lang.Long,Value> referenceMap,
java.io.InputStream in) |
Modifier and Type | Method and Description |
---|---|
static Value |
Value.absolute(Value value1)
Returns the absolute value of a literal value.
|
static Value |
Value.add(Value value1,
Value value2)
Returns the addition of two literal values.
|
static Value |
Value.create(boolean value)
Creates a boolean value.
|
static Value |
Value.create(double value)
Creates a value typed as float.
|
static Value |
Value.create(float value)
Creates a value typed as float.
|
static Value |
Value.create(int value)
Creates an integer value.
|
static Value |
Value.create(long value)
Creates a long integer value.
|
static Value |
Value.create(Value inputValue)
Creates a copy of a value.
|
static Value |
Value.create(java.lang.String value)
Creates a value typed as string.
|
static Value |
Value.createAction(java.lang.String identity)
Creates a action value.
|
static Value |
Value.createContainer(java.lang.String identity)
Creates a container value.
|
static Value |
Value.createEmptyList()
Creates an empty list value.
|
static Value |
Value.createEmptyList(int capacity)
Creates an empty list value.
|
static Value |
Value.createList(Value... values)
Creates a list value.
|
static Value |
Value.createObject(java.lang.String identity)
Creates an object value.
|
static Value |
Value.createPlayer(java.lang.String identity)
Creates a player value.
|
static Value |
Value.createRoom(java.lang.String identity)
Creates a room value.
|
static Value |
Value.createVariable(java.lang.String name)
Creates a variable reference value.
|
static Value |
Value.createWorld()
Creates a world value.
|
static Value |
Value.divide(Value value1,
Value value2)
Returns the division of two literal values.
|
Value |
ArithmeticOperator.doOperation(Value value)
Performs the action on one value.
|
Value |
ArithmeticOperator.doOperation(Value value1,
Value value2)
Performs the action on two values.
|
static Value |
Value.equals(Value value1,
Value value2)
Returns if two values are equal, no type safety if they are literals.
|
Value |
ValueSet.get(java.lang.String variableName)
Gets a value on this hash.
|
Value |
Operation.getOperand0()
Gets the first operand, if any.
|
Value |
Operation.getOperand1()
Gets the second operand, if any.
|
Value[] |
BlockEntry.getValues()
Gets the values to match.
|
static Value |
Value.greater(Value value1,
Value value2)
Returns if the first literal value is greater than the second.
|
static Value |
Value.greaterOrEqual(Value value1,
Value value2)
Returns if the first literal value is greater than or equal to the second.
|
static Value |
Value.less(Value value1,
Value value2)
Returns if the first literal value is less than the second.
|
static Value |
Value.lessOrEqual(Value value1,
Value value2)
Returns if the first literal value is less than or equal to the second.
|
Value |
Value.listGet(int i)
Gets a value on this at a specific index, if this is a list.
|
Value |
Value.listRemoveAt(int i)
Removes a value from this at a specific index, if this is a list.
|
static Value |
Value.logicalAnd(Value value1,
Value value2)
Returns the "logical and" of two literal values.
|
static Value |
Value.logicalNot(Value value1)
Returns the "logical not" value of a literal value.
|
static Value |
Value.logicalOr(Value value1,
Value value2)
Returns the "logical or" of two literal values.
|
static Value |
Value.logicalXOr(Value value1,
Value value2)
Returns the "logical xor" of two literal values.
|
static Value |
Value.modulo(Value value1,
Value value2)
Returns the modulo of one literal value using another.
|
static Value |
Value.multiply(Value value1,
Value value2)
Returns the multiplication of two literal values.
|
static Value |
Value.negate(Value value1)
Returns the negative value of a literal value.
|
static Value |
Value.notEquals(Value value1,
Value value2)
Returns if two values are not equal, no type safety if they are literals.
|
static Value |
Value.power(Value value1,
Value value2)
Returns the result of one value raised to a certain power.
|
static Value |
Value.read(java.io.InputStream in)
Reads a value from an input stream, using a reference map to pick up seen references.
|
static Value |
Value.read(java.util.Map<java.lang.Long,Value> referenceMap,
java.io.InputStream in)
Reads a value from an input stream, using a reference map to pick up seen references.
|
static Value |
Value.strictEquals(Value value1,
Value value2)
Returns if two values are equal, with type strictness.
|
static Value |
Value.strictNotEquals(Value value1,
Value value2)
Returns if two values are not equal, with type strictness.
|
static Value |
Value.subtract(Value value1,
Value value2)
Returns the subtraction of the second literal value from the first.
|
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<java.util.Map.Entry<java.lang.String,Value>> |
ValueSet.iterator() |
Modifier and Type | Method and Description |
---|---|
static Value |
Value.absolute(Value value1)
Returns the absolute value of a literal value.
|
static Value |
Value.add(Value value1,
Value value2)
Returns the addition of two literal values.
|
int |
Value.compareTo(Value v) |
static BlockEntry |
BlockEntry.create(BlockEntryType entryType,
Value... values)
Creates a new BlockEntry.
|
static Operation |
Operation.create(TAMEOperation operation,
Value operand0)
Creates an operation with an operand.
|
static Operation |
Operation.create(TAMEOperation operation,
Value operand0,
Value operand1)
Creates an operation with operands.
|
static Value |
Value.create(Value inputValue)
Creates a copy of a value.
|
static Value |
Value.createList(Value... values)
Creates a list value.
|
static Value |
Value.divide(Value value1,
Value value2)
Returns the division of two literal values.
|
Value |
ArithmeticOperator.doOperation(Value value)
Performs the action on one value.
|
Value |
ArithmeticOperator.doOperation(Value value1,
Value value2)
Performs the action on two values.
|
boolean |
Value.equals(Value otherValue)
Returns if this value is equal to another: PERFECTLY EQUAL, type strict.
|
static Value |
Value.equals(Value value1,
Value value2)
Returns if two values are equal, no type safety if they are literals.
|
boolean |
Value.equalsIgnoreType(Value otherValue)
Returns if this value is equal to another, value-wise.
|
static Value |
Value.greater(Value value1,
Value value2)
Returns if the first literal value is greater than the second.
|
static Value |
Value.greaterOrEqual(Value value1,
Value value2)
Returns if the first literal value is greater than or equal to the second.
|
static Value |
Value.less(Value value1,
Value value2)
Returns if the first literal value is less than the second.
|
static Value |
Value.lessOrEqual(Value value1,
Value value2)
Returns if the first literal value is less than or equal to the second.
|
boolean |
Value.listAdd(Value v)
Adds a value to this, if this is a list.
|
boolean |
Value.listAddAt(int i,
Value v)
Adds a value to this at a specific index, if this is a list.
|
boolean |
Value.listContains(Value v)
Checks if this value contains a value, if this is a list.
|
int |
Value.listIndexOf(Value v)
Gets the index of a value from this, if this is a list.
|
boolean |
Value.listRemove(Value v)
Removes a value from inside this value, if this is a list.
|
boolean |
Value.listSet(int i,
Value v)
Sets a value on this at a specific index, if this is a list.
|
static Value |
Value.logicalAnd(Value value1,
Value value2)
Returns the "logical and" of two literal values.
|
static Value |
Value.logicalNot(Value value1)
Returns the "logical not" value of a literal value.
|
static Value |
Value.logicalOr(Value value1,
Value value2)
Returns the "logical or" of two literal values.
|
static Value |
Value.logicalXOr(Value value1,
Value value2)
Returns the "logical xor" of two literal values.
|
static Value |
Value.modulo(Value value1,
Value value2)
Returns the modulo of one literal value using another.
|
static Value |
Value.multiply(Value value1,
Value value2)
Returns the multiplication of two literal values.
|
static Value |
Value.negate(Value value1)
Returns the negative value of a literal value.
|
static Value |
Value.notEquals(Value value1,
Value value2)
Returns if two values are not equal, no type safety if they are literals.
|
static Value |
Value.power(Value value1,
Value value2)
Returns the result of one value raised to a certain power.
|
void |
ValueSet.put(java.lang.String variableName,
Value value)
Sets a value on this hash.
|
static Value |
Value.strictEquals(Value value1,
Value value2)
Returns if two values are equal, with type strictness.
|
static Value |
Value.strictNotEquals(Value value1,
Value value2)
Returns if two values are not equal, with type strictness.
|
static Value |
Value.subtract(Value value1,
Value value2)
Returns the subtraction of the second literal value from the first.
|
Modifier and Type | Method and Description |
---|---|
static ValueSet |
ValueSet.create(java.util.Map<java.lang.Long,Value> referenceMap,
java.io.InputStream in)
Creates this object from an input stream, expecting its byte representation.
|
default void |
ReferenceSaveable.fromReferentialBytes(java.util.Map<java.lang.Long,Value> referenceMap,
byte[] data)
Reads this object's representation from a byte array, looking up value references in a map.
|
default void |
StateSaveable.fromStateBytes(TAMEModule module,
java.util.Map<java.lang.Long,Value> referenceMap,
byte[] data)
Reads this object's state representation from a byte array.
|
static Value |
Value.read(java.util.Map<java.lang.Long,Value> referenceMap,
java.io.InputStream in)
Reads a value from an input stream, using a reference map to pick up seen references.
|
void |
ReferenceSaveable.readReferentialBytes(java.util.Map<java.lang.Long,Value> referenceMap,
java.io.InputStream in)
Imports this object from bytes, looking up value references in a map.
|
void |
Value.readReferentialBytes(java.util.Map<java.lang.Long,Value> referenceMap,
java.io.InputStream in) |
void |
ValueSet.readReferentialBytes(java.util.Map<java.lang.Long,Value> referenceMap,
java.io.InputStream in) |
void |
StateSaveable.readStateBytes(TAMEModule module,
java.util.Map<java.lang.Long,Value> referenceMap,
java.io.InputStream in)
Imports this object's state from bytes.
|