Package javarag.impl.TreeStructure

Examples of javarag.impl.TreeStructure.TreeScope


  }

  private void buildCollection(Collector<Object, Object> collector) {
    collector.collectFrom(tree.getRoot());
    while (!collector.treeScopeQueue.isEmpty()) {
      TreeScope nodes = collector.treeScopeQueue.remove();
      for (Object node : nodes.getNodes()) {
        Set<MethodInvoker> invokers = contributions.get(node.getClass());
        if (invokers != null) {
          for (MethodInvoker invoker : invokers) {
            invoker.invoke(node, collector);
          }
View Full Code Here


      return builder;
    }

    @Override
    public void collectFrom(Object treeNode) {
      TreeScope scope = tree.getTreeScopeOf(treeNode);
      if (!addedTreeScopes.contains(scope)) {
        treeScopeQueue.add(scope);
      }
    }
View Full Code Here

TOP

Related Classes of javarag.impl.TreeStructure.TreeScope

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.