com.vaadin.sass.internal.expression
Class BinaryExpression

java.lang.Object
  extended by com.vaadin.sass.internal.expression.BinaryExpression

public class BinaryExpression
extends Object


Field Summary
 Object leftOperand
           
 BinaryOperator operator
           
 Object rightOperand
           
 
Constructor Summary
BinaryExpression(Object leftOperand, BinaryOperator operator, Object rightOperand)
          Create a binary expression.
 
Method Summary
 SassListItem eval()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

leftOperand

public Object leftOperand

operator

public BinaryOperator operator

rightOperand

public Object rightOperand
Constructor Detail

BinaryExpression

public BinaryExpression(Object leftOperand,
                        BinaryOperator operator,
                        Object rightOperand)
Create a binary expression.

Parameters:
leftOperand - a SassListItem or a BinaryExpression
operator - operator to combine the operands with
rightOperand - a SassListItem or a BinaryExpression
Method Detail

eval

public SassListItem eval()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013–2014 Vaadin. All rights reserved.