stardiv.js.ip
Class SourceFunction
java.lang.Object
|
+--stardiv.js.ip.BaseObj
|
+--stardiv.js.ip.SourceFunction
- All Implemented Interfaces:
- stardiv.js.ip.CtorAccess, stardiv.js.ip.RTLCall
- public synchronized class SourceFunction
- extends stardiv.js.ip.BaseObj
- implements stardiv.js.ip.CtorAccess, stardiv.js.ip.RTLCall
Field Summary |
private stardiv.js.ip.CodeBlock |
aCodeBlock
|
private stardiv.js.ip.CompilerAccess |
aCompiler
|
private java.lang.String |
aFcnName
|
private java.lang.Object |
aInternalFcnObj
|
private stardiv.js.ip.FunctionInfo |
aLocalVarAndParamInfoObj
|
private stardiv.js.ip.Module |
aModule
|
(package private) stardiv.js.ip.BaseObj |
aModuleBaseObj
|
private boolean |
bFunctionObject
|
private int |
iEndInModuleSource
|
private int |
iLocalVarCount
|
private int |
iParamCount
|
private int |
iStartInModuleSource
|
(package private) stardiv.js.base.IdentifierPool |
pIdentPool
|
(package private) stardiv.js.base.Identifier[] |
pLocalIdents
|
(package private) stardiv.js.base.Identifier[] |
pParamIdents
|
private stardiv.js.ip.BaseObj |
pPrototype
|
Fields inherited from class stardiv.js.ip.BaseObj |
HISTORY_DELETED, HISTORY_IDENTIFIER, HISTORY_INDEX, IDENT_ARRAY_STEP, INDEX_ARRAY_STEP, aHelpRef, aRootMgr, bJSbxArrayObject, bQueryProperty, iBasePropCount, iHistoryCount, iIdentArrayCount, iIndexArrayMax, pClass, pClassData, pConvertAtomUnion, pCtorAccess, pFlags, pHistoryIndex, pHistoryState, pIdentArray, pIdentDbls, pIdentObjs, pIdentTypes, pIndexDbls, pIndexObjs, pIndexTypes, pJSObject, pNeededType, pRTLAccess |
Fields inherited from interface stardiv.js.ip.RTLCall |
CPP, DEFAULT_PROP, NOT_IN_HISTORY, QUERY_ONCE, QUERY_PROP, TRANSIENT |
Constructor Summary |
SourceFunction(java.lang.String s,
int i1,
int i2,
int i3,
int i4)
|
Method Summary |
boolean |
call(stardiv.js.ip.RTLFunction rtlf,
stardiv.js.ip.BaseObj bo,
stardiv.memory.UnionAccess[] ua1,
int i1,
int i2,
stardiv.memory.UnionAccess ua2)
|
protected void |
finalize()
|
stardiv.js.ip.CodeBlock |
getCodeBlock()
|
int |
getEndInModuleSource()
|
stardiv.js.ip.FunctionInfo |
getLocalVarAndParamInfos()
|
int |
getLocalVarCount()
|
stardiv.js.ip.Module |
getModule()
|
stardiv.js.ip.BaseObj |
getModuleBaseObj()
|
java.lang.String |
getName()
|
int |
getParamCount()
|
stardiv.js.ip.BaseObj |
getPrototypeObj()
|
stardiv.js.ip.BaseClass |
getRepresentedClass()
|
java.lang.String |
getSource()
|
int |
getStartInModuleSource()
|
void |
getValue(stardiv.js.ip.BaseObj bo,
stardiv.js.base.Identifier i,
stardiv.memory.UnionAccess ua)
|
boolean |
isCtor()
|
boolean |
isFcnObject()
|
(package private) void |
releaseIdentifiers()
|
void |
setAsFcnObject()
|
void |
setCodeBlock(stardiv.js.ip.CodeBlock cb)
|
void |
setCompileInfos(stardiv.js.ip.CompilerAccess ca,
java.lang.Object o)
|
void |
setLocalVarAndParamInfos(stardiv.js.ip.FunctionInfo fi)
|
void |
setLocalVarCount(int i)
|
void |
setModule(stardiv.js.ip.Module m)
|
void |
setModuleBaseObj(stardiv.js.ip.BaseObj bo)
|
void |
setValue(stardiv.js.ip.BaseObj bo,
stardiv.js.base.Identifier i,
stardiv.memory.UnionAccess ua)
|
Methods inherited from class stardiv.js.ip.BaseObj |
ClrAllDynVars, callMethod, enableQueryProperty, getArrayIndexValue, getBaseClass, getClassData, getCppIndexValue, getIdentArrayCount, getIdentifierPool, getIndexArray, getJSObject, getPosIndexSize, getPropWithClassInHistory, getPropertyName, getRef, getRef, getRootMgr, getValue, initProperties, isJSArray, isUnoObject, newProperty, newProperty, newRTLFunctionProperty, newRTLObjectProperty, queryProperty, resizeHistory, resizeHistory, resizeIdentArray, resizeIndexArray, reverseIndexArray, setArrayIndexValue, setClass, setClassData, setCtor, setIndexArray, setRTLAccess, setRootMgr, setValue, valueOf |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
aCodeBlock
private stardiv.js.ip.CodeBlock aCodeBlock
aCompiler
private stardiv.js.ip.CompilerAccess aCompiler
aFcnName
private java.lang.String aFcnName
aInternalFcnObj
private java.lang.Object aInternalFcnObj
aLocalVarAndParamInfoObj
private stardiv.js.ip.FunctionInfo aLocalVarAndParamInfoObj
aModule
private stardiv.js.ip.Module aModule
aModuleBaseObj
stardiv.js.ip.BaseObj aModuleBaseObj
bFunctionObject
private boolean bFunctionObject
iEndInModuleSource
private int iEndInModuleSource
iLocalVarCount
private int iLocalVarCount
iParamCount
private int iParamCount
iStartInModuleSource
private int iStartInModuleSource
pIdentPool
stardiv.js.base.IdentifierPool pIdentPool
pLocalIdents
stardiv.js.base.Identifier[] pLocalIdents
pParamIdents
stardiv.js.base.Identifier[] pParamIdents
pPrototype
private stardiv.js.ip.BaseObj pPrototype
SourceFunction
public SourceFunction(java.lang.String s,
int i1,
int i2,
int i3,
int i4)
call
public boolean call(stardiv.js.ip.RTLFunction rtlf,
stardiv.js.ip.BaseObj bo,
stardiv.memory.UnionAccess[] ua1,
int i1,
int i2,
stardiv.memory.UnionAccess ua2)
throws stardiv.js.base.JSException
- Specified by:
call
in interface stardiv.js.ip.RTLCall
finalize
protected void finalize()
getCodeBlock
public stardiv.js.ip.CodeBlock getCodeBlock()
throws stardiv.js.base.JSException
getEndInModuleSource
public int getEndInModuleSource()
getLocalVarAndParamInfos
public final stardiv.js.ip.FunctionInfo getLocalVarAndParamInfos()
getLocalVarCount
public int getLocalVarCount()
getModule
public stardiv.js.ip.Module getModule()
getModuleBaseObj
public stardiv.js.ip.BaseObj getModuleBaseObj()
getName
public final java.lang.String getName()
getParamCount
public int getParamCount()
getPrototypeObj
public stardiv.js.ip.BaseObj getPrototypeObj()
- Specified by:
getPrototypeObj
in interface stardiv.js.ip.CtorAccess
getRepresentedClass
public stardiv.js.ip.BaseClass getRepresentedClass()
- Specified by:
getRepresentedClass
in interface stardiv.js.ip.CtorAccess
getSource
public final java.lang.String getSource()
getStartInModuleSource
public int getStartInModuleSource()
getValue
public void getValue(stardiv.js.ip.BaseObj bo,
stardiv.js.base.Identifier i,
stardiv.memory.UnionAccess ua)
throws stardiv.js.base.JSException
- Specified by:
getValue
in interface stardiv.js.ip.RTLCall
isCtor
public boolean isCtor()
- Specified by:
isCtor
in interface stardiv.js.ip.CtorAccess
isFcnObject
public final boolean isFcnObject()
releaseIdentifiers
void releaseIdentifiers()
setAsFcnObject
public final void setAsFcnObject()
setCodeBlock
public void setCodeBlock(stardiv.js.ip.CodeBlock cb)
setCompileInfos
public final void setCompileInfos(stardiv.js.ip.CompilerAccess ca,
java.lang.Object o)
setLocalVarAndParamInfos
public final void setLocalVarAndParamInfos(stardiv.js.ip.FunctionInfo fi)
setLocalVarCount
public void setLocalVarCount(int i)
setModule
public void setModule(stardiv.js.ip.Module m)
setModuleBaseObj
public void setModuleBaseObj(stardiv.js.ip.BaseObj bo)
setValue
public void setValue(stardiv.js.ip.BaseObj bo,
stardiv.js.base.Identifier i,
stardiv.memory.UnionAccess ua)
throws stardiv.js.base.JSException
- Specified by:
setValue
in interface stardiv.js.ip.RTLCall