com.lyncode.jtwig.util
Class Simplifier

java.lang.Object
  extended by com.lyncode.jtwig.util.Simplifier

public class Simplifier
extends Object


Constructor Summary
Simplifier()
           
 
Method Summary
static Expression getOperationArgument(OperationBinary binary)
           
static boolean isSingleArgumentedOperation(OperationBinary binary)
           
static Expression simplify(Expression object)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Simplifier

public Simplifier()
Method Detail

simplify

public static Expression simplify(Expression object)

isSingleArgumentedOperation

public static boolean isSingleArgumentedOperation(OperationBinary binary)

getOperationArgument

public static Expression getOperationArgument(OperationBinary binary)


Copyright © 2014. All Rights Reserved.