Package | Description |
---|---|
com.tameif.tame |
Base package.
|
com.tameif.tame.lang |
Contains linguistic abstraction classes.
|
Modifier and Type | Method and Description |
---|---|
static TAMEResponse |
TAMELogic.handleCommand(TAMEModuleContext moduleContext,
TAMECommand command,
boolean tracing)
Handles a single action.
|
static TAMEResponse |
TAMELogic.handleInit(TAMEModuleContext moduleContext,
boolean tracing)
Handles context initialization, returning the response from it.
|
static TAMEResponse |
TAMELogic.handleInit(TAMEModuleContext moduleContext,
TraceType... traceTypes)
Handles context initialization, returning the response from it.
|
static TAMEResponse |
TAMELogic.handleRequest(TAMEModuleContext moduleContext,
java.lang.String input,
boolean tracing)
Handles a full request.
|
static TAMEResponse |
TAMELogic.handleRequest(TAMEModuleContext moduleContext,
java.lang.String input,
TraceType... traceTypes)
Handles a full request.
|
Modifier and Type | Method and Description |
---|---|
static void |
TAMELogic.callBlock(TAMERequest request,
TAMEResponse response,
TElementContext<?> context,
Block block)
Performs the necessary tasks for calling an object block.
|
static void |
TAMELogic.callBlock(TAMERequest request,
TAMEResponse response,
TElementContext<?> context,
Block block,
boolean functionBlock,
ValueSet blockLocal)
Performs the necessary tasks for calling an object block.
|
static boolean |
TAMELogic.callElementBlock(TAMERequest request,
TAMEResponse response,
TElementContext<?> context,
BlockEntry blockEntry)
Attempts to resolve and call an element block.
|
static boolean |
TAMELogic.callElementBlock(TAMERequest request,
TAMEResponse response,
TElementContext<?> context,
BlockEntry blockEntry,
java.lang.String openTarget,
java.lang.Iterable<java.lang.String> locals)
Attempts to resolve and call an element block.
|
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.
|
static boolean |
TAMELogic.checkObjectAccessibility(TAMERequest request,
TAMEResponse response,
TPlayer player,
TObject object)
Checks if an object is accessible to a player.
|
static void |
TAMELogic.doArithmeticStackFunction(TAMERequest request,
TAMEResponse response,
int functionType)
Performs an arithmetic function on the stack.
|
static void |
TAMELogic.doBrowse(TAMERequest request,
TAMEResponse response,
ObjectContainer element)
Attempts to perform an element browse.
|
static void |
TAMELogic.doBrowse(TAMERequest request,
TAMEResponse response,
ObjectContainer element,
java.lang.String tag)
Attempts to perform an element browse.
|
protected void |
TAMEOperation.doOperation(TAMERequest request,
TAMEResponse response,
ValueSet blockLocal,
Operation operation)
Performs the operation.
|
static void |
TAMELogic.doPlayerSwitch(TAMERequest request,
TAMEResponse response,
TPlayer nextPlayer)
Attempts to perform a player switch.
|
static void |
TAMELogic.doRoomPop(TAMERequest request,
TAMEResponse response,
TPlayer player)
Attempts to perform a room stack pop for a player.
|
static void |
TAMELogic.doRoomPush(TAMERequest request,
TAMEResponse response,
TPlayer player,
TRoom nextRoom)
Attempts to perform a room stack push for a player.
|
static void |
TAMELogic.doRoomSwitch(TAMERequest request,
TAMEResponse response,
TPlayer player,
TRoom nextRoom)
Attempts to perform a room switch.
|
static boolean |
TAMELogic.enqueueInterpretedAction(TAMERequest request,
TAMEResponse response,
com.tameif.tame.TAMELogic.InterpreterContext interpreterContext)
Enqueues an action based on how it is interpreted.
|
void |
TAMEOperation.execute(TAMERequest request,
TAMEResponse response,
ValueSet blockLocal,
Operation operation)
Increments the runaway operation counter and calls the operation.
|
static void |
TAMELogic.processCommand(TAMERequest request,
TAMEResponse response,
TAMECommand command)
Processes a single action.
|
Constructor and Description |
---|
TAMEResponseReader(TAMEResponse response)
TAME response reader.
|
Modifier and Type | Method and Description |
---|---|
void |
Block.execute(TAMERequest request,
TAMEResponse response,
ValueSet blockLocal) |
void |
CallableType.execute(TAMERequest request,
TAMEResponse response,
ValueSet blockLocal)
Executes something that can change the request and response.
|
void |
Operation.execute(TAMERequest request,
TAMEResponse response,
ValueSet blockLocal) |
void |
OperationType.execute(TAMERequest request,
TAMEResponse response,
ValueSet blockLocal,
Operation statement)
Calls the operation and increments the operation count.
|