org.codehaus.jparsec.examples.java.ast.expression
Class IntegerLiteral

java.lang.Object
  extended by org.codehaus.jparsec.examples.common.ValueObject
      extended by org.codehaus.jparsec.examples.java.ast.expression.IntegerLiteral
All Implemented Interfaces:
Expression

public final class IntegerLiteral
extends ValueObject
implements Expression

Represents any integral number literal.

Author:
Ben Yu

Nested Class Summary
static class IntegerLiteral.Radix
           
 
Field Summary
 String number
           
 IntegerLiteral.Radix radix
           
 NumberType type
           
 
Constructor Summary
IntegerLiteral(IntegerLiteral.Radix radix, String number, NumberType type)
           
 
Method Summary
 String toString()
           
 
Methods inherited from class org.codehaus.jparsec.examples.common.ValueObject
equals, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

radix

public final IntegerLiteral.Radix radix

number

public final String number

type

public final NumberType type
Constructor Detail

IntegerLiteral

public IntegerLiteral(IntegerLiteral.Radix radix,
                      String number,
                      NumberType type)
Method Detail

toString

public String toString()
Overrides:
toString in class ValueObject


Copyright © 2014. All rights reserved.