Package org.cfeclipse.cfml.parser.docitems

Examples of org.cfeclipse.cfml.parser.docitems.DocItem


      CFNodeList children = startNode.getChildNodes();
      Iterator nodeIter = children.iterator();
      //System.out.println("Node ("+startNode.getClass().getSimpleName()+ ") " + startNode.toString() + " has " + children.size() + " children");
      while(nodeIter.hasNext())
      {
        DocItem item = (DocItem)nodeIter.next();
        //item.setParent(startNode);
        messages.addAll(finalDocTreeTraversal(item));
      }
    }
    return messages;
View Full Code Here


      // this code will cause a warning as codeFoldingMatches is never referenced again...
      ArrayList codeFoldingMatches = tagMatchingAttempts(inData);
     
      //parserState.getMatches() was called twice in succession, this should speed it up a bit.
      docTree = createDocTree(inData);
      DocItem documentRoot = docTree.getDocumentRoot();
      ArrayList list = finalDocTreeTraversal(documentRoot);
      parserState.addMessages(list);
      processParseResultMessages();
     
      //This should parse a document and setup all the variables
View Full Code Here

      if (startPos != null) {
        startPos = search.find(startPos.getOffset(), functionName, true, true, false, true);
        editor.getSelectionProvider().setSelection(CFDocUtils.selectWord(doc, startPos.getOffset()));
      }
      if (startPos == null || sel.getOffset() == startPos.getOffset()) {
        DocItem st = ((CFMLEditor) editor).getSelectionCursorListener().getSelectedTag();
        if (st.getName().equals("ASTComponent") || st.getName().equals("FunctionCall")) {
          CFDocument cfdoc = ((ICFDocument) doc).getCFDocument();
          String CFCName = AssistUtils.getCFCName(functionName, cfdoc);
          IFile foundCFC = AssistUtils.findCFC(CFCName);
          if (foundCFC == null) {
            foundCFC = AssistUtils.findCFC(functionName);
View Full Code Here

    int len = Math.max(docselection.getLength(),1);
   
    //check what type of document this is
   
   
    DocItem docroot  = cfdocument.getCFDocument().getDocumentRoot();
   
    CFNodeList nodes = docroot.selectNodes("//cfproperty");
    
    Iterator nodeIter = nodes.iterator();
   
    while(nodeIter.hasNext()){
      TagItem property = (TagItem)nodeIter.next();
View Full Code Here

TOP

Related Classes of org.cfeclipse.cfml.parser.docitems.DocItem

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.