public static void tryTagImplicit(Node n, boolean taguri) {
      String tid = "";
      switch(n.kind) {
        case Str:
          Data.Str s = (Data.Str)n.data;
          tid = matchImplicit(s.ptr, s.len);
          break;
        case Seq:
          tid = "seq";
          break;
        case Map:
          tid = "map";
          break;
        default:
          break;
      }

      if(taguri) {
        n.type_id = Parser.taguri(YAML.DOMAIN, tid);
      } else {
        n.type_id = tid;
      }
    }
public static void tryTagImplicit ( Node n , boolean taguri ) { String tid = "" ; switch ( n . kind ) { case Str : Data . Str s = ( Data . Str ) n . data ; tid = matchImplicit ( s . ptr , s . len ) ; break ; case Seq : tid = "seq" ; break ; case Map : tid = "map" ; break ; default : break ; } if ( taguri ) { n . type_id = Parser . taguri ( YAML . DOMAIN , tid ) ; } else { n . type_id = tid ; } }
try_tag_implicit