asm
Class AsmDataString

java.lang.Object
  |
  +--asm.AsmData
        |
        +--asm.AsmDataString

class AsmDataString
extends AsmData

Assembly file string as data. Upon creation, actually converts escape characters (ONLY: \n, \t, \r, \0, \\) to their ascii equivalents. This is a bit of a hack, as it should be the responsibility of the lexer, probably...


Field Summary
(package private)  java.lang.String label
           
(package private)  int offset
           
(package private)  java.lang.Object value
           
 
Constructor Summary
(package private) AsmDataString(java.lang.String label, java.lang.Object value)
           
 
Method Summary
(package private)  void dump(java.io.DataOutputStream w)
           
(package private)  int getSize()
           
(package private)  void setOffset(int off)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

java.lang.Object value

label

java.lang.String label

offset

int offset
Constructor Detail

AsmDataString

AsmDataString(java.lang.String label,
              java.lang.Object value)
Method Detail

getSize

int getSize()
Specified by:
getSize in class AsmData

dump

void dump(java.io.DataOutputStream w)
    throws java.io.IOException
Specified by:
dump in class AsmData
java.io.IOException

setOffset

void setOffset(int off)