com.google.dart.compiler.backend.js.ast
Class JsSwitchMember

java.lang.Object
  extended by HasMetadata
      extended by com.google.dart.compiler.backend.js.ast.SourceInfoAwareJsNode
          extended by com.google.dart.compiler.backend.js.ast.JsSwitchMember
All Implemented Interfaces:
JsNode
Direct Known Subclasses:
JsCase, JsDefault

public abstract class JsSwitchMember
extends SourceInfoAwareJsNode

A member/case in a JavaScript switch object.


Field Summary
protected  java.util.List<JsStatement> statements
           
 
Constructor Summary
protected JsSwitchMember()
           
 
Method Summary
 void acceptChildren(JsVisitor visitor)
           
abstract  JsSwitchMember deepCopy()
           
 java.util.List<JsStatement> getStatements()
           
 java.lang.String toString()
           
protected
<T extends HasMetadata>
T
withMetadataFrom(T other)
           
 
Methods inherited from class com.google.dart.compiler.backend.js.ast.SourceInfoAwareJsNode
getSource, setSource, source
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.google.dart.compiler.backend.js.ast.JsNode
accept, traverse
 

Field Detail

statements

protected final java.util.List<JsStatement> statements
Constructor Detail

JsSwitchMember

protected JsSwitchMember()
Method Detail

getStatements

public java.util.List<JsStatement> getStatements()

acceptChildren

public void acceptChildren(JsVisitor visitor)
Specified by:
acceptChildren in interface JsNode
Overrides:
acceptChildren in class SourceInfoAwareJsNode

deepCopy

@NotNull
public abstract JsSwitchMember deepCopy()

toString

public java.lang.String toString()

withMetadataFrom

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