coins.lir2c
Class ConvValue

java.lang.Object
  extended bycoins.lir2c.ConvValue

public class ConvValue
extends java.lang.Object

ConvValue: converts value name to regular(not contains C operators) value name.


Constructor Summary
ConvValue()
          Constructor(with no arg)
 
Method Summary
 java.lang.String replace(java.lang.String old_str)
          replace: it replaces reserved characters ("@","%",...) to under score characters.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConvValue

public ConvValue()
Constructor(with no arg)

Method Detail

replace

public java.lang.String replace(java.lang.String old_str)
replace: it replaces reserved characters ("@","%",...) to under score characters. It uses java.lang.String@replace method.

Parameters:
old_str - old string (that will convert to regular value name).
Returns:
the replaced string.