org.codehaus.jparsec.examples.java.ast.declaration
Class FieldDef

java.lang.Object
  extended by org.codehaus.jparsec.examples.common.ValueObject
      extended by org.codehaus.jparsec.examples.java.ast.declaration.FieldDef
All Implemented Interfaces:
Member

public final class FieldDef
extends ValueObject
implements Member

Represents a field definition.

Author:
Ben Yu

Field Summary
 List<Modifier> modifiers
           
 String name
           
 TypeLiteral type
           
 Expression value
           
 
Constructor Summary
FieldDef(List<Modifier> modifiers, TypeLiteral type, String name, Expression value)
           
 
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

modifiers

public final List<Modifier> modifiers

type

public final TypeLiteral type

name

public final String name

value

public final Expression value
Constructor Detail

FieldDef

public FieldDef(List<Modifier> modifiers,
                TypeLiteral type,
                String name,
                Expression value)
Method Detail

toString

public String toString()
Overrides:
toString in class ValueObject


Copyright © 2014. All rights reserved.