|
![]() Quark Platform Documentation Version 1.7.1_0 Business Objects |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openquark.gems.client.AutoburnLogic
public class AutoburnLogic
A class that holds all of the autoburn logic that the tabletop uses. This was refactored out from the original version in the TableTop.
| Nested Class Summary | |
|---|---|
static class |
AutoburnLogic.AutoburnInfo
A helper class to hold the status of a query as to whether a particular connection between gems can be made, including the possibility of various sorts of burning. |
static class |
AutoburnLogic.AutoburnUnifyStatus
Enum pattern used to summarize how a gem can be connected to another gem, allowing for the possibility of autoburning. |
static class |
AutoburnLogic.BurnCombination
A helper class to hold information about a single burn combination. |
| Field Summary | |
|---|---|
static int |
MAX_BURN_DEPTH
The maximum burn depth which will be considered. |
| Constructor Summary | |
|---|---|
AutoburnLogic()
|
|
| Method Summary | |
|---|---|
static AutoburnLogic.AutoburnInfo |
getAutoburnInfo(TypeExpr destType,
GemEntity burnEntity,
TypeChecker.TypeCheckInfo info)
Return whether autoburning will result in a unification. |
static AutoburnLogic.AutoburnInfo |
getAutoburnInfo(TypeExpr destType,
Gem gem,
TypeChecker.TypeCheckInfo info)
Return whether autoburning will result in a unification. |
static AutoburnLogic.AutoburnInfo |
getAutoburnInfo(TypeExpr destType,
TypeExpr[] sourcePieces,
TypeChecker.TypeCheckInfo info)
Return whether autoburning will result in a unification. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int MAX_BURN_DEPTH
| Constructor Detail |
|---|
public AutoburnLogic()
| Method Detail |
|---|
public static AutoburnLogic.AutoburnInfo getAutoburnInfo(TypeExpr destType,
GemEntity burnEntity,
TypeChecker.TypeCheckInfo info)
destType - The destination type to unify withburnEntity - on which to attempt "autoburning"info - the info to use
public static AutoburnLogic.AutoburnInfo getAutoburnInfo(TypeExpr destType,
TypeExpr[] sourcePieces,
TypeChecker.TypeCheckInfo info)
destType - The destination type to unify withsourcePieces - the type pieces of the entity on which to attempt "autoburning"info - the info to use
public static AutoburnLogic.AutoburnInfo getAutoburnInfo(TypeExpr destType,
Gem gem,
TypeChecker.TypeCheckInfo info)
destType - The destination type to unify with.gem - The gem on which to attempt "autoburning".info - the typeCheck info to use.
|
![]() Quark Platform Documentation Version 1.7.1_0 Business Objects |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||