Package fitnesse.wikitext.parser

Examples of fitnesse.wikitext.parser.SymbolTreeWalker


  }

  public static List<String> getXrefPages(WikiPage page) {
    if (page instanceof WikitextPage) {
      final ArrayList<String> xrefPages = new ArrayList<String>();
      ((WikitextPage) page).getSyntaxTree().walkPreOrder(new SymbolTreeWalker() {
        @Override
        public boolean visit(Symbol node) {
          if (node.isType(See.symbolType)) xrefPages.add(node.childAt(0).getContent());
          return true;
        }
View Full Code Here

TOP

Related Classes of fitnesse.wikitext.parser.SymbolTreeWalker

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.