Class Leaf

    • Field Detail

      • location

        public Locator location
        Source location where this leaf was defined.
    • Constructor Detail

      • Leaf

        protected Leaf​(Locator location)
    • Method Detail

      • getNext

        public final Leaf getNext()
      • getPrev

        public final Leaf getPrev()
      • merge

        public final Leaf merge​(Leaf that)
        Combines two sets into one set.
        Returns:
        this
      • siblings

        public final Iterable<Leaf> siblings()
        Returns the collection of all the siblings (including itself)
      • createDataMethod

        protected final void createDataMethod​(JDefinedClass clazz,
                                              JType valueType,
                                              NodeSet nset,
                                              Set<Prop> props)
        Creates a prop of the data value method.