de.upb.hni.vmagic.literal
Class CharacterLiteral

java.lang.Object
  extended by de.upb.hni.vmagic.VhdlElement
      extended by de.upb.hni.vmagic.expression.Expression
          extended by de.upb.hni.vmagic.expression.Primary
              extended by de.upb.hni.vmagic.expression.Literal
                  extended by de.upb.hni.vmagic.literal.CharacterLiteral
All Implemented Interfaces:
Choice

public class CharacterLiteral
extends Literal

Character literal.


Constructor Summary
CharacterLiteral(char character)
          Creates a character literal.
 
Method Summary
 char getCharacter()
          Returns the character
 SubtypeIndication getType()
          Returns the type of this expression.
 java.lang.String toString()
           
 
Methods inherited from class de.upb.hni.vmagic.expression.Primary
getPrecedence
 
Methods inherited from class de.upb.hni.vmagic.VhdlElement
getParent, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CharacterLiteral

public CharacterLiteral(char character)
Creates a character literal.

Parameters:
character - the character
Method Detail

getCharacter

public char getCharacter()
Returns the character

Returns:
the character

getType

public SubtypeIndication getType()
Description copied from class: Expression
Returns the type of this expression.

Specified by:
getType in class Expression
Returns:
the type of this expression

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object