org.jetbrains.kotlin.js.backend.ast
Class JsLiteral.JsValueLiteral

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
All Implemented Interfaces:
JsNode
Direct Known Subclasses:
JsLiteral.JsBooleanLiteral, JsLiteral.JsThisRef, JsNullLiteral, JsNumberLiteral, JsRegExp, JsStringLiteral
Enclosing class:
JsLiteral

public abstract static class JsLiteral.JsValueLiteral
extends JsLiteral

A JavaScript string literal expression.


Nested Class Summary
 
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
 
Fields inherited from class org.jetbrains.kotlin.js.backend.ast.JsLiteral
FALSE, NULL, THIS, TRUE, UNDEFINED
 
Constructor Summary
protected JsLiteral.JsValueLiteral()
           
 
Method Summary
 JsExpression deepCopy()
           
 boolean isLeaf()
          Determines whether or not this expression is a leaf, such as a JsNameRef, JsLiteral.JsBooleanLiteral, and so on.
 java.lang.String toString()
           
protected
<T extends HasMetadata>
T
withMetadataFrom(T other)
           
 
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
 

Constructor Detail

JsLiteral.JsValueLiteral

protected JsLiteral.JsValueLiteral()
Method Detail

isLeaf

public final boolean isLeaf()
Description copied from class: JsExpression
Determines whether or not this expression is a leaf, such as a JsNameRef, JsLiteral.JsBooleanLiteral, and so on. Leaf expressions never need to be parenthesized.

Overrides:
isLeaf in class JsExpression

deepCopy

@NotNull
public JsExpression deepCopy()
Specified by:
deepCopy in interface JsNode
Specified by:
deepCopy in class JsExpression

toString

public java.lang.String toString()

withMetadataFrom

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