tcl.pkg.itcl
Class ItclAccess
java.lang.Object
tcl.pkg.itcl.ItclAccess
public class ItclAccess
- extends Object
Method Summary |
static CallFrame |
activateCallFrame(Interp interp,
CallFrame frame)
|
static void |
assignLocalVar(Interp interp,
String name,
TclObject val,
CallFrame frame)
|
static void |
createCommonVar(Var var,
String key,
Namespace ns,
HashMap table)
|
static void |
createObjVar(Var var,
String key,
Namespace ns,
HashMap table)
|
static int |
decrVarRefCount(Var var)
|
static void |
deleteVars(Interp interp,
HashMap varTable)
|
static Object |
FirstHashEntry(HashMap table)
|
static TclObject[][] |
getArgList(Procedure proc)
|
static CallFrame |
getCallFrame(Interp interp,
int level)
|
static Namespace |
getCallFrameNamespace(CallFrame frame)
|
static TclObject[] |
getCallFrameObjv(CallFrame frame)
|
static CallFrame |
getVarFrame(Interp i)
|
static HashMap |
getVarTable(CallFrame frame)
|
static boolean |
isProcCallFrame(CallFrame frame)
|
static CallFrame |
newCallFrame(Interp i)
|
static Procedure |
newProcedure(Interp interp,
Namespace ns,
String name,
TclObject args,
TclObject b,
String sFileName,
int sLineNumber)
|
static Var |
newVar()
|
static void |
setCallFrameObjv(CallFrame frame,
TclObject[] objv)
|
static void |
setProcCallFrameFalse(CallFrame frame)
|
static void |
setVarTable(CallFrame frame,
HashMap table)
|
static void |
setWrappedCommand(Procedure proc,
WrappedCommand wcmd)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ItclAccess
public ItclAccess()
isProcCallFrame
public static boolean isProcCallFrame(CallFrame frame)
setProcCallFrameFalse
public static void setProcCallFrameFalse(CallFrame frame)
getCallFrameObjv
public static TclObject[] getCallFrameObjv(CallFrame frame)
getCallFrameNamespace
public static Namespace getCallFrameNamespace(CallFrame frame)
setCallFrameObjv
public static void setCallFrameObjv(CallFrame frame,
TclObject[] objv)
getCallFrame
public static CallFrame getCallFrame(Interp interp,
int level)
activateCallFrame
public static CallFrame activateCallFrame(Interp interp,
CallFrame frame)
newCallFrame
public static CallFrame newCallFrame(Interp i)
getVarFrame
public static CallFrame getVarFrame(Interp i)
getVarTable
public static HashMap getVarTable(CallFrame frame)
setVarTable
public static void setVarTable(CallFrame frame,
HashMap table)
newVar
public static Var newVar()
deleteVars
public static void deleteVars(Interp interp,
HashMap varTable)
decrVarRefCount
public static int decrVarRefCount(Var var)
newProcedure
public static Procedure newProcedure(Interp interp,
Namespace ns,
String name,
TclObject args,
TclObject b,
String sFileName,
int sLineNumber)
throws TclException
- Throws:
TclException
getArgList
public static TclObject[][] getArgList(Procedure proc)
setWrappedCommand
public static void setWrappedCommand(Procedure proc,
WrappedCommand wcmd)
assignLocalVar
public static void assignLocalVar(Interp interp,
String name,
TclObject val,
CallFrame frame)
throws TclException
- Throws:
TclException
createObjVar
public static void createObjVar(Var var,
String key,
Namespace ns,
HashMap table)
createCommonVar
public static void createCommonVar(Var var,
String key,
Namespace ns,
HashMap table)
FirstHashEntry
public static Object FirstHashEntry(HashMap table)
Copyright © 2015. All rights reserved.