public class BinaryOp extends Exp
Abaixo listamos os outros tipos de operadores da linguagem.
| Constructor and Description |
|---|
BinaryOp(Exp first,
Symbol op,
Exp second)
Construtor.
|
| Modifier and Type | Method and Description |
|---|---|
Exp |
getFirst()
Primeiro operando.
|
Symbol |
getOp()
Operador.
|
Exp |
getSecond()
Segundo operando.
|
String |
toString() |
Copyright © 2007–2017 Tecgraf/PUC-Rio. All rights reserved.