|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.upb.hni.vmagic.VhdlElement
de.upb.hni.vmagic.expression.Expression
de.upb.hni.vmagic.expression.Primary
de.upb.hni.vmagic.expression.Literal
de.upb.hni.vmagic.literal.HexLiteral
public class HexLiteral
Hexadecimal literal.
Constructor Summary | |
---|---|
HexLiteral(int value)
Creates a hex literal by converting a integer value. |
|
HexLiteral(java.lang.String value)
Creates a hex literal. |
Method Summary | |
---|---|
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 |
---|
public HexLiteral(java.lang.String value)
value
- the valuepublic HexLiteral(int value)
value
- the integer valueMethod Detail |
---|
public SubtypeIndication getType()
Expression
getType
in class Expression
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |