|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.knowceans.topics.cgen.MixItem
public abstract class MixItem
Field Summary | |
---|---|
(package private) java.util.List<MixItem> |
children
|
(package private) int |
datatype
|
static java.lang.String |
indent
|
(package private) int |
linktype
|
(package private) java.lang.String |
name
|
(package private) java.util.List<MixItem> |
parents
|
static int |
UNRECOG
|
Constructor Summary | |
---|---|
MixItem(int type,
java.lang.String name)
|
Method Summary | |
---|---|
abstract java.lang.String |
assignVarsInput()
assign input to the variable of this item |
boolean |
check(java.io.PrintStream out)
|
abstract boolean |
classify()
classify the data and linking types of this item |
abstract java.lang.String |
declareVars()
declare the variables of this node |
java.util.List<? extends MixItem> |
getChildren()
|
abstract java.lang.String |
getName()
get a short name of this node |
java.util.List<? extends MixItem> |
getParents()
|
abstract java.lang.String |
getVariable()
|
abstract java.lang.String |
initVars(boolean q)
initialise variables |
abstract java.lang.String |
listTypedVarsInput(java.util.Set<java.lang.String> unique)
list the variables for input with types |
abstract java.lang.String |
listVarsInput(java.util.Set<java.lang.String> uniqcall)
list the variables used for inputting data into this item |
java.lang.String |
printDetails()
|
abstract java.lang.String |
printType()
print the type of this node |
void |
setConstants(java.util.Map<java.lang.String,java.lang.String> constants)
may be used to set constants from a map of parsed constants |
static java.lang.String |
typeString(java.lang.String u,
int type,
java.lang.String[] typeString)
print a type string (used for verbose monitoring in subclasses) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int UNRECOG
int datatype
int linktype
java.lang.String name
java.util.List<MixItem> parents
java.util.List<MixItem> children
public static final java.lang.String indent
Constructor Detail |
---|
public MixItem(int type, java.lang.String name)
Method Detail |
---|
public void setConstants(java.util.Map<java.lang.String,java.lang.String> constants)
constants
- public abstract boolean classify()
public java.util.List<? extends MixItem> getParents()
public java.util.List<? extends MixItem> getChildren()
public static java.lang.String typeString(java.lang.String u, int type, java.lang.String[] typeString)
u
- type
- typeString
-
public java.lang.String printDetails()
public abstract java.lang.String getVariable()
public abstract java.lang.String printType()
public boolean check(java.io.PrintStream out)
public abstract java.lang.String declareVars()
public abstract java.lang.String assignVarsInput()
public abstract java.lang.String listVarsInput(java.util.Set<java.lang.String> uniqcall)
uniqcall
-
public abstract java.lang.String listTypedVarsInput(java.util.Set<java.lang.String> unique)
unique
-
public abstract java.lang.String getName()
public abstract java.lang.String initVars(boolean q)
q
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |