public class TclIndex extends java.lang.Object implements InternalRep
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Implement this no-op for the InternalRep interface.
|
InternalRep |
duplicate()
Returns a dupilcate of the current object.
|
static int |
get(Interp interp,
TclObject tobj,
java.lang.String[] table,
java.lang.String msg,
int flags)
Tcl_GetIndexFromObj -> get
Gets the index into the table of the object.
|
java.lang.String |
toString()
Called to query the string representation of the Tcl object.
|
public InternalRep duplicate()
duplicate
in interface InternalRep
obj
- the TclObject that contains this internalRep.public void dispose()
dispose
in interface InternalRep
public java.lang.String toString()
toString
in class java.lang.Object
public static int get(Interp interp, TclObject tobj, java.lang.String[] table, java.lang.String msg, int flags) throws TclException
interp
- the interperter or nulltobj
- the object to operate on.TclException