|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.aptana.ide.editor.js.runtime.Environment
public class Environment
| Constructor Summary | |
|---|---|
Environment()
Environment |
|
| Method Summary | |
|---|---|
IObject |
createArray(int fileIndex,
IRange sourceRegion)
Create a runtime array object |
IObject |
createBoolean(int fileIndex,
IRange sourceRegion)
Create a runtime boolean object |
IObject |
createDate(int fileIndex,
IRange sourceRegion)
Create a runtime date object |
IObject |
createError(int fileIndex,
IRange sourceRegion)
Create a runtime error object |
IObject |
createFunction(int fileIndex,
IRange sourceRegion)
Create a runtime function object |
JSNull |
createNull()
Create a runtime null value. |
IObject |
createNumber(int fileIndex,
IRange sourceRegion)
Create a runtime number object |
IObject |
createObject(int fileIndex,
IRange sourceRegion)
Create a runtime object object |
IObject |
createRegExp(int fileIndex,
IRange sourceRegion)
Create a runtime regExp object |
IObject |
createString(int fileIndex,
IRange sourceRegion)
Create a runtime string object |
JSUndefined |
createUndefined()
Create a runtime undefined value. |
JSScope |
getGlobal()
Get the global object for this Environment |
JSScope |
initBuiltInObjects()
Initialize the built-in objects and return the global object |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Environment()
| Method Detail |
|---|
public JSScope getGlobal()
public IObject createArray(int fileIndex,
IRange sourceRegion)
fileIndex - The file indexsourceRegion - The region within the source file that creates this object
public IObject createBoolean(int fileIndex,
IRange sourceRegion)
fileIndex - The file indexsourceRegion - The region within the source file that creates this object
public IObject createDate(int fileIndex,
IRange sourceRegion)
fileIndex - The file indexsourceRegion - The region within the source file that creates this object
public IObject createError(int fileIndex,
IRange sourceRegion)
fileIndex - The file indexsourceRegion - The region within the source file that creates this object
public IObject createFunction(int fileIndex,
IRange sourceRegion)
fileIndex - The file indexsourceRegion - the region within the source file that creates this object
public JSNull createNull()
public IObject createNumber(int fileIndex,
IRange sourceRegion)
fileIndex - The file indexsourceRegion - The region within the source file that creates this object
public IObject createObject(int fileIndex,
IRange sourceRegion)
fileIndex - The file indexsourceRegion - TODO
public IObject createRegExp(int fileIndex,
IRange sourceRegion)
fileIndex - The file indexsourceRegion - The region within the source file that creates this object
public IObject createString(int fileIndex,
IRange sourceRegion)
fileIndex - The file indexsourceRegion - The region within the source file that creates this object
public JSUndefined createUndefined()
public JSScope initBuiltInObjects()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||