com.evolvedbinary.xpath.parser.ast
Class AbstractOperandWithOps<T>

java.lang.Object
  extended by com.evolvedbinary.xpath.parser.ast.AbstractASTNode
      extended by com.evolvedbinary.xpath.parser.ast.AbstractOperand
          extended by com.evolvedbinary.xpath.parser.ast.AbstractOperandWithOps<T>
All Implemented Interfaces:
ASTNode
Direct Known Subclasses:
AdditiveExpr, AndExpr, IntersectExceptExpr, MultiplicativeExpr, OrExpr, UnionExpr

public abstract class AbstractOperandWithOps<T>
extends AbstractOperand

Created by aretter on 15/02/2016.


Constructor Summary
AbstractOperandWithOps(AbstractOperand operand, List<? extends T> ops)
           
 
Method Summary
protected  String describe()
           
protected abstract  void describeOp(StringBuilder builder, T op)
           
 boolean equals(Object obj)
           
 
Methods inherited from class com.evolvedbinary.xpath.parser.ast.AbstractASTNode
toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractOperandWithOps

public AbstractOperandWithOps(AbstractOperand operand,
                              List<? extends T> ops)
Method Detail

describeOp

protected abstract void describeOp(StringBuilder builder,
                                   T op)

describe

protected String describe()
Specified by:
describe in class AbstractASTNode

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2016 Evolved Binary Ltd.. All Rights Reserved.