coins.snapshot
Class ExpTag

java.lang.Object
  extended bycoins.snapshot.ExpTag

class ExpTag
extends java.lang.Object

This class represents the tag `exp'.


Constructor Summary
(package private) ExpTag(java.lang.String e, int n)
          Constructor
 
Method Summary
 java.lang.String toString()
          Generate the XML representation with no white spaces before.
 java.lang.String toString(int space)
          Generate the XML representation in string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExpTag

ExpTag(java.lang.String e,
       int n)
Constructor

Parameters:
e - The element of the tag
n - The line number of the current exp in the source program
Method Detail

toString

public java.lang.String toString(int space)
Generate the XML representation in string.

Parameters:
space - The number of the white spaces
Returns:
The XML representation

toString

public java.lang.String toString()
Generate the XML representation with no white spaces before.

Returns:
The XML representation