tecgraf.javautils.jexpression.parser.model
Class Field

java.lang.Object
  extended by tecgraf.javautils.jexpression.parser.model.Exp
      extended by tecgraf.javautils.jexpression.parser.model.Field

public class Field
extends Exp

Classe que armazena um acesso a campo. Ex: point.x, point.y, panel.graphics.width, (a + b).c, list[i].height

Author:
Tecgraf

Constructor Summary
Field(Exp expression, String name)
          Construtor.
 
Method Summary
 Exp getExpression()
          Expressão.
 String getName()
          Nome.
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Field

public Field(Exp expression,
             String name)
Construtor.

Parameters:
expression - expressão.
name - nome.
Method Detail

getExpression

public Exp getExpression()
Expressão.

Returns:
expressão.

getName

public String getName()
Nome.

Returns:
nome.

toString

public String toString()

Specified by:
toString in class Exp


Copyright © 2007–2014 Tecgraf/PUC-Rio. All rights reserved.