cs132.vapor.ast
Class VLitStr

java.lang.Object
  extended by cs132.vapor.ast.Node
      extended by cs132.vapor.ast.VOperand
          extended by cs132.vapor.ast.VLitStr

public class VLitStr
extends VOperand

String literal.


Nested Class Summary
 
Nested classes/interfaces inherited from class cs132.vapor.ast.VOperand
VOperand.Static
 
Field Summary
 String value
           
 
Fields inherited from class cs132.vapor.ast.Node
sourcePos
 
Constructor Summary
VLitStr(SourcePos sourcePos, String value)
           
 
Method Summary
static String escape(String value)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

value

public final String value
Constructor Detail

VLitStr

public VLitStr(SourcePos sourcePos,
               String value)
Method Detail

escape

public static String escape(String value)

toString

public String toString()
Overrides:
toString in class Object