com.aptana.ide.editor.js.runtime
Class JSBooleanConstructor
java.lang.Object
com.aptana.ide.editor.js.runtime.ObjectBase
com.aptana.ide.editor.js.runtime.FunctionBase
com.aptana.ide.editor.js.runtime.NativeConstructorBase
com.aptana.ide.editor.js.runtime.JSBooleanConstructor
- All Implemented Interfaces:
- IFunction, IObject, IRange, IDocumentationContainer
public class JSBooleanConstructor
- extends NativeConstructorBase
- Author:
- Kevin Lindsey, Robin Debreuil
| Methods inherited from class com.aptana.ide.editor.js.runtime.ObjectBase |
canPut, containsOffset, deletePropertyName, getDocumentation, getEndingOffset, getInstance, getLength, getLocalProperty, getLocalPropertyCount, getLocalPropertyNames, getProperty, getPropertyNames, getPropertyNames, getPropertyValue, getPrototype, getRange, getStartingOffset, hasDocumentation, hasLocalProperty, hasProperty, isEmpty, putLocalProperty, putPropertyValue, putPropertyValue, setDocumentation, setPrototype, unputPropertyName |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JSBooleanConstructor
public JSBooleanConstructor(Environment owningEnvironment)
- Create a new instance of NativeBoolean
- Parameters:
owningEnvironment - The environment in which this native boolean was created
initializeProperties
public void initializeProperties()
- Initialize the properties on this instance
construct
public IObject construct(Environment environment,
IObject[] arguments,
int fileIndex,
IRange sourceRegion)
- Description copied from interface:
IFunction
- Constructs a new Object with using the passed arguments.
- Specified by:
construct in interface IFunction- Specified by:
construct in class FunctionBase
arguments - The arguments to use in constructing the new object.fileIndex - The file indexsourceRegion - The region of text within the source file that represents the construction of this instance
- Returns:
- Returns a newly constructed object.
- See Also:
FunctionBase.construct(com.aptana.ide.editor.js.runtime.Environment, com.aptana.ide.editor.js.runtime.IObject[], int,
IRange)
invoke
public IObject invoke(Environment environment,
IObject[] arguments,
int fileIndex,
IRange sourceRegion)
- Description copied from interface:
IFunction
- Invoke this method with the specified parameters
- Specified by:
invoke in interface IFunction- Specified by:
invoke in class FunctionBase
arguments - The arguments to use in constructing the new object.fileIndex - The file indexsourceRegion - The region of text within the source file that represents the construction of this instance
- Returns:
- Returns a newly constructed object.
- See Also:
FunctionBase.invoke(com.aptana.ide.editor.js.runtime.Environment, com.aptana.ide.editor.js.runtime.IObject[], int, IRange)