org.jetbrains.kotlin.js.backend.ast
Class JsNumberLiteral

java.lang.Object
  extended by HasMetadata
      extended by org.jetbrains.kotlin.js.backend.ast.SourceInfoAwareJsNode
          extended by org.jetbrains.kotlin.js.backend.ast.JsExpression
              extended by org.jetbrains.kotlin.js.backend.ast.JsLiteral
                  extended by org.jetbrains.kotlin.js.backend.ast.JsLiteral.JsValueLiteral
                      extended by org.jetbrains.kotlin.js.backend.ast.JsNumberLiteral
All Implemented Interfaces:
JsNode
Direct Known Subclasses:
JsNumberLiteral.JsDoubleLiteral, JsNumberLiteral.JsIntLiteral

public abstract class JsNumberLiteral
extends JsLiteral.JsValueLiteral


Nested Class Summary
static class JsNumberLiteral.JsDoubleLiteral
           
static class JsNumberLiteral.JsIntLiteral
           
 
Nested classes/interfaces inherited from class org.jetbrains.kotlin.js.backend.ast.JsLiteral
JsLiteral.JsBooleanLiteral, JsLiteral.JsThisRef, JsLiteral.JsValueLiteral
 
Nested classes/interfaces inherited from class org.jetbrains.kotlin.js.backend.ast.JsExpression
JsExpression.JsExpressionHasArguments
 
Field Summary
static JsNumberLiteral.JsIntLiteral ZERO
           
 
Fields inherited from class org.jetbrains.kotlin.js.backend.ast.JsLiteral
FALSE, NULL, THIS, TRUE, UNDEFINED
 
Constructor Summary
JsNumberLiteral()
           
 
Method Summary
 java.lang.String toString()
           
protected
<T extends HasMetadata>
T
withMetadataFrom(T other)
           
 
Methods inherited from class org.jetbrains.kotlin.js.backend.ast.JsLiteral.JsValueLiteral
deepCopy, isLeaf
 
Methods inherited from class org.jetbrains.kotlin.js.backend.ast.JsLiteral
getBoolean
 
Methods inherited from class org.jetbrains.kotlin.js.backend.ast.JsExpression
makeStmt, source
 
Methods inherited from class org.jetbrains.kotlin.js.backend.ast.SourceInfoAwareJsNode
acceptChildren, getSource, setSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jetbrains.kotlin.js.backend.ast.JsNode
accept, traverse
 

Field Detail

ZERO

public static final JsNumberLiteral.JsIntLiteral ZERO
Constructor Detail

JsNumberLiteral

public JsNumberLiteral()
Method Detail

toString

public java.lang.String toString()

withMetadataFrom

protected <T extends HasMetadata> T withMetadataFrom(T other)