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

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
                          extended by org.jetbrains.kotlin.js.backend.ast.JsNumberLiteral.JsDoubleLiteral
All Implemented Interfaces:
JsNode
Enclosing class:
JsNumberLiteral

public static final class JsNumberLiteral.JsDoubleLiteral
extends JsNumberLiteral


Nested Class Summary
 
Nested classes/interfaces inherited from class org.jetbrains.kotlin.js.backend.ast.JsNumberLiteral
JsNumberLiteral.JsDoubleLiteral, 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
 double value
           
 
Fields inherited from class org.jetbrains.kotlin.js.backend.ast.JsNumberLiteral
ZERO
 
Fields inherited from class org.jetbrains.kotlin.js.backend.ast.JsLiteral
FALSE, NULL, THIS, TRUE, UNDEFINED
 
Method Summary
 void accept(JsVisitor v)
          Causes this object to have the visitor visit itself and its children.
 java.lang.String toString()
           
 void traverse(JsVisitorWithContext v, JsContext ctx)
          Causes this object to have the visitor visit itself and its children.
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
 

Field Detail

value

public final double value
Method Detail

accept

public void accept(JsVisitor v)
Description copied from interface: JsNode
Causes this object to have the visitor visit itself and its children.

Parameters:
v - the visitor that should traverse this node

toString

public java.lang.String toString()

traverse

public void traverse(JsVisitorWithContext v,
                     JsContext ctx)
Description copied from interface: JsNode
Causes this object to have the visitor visit itself and its children.

Parameters:
v - the visitor that should traverse this node
ctx - the context of an existing traversal

withMetadataFrom

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