public Annotations makeAnnotations(CommentList _comments, Context context) { CommentListHost comments = (CommentListHost) _comments; Annotations l = lhs.makeAnnotations((comments!=null)?comments.lhs:null, context); Annotations r = rhs.makeAnnotations((comments!=null)?comments.rhs:null, context); if(l==null || r==null) throw new IllegalArgumentException("annotations cannot be null"); return new AnnotationsHost(l,r); }
public void addAttribute(String ns, String localName, String prefix, String value, Location _loc) throws BuildException { LocationHost loc = cast(_loc); lhs.addAttribute(ns, localName, prefix, value, loc.lhs); rhs.addAttribute(ns, localName, prefix, value, loc.rhs); }
public void addAttribute(String ns, String localName, String prefix, String value, Location _loc) throws BuildException { LocationHost loc = cast(_loc); lhs.addAttribute(ns, localName, prefix, value, loc.lhs); rhs.addAttribute(ns, localName, prefix, value, loc.rhs); }
public Annotations makeAnnotations(CommentList _comments, Context context) { CommentListHost comments = (CommentListHost) _comments; Annotations l = lhs.makeAnnotations((comments!=null)?comments.lhs:null, context); Annotations r = rhs.makeAnnotations((comments!=null)?comments.rhs:null, context); if(l==null || r==null) throw new IllegalArgumentException("annotations cannot be null"); return new AnnotationsHost(l,r); }