Package aterm

Examples of aterm.ATermPlaceholder


        ATermReal real = (ATermReal) term;
       
        result = makeReal(real.getReal());
        break;
      case ATerm.PLACEHOLDER:
        ATermPlaceholder placeHolder = (ATermPlaceholder) term;
       
        result = makePlaceholder(importTerm(placeHolder.getPlaceholder()));
        break;
      case ATerm.AFUN:
        AFun afun = (AFun) term;
       
        return makeAFun(afun.getName(), afun.getArity(), afun.isQuoted());
View Full Code Here


    return this;
  }

  public boolean equivalent(SharedObject obj){
    if(obj instanceof ATermPlaceholder){
      ATermPlaceholder peer = (ATermPlaceholder) obj;
      if(peer.getType() != getType()) return false;
     
      return (peer.getPlaceholder() == type && peer.getAnnotations().equals(getAnnotations()));
    }
   
    return false;
  }
View Full Code Here

TOP

Related Classes of aterm.ATermPlaceholder

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.