com.aptana.ide.editor.js.runtime
Class JSNumber

java.lang.Object
  extended by com.aptana.ide.editor.js.runtime.ObjectBase
      extended by com.aptana.ide.editor.js.runtime.JSNumber
All Implemented Interfaces:
IObject, IRange, IDocumentationContainer

public class JSNumber
extends ObjectBase

Author:
Robin Debreuil, Kevin Lindsey

Field Summary
 
Fields inherited from class com.aptana.ide.editor.js.runtime.ObjectBase
NULL, UNDEFINED
 
Constructor Summary
JSNumber()
          Create a new instance of JSNumber
JSNumber(IRange sourceRegion)
          Create a new instance of JSNumber
 
Method Summary
 java.lang.String getClassName()
          Returns the class name of this object.
 
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
 

Constructor Detail

JSNumber

public JSNumber()
Create a new instance of JSNumber


JSNumber

public JSNumber(IRange sourceRegion)
Create a new instance of JSNumber

Parameters:
sourceRegion - The region within the source that defines this object instance
Method Detail

getClassName

public java.lang.String getClassName()
Description copied from interface: IObject
Returns the class name of this object. This implements [[Class]] from the ECMA specification

Specified by:
getClassName in interface IObject
Specified by:
getClassName in class ObjectBase
Returns:
This object's class name
See Also:
ObjectBase.getClassName()